From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A99E1158041 for ; Wed, 27 Mar 2024 16:32:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6A125E2A0F; Wed, 27 Mar 2024 16:32:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E77B1E2A0F for ; Wed, 27 Mar 2024 16:32:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4953343051 for ; Wed, 27 Mar 2024 16:32:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 52077160D for ; Wed, 27 Mar 2024 16:32:13 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1711557084.426cc2c0bb742bb1ec5460d6cfa382bdc839c6a2.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/gentoo-kernel-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-kernel/gentoo-kernel-bin/Manifest sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.83.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 426cc2c0bb742bb1ec5460d6cfa382bdc839c6a2 X-VCS-Branch: master Date: Wed, 27 Mar 2024 16:32:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2d617f15-0c08-4ed1-bf6e-1890801760de X-Archives-Hash: b56f2159c348f752467c45e6f00d9385 commit: 426cc2c0bb742bb1ec5460d6cfa382bdc839c6a2 Author: Michał Górny gentoo org> AuthorDate: Wed Mar 27 15:50:59 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Mar 27 16:31:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=426cc2c0 sys-kernel/gentoo-kernel-bin: Bump to 6.1.83 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-6.1.83.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 618ac0d4b69d..6568d1423acf 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -14,6 +14,8 @@ DIST genpatches-6.1-90.base.tar.xz 4798868 BLAKE2B 3898a35ee9d3ea977c455a8432d51 DIST genpatches-6.1-90.extras.tar.xz 3812 BLAKE2B 466c0b796df7406c228fd4dbad20f84c2fb99203ccae1a9e018a15a0314dafb478ef89dbeefaa012b0873a06fe3398b7f17f68bf8275283cafd0d258d44c3572 SHA512 1744cb7d90176d3eb09195679b51eb0aadfe5a3452dc2d2b299262eb7aeda3071bd0bbdadab2c05bd266c288eee5580e4da1190f308e8755140d454226f32204 DIST genpatches-6.1-91.base.tar.xz 4814756 BLAKE2B ec513671056ba3f42380e4f57115746c78ea26fe982bfdf9b0d7775938f90fed2d5c940ccc8bb90865874684104784631865b735ed6ca5cf069852611dd9db8e SHA512 8a034d617f7639d0bcf4fef64b1fcdd91f158311c4af6ef5452c666e3202078925f293daa441493180b4932d371094927b56d1c7adc7bd45d21b47be6f4a3912 DIST genpatches-6.1-91.extras.tar.xz 3816 BLAKE2B c187eb9a26917038be398f55c68d2cf4bd985c778b892d9f22fb5bf6a9064cca0b4dca2e21eb3b1811f8a09b6e20f45f852c8d85a0559a52457e84c28ab58406 SHA512 3e8d69a5464f1e3d4a9629f4d5169c4d8f272a42a51e3f9f801536c6373745b55ef54e46ae54c302eb0cf498edb307e93671f81445e99591cbd63caf8cae3476 +DIST genpatches-6.1-92.base.tar.xz 5022044 BLAKE2B bdc476c487d2102a92683fd173555c2719a26eaf96153b468748724dfe4ee3c0bc7c78d2d789e0bbfbc7620fccf89b882489427c738d6c5cbd12bce9f611f492 SHA512 7009e52a91b1f1bb2c5f1f6e494b0e91ef194382ed183da450be4a83a849cbcbcb83d7333c95e4b91fec56c02059c9c07c299fea9717384d880a9d9c08038766 +DIST genpatches-6.1-92.extras.tar.xz 3820 BLAKE2B be1e90178f400f7e4b6f2e21c6f3e1160c9e5d317eeab902d593838ad9a1261eed8824db27a9852771baea9bbcc7365303098d74cb906ef720f82ab5f2e83a5e SHA512 5e5f0b564987d43bb577449cf6fe65adf59f56a2fdd80fdb09890e02d42771327caf2ef9abcb711a6ab678e45bc6aa6ccae4b448a668856f9533d42e6a2a8e7d DIST genpatches-6.6-27.base.tar.xz 1392292 BLAKE2B 46e3c354f7c27182c2f97bd20c165fa8bb79317bb136afbbe1e0906cd405e7cbcab1293e724cda38491f0d1cd9e9009146f18ad9b5ecf54526e69aae43fbc9e8 SHA512 363d26f9410e2d526f07c0831d36733999ec284ee01d684ad15aa5856b007a2d2a189ca414358da87a479dcbbea7ae24add9d8019b4c41c8bf1aae7b67a3b490 DIST genpatches-6.6-27.extras.tar.xz 3700 BLAKE2B 36a21c970dd2c8f72a4496b9f72faea3e94fba49342e00b7cdfc0ca6d4f3ab14fef161a7d02ad13b1c7db73af3c96b1c145453d0645791b46b34f599b3947582 SHA512 996a1b0a5c625043ececbeacc648f4dd71da2e239482ca515b680b146ba6041feeb0924929b1b2b6ee4f3ecc24c85926e54e28058d9401d4399282151332dfce DIST genpatches-6.6-28.base.tar.xz 1406852 BLAKE2B 09691b429951a495b8dc0e076930d72f4f5c51c0f41cc0779d7c27bd1c161e007ab6ca9007ef43db4aeed4ead3ba84dcd93ba2b31fdd689c785fc38d0c46425a SHA512 500492b25b5a8eab5781e3c7758fa1685b1050bdf30b0c8fbb306db078de1bf06e0aeea6547fd7fa868dcb84047d9842f37f5851e3637633f693a5b653cfae96 @@ -52,6 +54,10 @@ DIST gentoo-kernel-6.1.82-1.amd64.gpkg.tar 72632320 BLAKE2B 1594d9538235e26366ba DIST gentoo-kernel-6.1.82-1.arm64.gpkg.tar 65628160 BLAKE2B 71ae7c2c38dd75836df79de2d632c35a2a7985b860714b509673862749e73a3b10553107e41c03a4423364c0c38db54aa4666b74c38b7995dcb6f101b2e1c48d SHA512 6df57424f2c878060efc1293705c1822ed3572c15589566ad1754e1d9da4db288412684787438df88c083cae65f2dca7ddba9eca0b0631d26ed1d6966e6bc1a4 DIST gentoo-kernel-6.1.82-1.ppc64le.gpkg.tar 59893760 BLAKE2B 51597514c3abab7fc7c922e6ad337b0e9198eff0d8e8dc204356f16d17f44dc9e5e764b11fedd02cd22fee3ba8fea9cbdd011a86d8fa8ac5a1d87396ba64b249 SHA512 0a2329fe743f86047a24ee1c5ec84a70d5fff0b83bcff855c8361093589cbe02cd5e45d39874cb94d6c1ff3f511c3c269accd243669143d023398914911dbb1e DIST gentoo-kernel-6.1.82-1.x86.gpkg.tar 62156800 BLAKE2B 62a05bf7e19bbdd6efff90e41bef7fcf2ae9d16453b98175dc97961e64b4098a587dbadff5c64d7c1c03b4db087011ab45aed31eef03a0537443aeb240ec5db2 SHA512 726ff5193c7d325b744d1b9693bee8a124830f8550cfa28f21ccc4d092fcf6fa50b00093072cbbc9da8c45f258a643e84740a94016a2e22c5abe55a251e500db +DIST gentoo-kernel-6.1.83-1.amd64.gpkg.tar 72611840 BLAKE2B b5c93879c1aeb8058c8955a3c40a484ca66efc798dd6b19d9fe8f2218c5a7cd928e49fa72c54b371d46759d29155d340edda500c66f071426f75f51850f86284 SHA512 81cf4c56c0771ecc7ed3f81db55fe74dc1717b678fbd8a5b2e03a7fae6042f52f9b5eb23dde3d71c4602a3476763d57b5094226a81f3d638c8607302c385dbc3 +DIST gentoo-kernel-6.1.83-1.arm64.gpkg.tar 65638400 BLAKE2B 83eab90b7ed6f003d5003fd025056a4c0521e824e5ded7729f324e3134458dcdf07003ca3d2c5304658f4d78e211a59bba95c2c0b841fb3a28840efee2176ec3 SHA512 fd49d4665615033443a35505b39653573c48d827d77ac2c6b705a8f5cc2d42926e998dd41e94514009a2fcace85e7dc2cd16860983b26a45a8fe1fcdf2802af2 +DIST gentoo-kernel-6.1.83-1.ppc64le.gpkg.tar 59863040 BLAKE2B 8c480f7dede07a818143c58782c6cdb33c6ce5247cfbbe51ad7cce14f6df5b24c599f3b2e5b413d7abe0d7b7cdb4c70d86155c6e9664d288ccb9d72a780a22b5 SHA512 acbe05b81c000c842720bc43974703423d8ba3487b0955a5e5e006716658a6ea0576dce1ebfe9429ff255f1c98fc3302827613bfd19dd0fa7943ddbee89b0be8 +DIST gentoo-kernel-6.1.83-1.x86.gpkg.tar 62177280 BLAKE2B 5a54f0d2a5c29c5945685de8832b3e635e645e108dc624c20a532e19cb183c46c936a6c796de0c21d2ceed9f4e55b2780a34d9492d7e80a6ee40dccbfc8bd2e9 SHA512 ef6fd24c8ed419f65d429845bfbfafff7bf85810f8048086db6f600f98c8b30467ab7656234f715d5ff6e91c7009fe35b8dc8844bd34f37c91dd60248db50206 DIST gentoo-kernel-6.6.21-1.amd64.gpkg.tar 146585600 BLAKE2B 12d66fe9f0f1cfc00af099447ee1f92e381a69b60a06e0cc8cd56ec54e5b7c6e3026dfec7f4afd4e329cc7ccfafe1694fe19208228634373333a0291f884e6dc SHA512 8dd171dc40cd6f102c7dfda63cd40f39e3071955641830c5c919de8e4b9f66dec42e0c7b90e0786340c3ab0d1c29a66ec621797e21c0ab4c19b2cf77944ba115 DIST gentoo-kernel-6.6.21-1.arm64.gpkg.tar 119234560 BLAKE2B 516a6f7c564734b777d0ff3df63b414ff2a1cc1020fa1f5d1c52f7bde26810745a770718c5ecc12ca42c536a7c3efb430fefc5e8b7b091ecdda4edaa866c5a08 SHA512 143880a199dc92a8b1268a15346e3512933d8e8203dd1a981ecae063464a3723557324a2be7310073c3a08cd95fe79d80d28a1898b649481bb836384a8562426 DIST gentoo-kernel-6.6.21-1.ppc64le.gpkg.tar 64399360 BLAKE2B 54573396023eba5487e8d59e18358ad46ac7ae85d5b7482d48961d6da5d54d4c5d6f3ac9e2d685f956dfd90c68cb2a6319bd93492399635a9f197b02cf2cea7e SHA512 d8e4ec6a1944f9bc9dc4c666af6029fd68be78da8717b37d56390721355ad9c4cf2e1b718e17838fb41f1202d46f6f16147c802fcb06aad3b6037e9bdb623690 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.83.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.83.ebuild new file mode 100644 index 000000000000..1a845828a60b --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.83.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-install toolchain-funcs unpacker + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) +BINPKG=${PF/-bin}-1 + +DESCRIPTION="Pre-built Linux kernel with Gentoo patches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.amd64.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.arm64.gpkg.tar + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.ppc64le.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.x86.gpkg.tar + ) +" +S=${WORKDIR} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT} +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" +BDEPEND=" + app-alternatives/bc + app-alternatives/lex + virtual/libelf + app-alternatives/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH="$(tc-arch-kernel)" + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "${BINPKG}/image/usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "${BINPKG}/image/lib/modules/${KPV}" +} + +src_install() { + mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d ${BINPKG}/image/boot/dtbs ]]; then + mv "${BINPKG}"/image/boot "${ED}"/ || die + fi + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +}