commit: f7baf081e451f13a58ec01fcba3480e88ee884be Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Mar 1 20:35:47 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Mar 1 20:36:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7baf081
sys-kernel/gentoo-kernel-bin: Bump to 6.1.80 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-6.1.80.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 704c2a3dddd7..66cd378c2991 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -16,6 +16,8 @@ DIST genpatches-6.1-87.base.tar.xz 4590376 BLAKE2B 03810f1354881a70c49256a9b7165 DIST genpatches-6.1-87.extras.tar.xz 3816 BLAKE2B fd1c417c05893ce152db9bd88d6345ec6b17116a202e121e63f5ef4eb25341a87a11d66d19de6ef5355b7876ded0052c1fd3ee6d4847719e3671713135c216fe SHA512 3e705f0ff695b0f9cec228820ef1c469c7a571bf3c24b223a169fa630abf0b96d4e3e8396e3a866defb9f2c435a6c21269cb62f1bfd2de4b27b1c8d5846fc4b9 DIST genpatches-6.1-88.base.tar.xz 4653064 BLAKE2B 4f97e2991c632a38a16175613f6c2d86e303e6e41d79763c19408b1ffa0345dacdb030de9ed1c101e78ade7dcf9bc68348ba8446b6086ece860b6abc89ea55fb SHA512 ce94b5037088a23ac22213df20de4b9212dc54afb29a725736642641a6c7a63c4dbc3739c9cd84f8d2b4da202d30fb2b1d5847779a51cabbdd058a29833d1bbd DIST genpatches-6.1-88.extras.tar.xz 3816 BLAKE2B 5d1aae241a64b9f1dfba85746b70dd1af5a96263f9385d5b264956239c2dd9237d6022819b61cc927177e10721c59e6b4c254e95ac9de771547f0a4c6e7e7960 SHA512 d083e6384786114c05ed5e4198ea90bd84b9959651f20f5c3f7786889583a607777845f4e377a8ad7a6684b91e97ee06cbb524e5827b46684872467eca6354b6 +DIST genpatches-6.1-89.base.tar.xz 4715392 BLAKE2B 36ac5c1d92985dba061e3ea8d1e9a661c877061ba27382843e3db15912513fd093bf6095152fffe5fb3e546c1d47b77ad2f70c15b4b3832ef4a62450ca96ed77 SHA512 53472cdf94ef6d65d7c8bfa58c7666a4a727684dba0dfde02c956368bbca3cddf3b51901ed66830354ad73a18432e8fc2f508b2326234e35d5975f7d77ae3e17 +DIST genpatches-6.1-89.extras.tar.xz 3812 BLAKE2B e5ea7db0e68120d8dcc8cb04b670a4cbe4b9f6ef169eb7815f2956c9b5c9f3570d418b3913801cdfa2779483bb6c5c97baf0500dba96025aa1f84e10b7208b1e SHA512 1d1b8860af0cdf6b31dfc596ea2d4662060f1c12f6661b9e3d5d127b0a001dcd2d4920d8b997f1bdbd47244d98a888986a6f3184054eaccf6bbb5bc3fcfacb3e DIST genpatches-6.6-22.base.tar.xz 1119612 BLAKE2B e0e5cf468f1bfb7b76043b72528061a448a88ede3704fe5aab6fe9c5c5b4ff39362b8be25c5d10f1b0160c5071b4276e2c912606c857fd4ace2c8c92b54ea0ba SHA512 b71715d8bad12484035ab5d906db06fe570f40f0ff725beda500710837e9e90253b1fdbd2be40c0dc6d0226a8a1423e443b4bd7117142f346782401509f833be DIST genpatches-6.6-22.extras.tar.xz 3704 BLAKE2B c09db6ac1f713f404001c38c650731a0c8821c844eb7638b072cc0d135575df4f965cbd7c99c0261cc1021f97459266b20f153e428ba7a3b7973bb6453d0ceca SHA512 dfe66f78ca064ac0d6878da769dbdbc568db35bed24c8e2388bcc9a1ee63adef1e729ad9a3e737b5838c6f5473a7b9c6a6b44f97e95a900efbbf9562bf7462b6 DIST genpatches-6.6-23.base.tar.xz 1164692 BLAKE2B d42ccd9e636a413ffdbdb7dac699169f38b80617234b83b6ce49418f7dfd568f6d6718ce97a42b4df2f3ee1efa81df1a02102c123b88603dc558f72dd18af7e7 SHA512 1671b5d07294f73fe547a0cce8df38b5da78dc1596aa136190bae38d9eddc8b896c34e778eb80971336caa851c7d6c7640a59186cf1ecff26b89b69bdc9fb0da @@ -62,6 +64,10 @@ DIST gentoo-kernel-6.1.79-1.amd64.gpkg.tar 72622080 BLAKE2B 7d8bdc32720c40eb166f DIST gentoo-kernel-6.1.79-1.arm64.gpkg.tar 65638400 BLAKE2B 9945bbe90f410f05590330ac36ac90815ce6dcd8bf791a0554f0f949d266b4496d739f31d445c57acc278e0920abe479221a47b480c3ec0f6a47a8993e06bf5a SHA512 9ac49f8428c258f427641f2206f2af4f2d06a4b9b75957e9d5f8c91d0730dfb6483a70b7e179cc7930e204c4e42b5c74e25762d4839e7d0b45261ea85e0b7826 DIST gentoo-kernel-6.1.79-1.ppc64le.gpkg.tar 59893760 BLAKE2B cc5b027025366e9de243ed9c6b26b9a272f77db5f9a9d4db288159cd2fc86f60b359562ef8609b83d5034465bbc53cb0451dc245cf0518a02bb1eeb2daa8cf05 SHA512 ec5c97b66c1c2cab2a2bed69f6f2784f97b9030a270451ce36d3318a3fc27ac2a10e1c2928285b29b95c37aca8be60e1d95337b8479a11616aa941c0b50d6607 DIST gentoo-kernel-6.1.79-1.x86.gpkg.tar 62177280 BLAKE2B c7164aea8e1dc19e2fdfc64dd7261fa387794b20763d8fad3bd23a195a51f05af0f12c55d65986bdc21b85dbb3e2ff5a42f9d23bd968373fba269d3d1659216a SHA512 b1dcede826de6847f94a02beb378d620c06c849c73a62fab4ac36d0039da7036f392eaf61b25150e97ad29fefbd712bb6ea865cb88a644b60447e2a8979420d1 +DIST gentoo-kernel-6.1.80-1.amd64.gpkg.tar 72622080 BLAKE2B 3e790a6fa4391d87266ade24877b1833946787f2a7b6dd4b8def87a8e38245ddd1471e5395331a92d806f2794b186342565df33fc9777cd60f18fc53e910a828 SHA512 2ae21980298cc3157fe2003f345fb33ee45713fe91f6b45ad77f86bbc5f43b43c708073c081e14d02c6514f3e4ba41d52ac64e1942e0a75d1f14e23a2611589c +DIST gentoo-kernel-6.1.80-1.arm64.gpkg.tar 65628160 BLAKE2B 826fccdc0fa7e1ecd5fc7b82f9b1dc4226879bf4195b1aad5b6cd79ea6be726e72936fbdd3b6823f413f100a1e69663ee8125bc191b3a5a690fbe48dbe017493 SHA512 3da499d88fc2670387475788bd1436b788589702167b6096767ff7e94ec6d784df138c2e8cd542866eea4348edb61cd91610a3d823de2b3058180d5c67dc34ac +DIST gentoo-kernel-6.1.80-1.ppc64le.gpkg.tar 59883520 BLAKE2B 3aec4cc86599582c577bfe92665e8ccb89c808f9bf0ab3706f1cc91594268b23c4f337af582bff90d7d75c85388655755f9fcf19c2d8e386cdfee64aeed19f98 SHA512 8232b37ddc8dd09b7fb7fee3cd7466db901f3cb683ca5195f7a523222d5dbab0623dbb078a37f706bc9abf54b71e29c8e6182089ea79df389655af48af75df8e +DIST gentoo-kernel-6.1.80-1.x86.gpkg.tar 62156800 BLAKE2B 31fa79f1b49f7eb89c120837fb3d1fe77c8cce82ff734bad81cd7072d27990f96fdce2337dbdd5e4d902c355a5e15b4e55ead2e4f76a2cefa3a2213c1fe85f8a SHA512 36782693c023fccfbcb7055b94d2167fa560c04beffc91d05843796281600168f0b5e2128dc208b3ab9fd33443158f30a6c33ac52af51f285919d3d9fee1fe70 DIST gentoo-kernel-6.6.16-1.amd64.gpkg.tar 146073600 BLAKE2B ac6cdc04f602fc88dc0822f298930b0f27bdfef2b871a5c94b299059948125f67fd1ca7f4c38944606d12bacc1aaba3bc555283f088331486af887d97c83c8f8 SHA512 a79d0da85b64670a6ac33471fab2f3f5efa21f16c6aa4c7098b69c6dfbd8be5cda50effc6893a37ab7680a5411b8ed71f4419e17b21f9dd083e9f9a259352bba DIST gentoo-kernel-6.6.16-1.arm64.gpkg.tar 118794240 BLAKE2B 2dcd80c057acf9d936b0df0806729d0052272f78a7032eec2c5fd8b23e45e968639267caec03c60018d13e582599229a1d6b8043fdb883c78efb35b2727a8198 SHA512 5d1ce1179408b802da6eafe2f5e4c960f462f5bf6ee1067f4e1f7de53c9f5610833be5f361092d90a7aa276bb5ce80892f196cf53ea3c0bd6c205091b7b20e16 DIST gentoo-kernel-6.6.16-1.ppc64le.gpkg.tar 64358400 BLAKE2B e4f744aa84374775ab7d47ea239a471f094095b6a451237c371a49dd08c8e13a7cb3c0205e21499c96ed9d56849ed7ad188c3666cd65777368af57930ffc0985 SHA512 8f6cadf27ff3351248a706723d4b035fb9c40c81c16a871c5c5a2738657251460060b84c146183d1ed44fe629fcc21a526e77c3e92d547d8da999fe589caee35 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.80.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.80.ebuild new file mode 100644 index 000000000000..1a845828a60b --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.80.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 +}