diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-04-10 21:01:33 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-04-10 21:10:50 +0200 |
commit | 43e430f6b077af8d94ecfad26af7ff74075b9527 (patch) | |
tree | dddae2dfbbc6acce459e03b822ce78333d0fc4b8 /sys-kernel | |
parent | virtual/dist-kernel: Bump to 6.6.26 (diff) | |
download | gentoo-43e430f6b077af8d94ecfad26af7ff74075b9527.tar.gz gentoo-43e430f6b077af8d94ecfad26af7ff74075b9527.tar.bz2 gentoo-43e430f6b077af8d94ecfad26af7ff74075b9527.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.15.154
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.154.ebuild | 127 |
2 files changed, 133 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index f2cd64934731..0f2b7e9940a7 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -10,6 +10,8 @@ DIST genpatches-5.15-161.base.tar.xz 6394340 BLAKE2B 9b30c56e1efcc866985caa44806 DIST genpatches-5.15-161.extras.tar.xz 3936 BLAKE2B 3bbf29d5ff26051c5f115439f42a07a3af47a681065e00561f8636aae51142b82b87d7e2879839d5abc7bec944b193aac31d2eed543275b94f47dca2eda38090 SHA512 20e5ac4f8e8903a86cefa2cbb3a4962f3dd60ab56f71397208622230ea1f4d481d703d6594fa9269e46d2369514d1c6deacfcfdbd97cd50ad9ee63c220f289b4 DIST genpatches-5.15-163.base.tar.xz 6565400 BLAKE2B 2ad4b5bf3b7654936bc9354d8f737435b8bb0cd0a8e12600cc453410ce99c5e41ee5659d19d1d0fd9939fccdee2ee584f7d73cfb05cc844f3097bf8907cde6f0 SHA512 b51d2aca5891582bc27f258f0de629230d793960548e385492d7b1e4cbabd2acb40c628a7d63c6182d31cc28c9a658f6a496997174a8116a14c5b2253fe921cb DIST genpatches-5.15-163.extras.tar.xz 3944 BLAKE2B 61018af8eae6b9492e3ce11d26a33e0bb5207f05ea7353e4b843b2ccfcf67ef02c2f70833921573e13e5f11443733d64ffb15657cdbdc02696f03ac2e71c75c4 SHA512 69e5a999aa527472e3fb80ffbe0bbb9c9c3d81aa4a4e623d361febe3ed1c695ab647b9e4ae3e1978b12981636f7a1d7f0a65685ba140e6515e45ec3ed0747a70 +DIST genpatches-5.15-164.base.tar.xz 6702232 BLAKE2B 2a65783ebd23392a767ded400280d9e47ea95c18f059b1d67b653aa800f63a50cfcdd996113036dc9f61648453d232003eaf9df0a42af18949e43f7669bd6558 SHA512 0eb957501c3a1cf2256585c90c81cb3e4b371a54640bd893f001bce949d1a3897eee055c090e1dc57033a691bd62af2b5418401ce8a44fb76a388bb629c5205f +DIST genpatches-5.15-164.extras.tar.xz 3940 BLAKE2B f1a166e7982c6a6968a083fcf60b6e383d148c17562403035ed8168ba16d045e56384528694752cd614b7aeade23fda879ab298c704bb297278af554ea6caa93 SHA512 a78b7eb2a98194a08b836358be7b8249cc280216056caffd95cea98dbeb62e01c04012c864031d5f9f16bf132b154dfc4922a4550127192c8307ab61da3937d1 DIST genpatches-6.1-90.base.tar.xz 4798868 BLAKE2B 3898a35ee9d3ea977c455a8432d512ed9f282f3b961b0046b79843bac59b136d9834c6fc128c5fdd2ba28b1d25e98c47b67bc3c50287cb05a372ed34d2b8982b SHA512 6bd2353dcb0caedfbd009f66d10e6201079c481101490fbe131168f0e46203446226c47a85059bcdeb8a3395ba79ed9ce0075c144ea8f94dffc0911958f679b4 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 @@ -64,6 +66,10 @@ DIST gentoo-kernel-5.15.153-1.amd64.gpkg.tar 66344960 BLAKE2B 0f277e0412c5224604 DIST gentoo-kernel-5.15.153-1.arm64.gpkg.tar 59729920 BLAKE2B 8ca9fff739008acbc7184b4eef3a31a85986e2d16abae364512eafbab111797ab77b85dce1674f0aa23421e2a32e2e4d8493c39a825ddbdd7234923c32babba2 SHA512 27f43027d905e38157a0b7574998fb09c905f71a2e01724dde1469ecbb6b46962279f353fe1dc9b4ff4e67d9432dad96d78b148890a6bc6ee6ccb1af08bdf5f8 DIST gentoo-kernel-5.15.153-1.ppc64le.gpkg.tar 54978560 BLAKE2B 66035605c7dc7107e3e6846d75a30d57e86108e3d40358017466622db84f38d5f242cd2331635b35a0bb0ca8c8ddbb6c2537bc4b6419e43b66d36c58d9ad6eac SHA512 d318623ff12c8ea86fffa1bd45b72d36f931828babbab92d5812ba6cbec1ca01297a89957cb29267e1c0a3f3fee91610bdd46b2b63e6a3bc7622d9c343980e0c DIST gentoo-kernel-5.15.153-1.x86.gpkg.tar 56084480 BLAKE2B e730a0fce140a7f4db26dde9c71e7912190c64359bdaffb3b444b0cd07db3f5ebfbb8d4f986a5623e3a3ba5181b3f68c35c7c9cb3919ed3bf8f09dd62b5248c2 SHA512 64c9bb350358bd2b509c25321ad623521b2013d42ca71233b5c3b17f7c13136b7b6128f4427ede9b6c64ddb9c4db6935d0f412f1a000a34b22aea1a182ed84db +DIST gentoo-kernel-5.15.154-1.amd64.gpkg.tar 66396160 BLAKE2B 2a7be504601b4824940de16ec9fa2cab5f90d5ee81eae4883c57bd895602d7b1dc7fd5fc454c44560206d7a17f0933925aa9ccf04ac008ce098bc97e64e91f29 SHA512 85bf98e3805f30e0c3b2a17978691c639848371fb79cbbdc3be4f0692c04c60cfc763c15eb4d49967b93bdbe2a8f9e9ffcc8070cf9f72a9d484469469559624f +DIST gentoo-kernel-5.15.154-1.arm64.gpkg.tar 59750400 BLAKE2B 93762e5ad66922ade69031018c5295634e9f85749b136ce9cc4b5a97967b3f7051317ddc0b711adf500b666dce27bba1126f6e437ca00b09cb4c05eb8baa12c1 SHA512 96a2bc22106919cfa0104ec1aab3d2177df56bf8f7bb8404d439ff037445a56508c62dc0a0179d97e6ae2cfa098a6bd9eabf5e95a3da01d9daefa55c12efc2cb +DIST gentoo-kernel-5.15.154-1.ppc64le.gpkg.tar 55009280 BLAKE2B 608daf2bb8bf0e82817769cb45535817b9bce9f7ed286940fe2c9aa1da4778c52861108aacd302a161dc5891a2a30a523527a06f138ae5cdfde7df3cf4c32508 SHA512 f34cd88e8669f886a7c84ce75a1d16fcc041d5f6faafc002943b163c49644a0b76c818d3319ace91dda28b7792921f4bdece72851e0643dc5a141aae241d0d64 +DIST gentoo-kernel-5.15.154-1.x86.gpkg.tar 56156160 BLAKE2B 1e0ae1f4e013227fafbd3890178623d0fc04adbffb3fef7c565fd9920fea256e6db6057da5b7da3c33bf69caf0a70035efceb0f9722c7b29cca8e99d33715f16 SHA512 ef647dae25a9988ce6882bc199380919528c2fbe7ad7b5f3d399cb9ab44933b4fadd9f8fc54a9d7ed2318503f05d853ff9a51b428246c7618fa29d05ad6385c0 DIST gentoo-kernel-6.1.81-1.amd64.gpkg.tar 72632320 BLAKE2B be651a239cb2bebe217afeafc355d1c8548d9cc05e7e4675649f55bf608e039e84a45516aba30ed7ac5546dfa6bf452f458c2f0340052cfb548bde260b1584ae SHA512 f1a3b43e6a3723b4f30ac2830fd80d5ae561869f4c0278d074039dc6df86fd2aee9dbba80f47e321b8c6200fdce9890cd1476ed5f5e251c8637bc56e5f7861e8 DIST gentoo-kernel-6.1.81-1.arm64.gpkg.tar 65638400 BLAKE2B c4c69cafb728f031955024812e462d03c3d2d7926f50ef565022e3b5289a28b4cab86534dfdf01a75764c14946d6e46a2fab3300141a5c5a22cf320ffdd95d30 SHA512 9b5184441de294aa65cec066ab2d2889854695afde6e305ec641f7a93866a759ae88c582faeeb7afa3a133ec8b41ca2a11925538f7c2208290846a3cf51bb3b9 DIST gentoo-kernel-6.1.81-1.ppc64le.gpkg.tar 59893760 BLAKE2B 1618e51aa2703355697da43e4a923aacd2a90b5c0c9f700f6e2aa1cb89e746828f6818a74274a8861f34a0501bec8fd9728461c8574994f0fdd520a3e1be292b SHA512 c8d3585af897427f6df180a8d8a53d78a66299574a548eb14f21d7ccbdc793db2495ddea88adde16b5677d86830f61c49c58112d10af3590f5322805ac9d878f diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.154.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.154.ebuild new file mode 100644 index 000000000000..eff249432fc9 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.154.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##*.} + 10 )) +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 +} |