diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-04-13 19:12:34 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-04-13 19:49:02 +0200 |
commit | 562756f368a087a560cd2f8c4335f460a9a1f24e (patch) | |
tree | ee5059467a8d492e4ac781de89938eff6ed6b8d9 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.10.215 (diff) | |
download | gentoo-562756f368a087a560cd2f8c4335f460a9a1f24e.tar.gz gentoo-562756f368a087a560cd2f8c4335f460a9a1f24e.tar.bz2 gentoo-562756f368a087a560cd2f8c4335f460a9a1f24e.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.15.155
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.155.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 c5b1db9857f5..fbbbe243e7f6 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -8,6 +8,8 @@ DIST genpatches-5.15-160.base.tar.xz 6317352 BLAKE2B ccee78c3ccba8755f0e9de9e62c DIST genpatches-5.15-160.extras.tar.xz 3936 BLAKE2B 7b4d7802346372f862321837b1b554dcc5cd666be0a39fb56c6a6364060c3c5b5fe37d77d131beff6f0ed4c6290d9c9f9eafc58e9a923e268cafd2814ea9d18e SHA512 4ff242b000ce5969dd50c424ebe94a417271a2af081584e91d155ef11c3b11536fc8a242b0e536491396317ead92a825590208c5f317dc6a8975bbfae28a17a1 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-5.15-165.base.tar.xz 6711916 BLAKE2B 1c77612af16b5111c89c5f9ec8624f82ecdb8cbd18afaa25d72c05853cf63f6206101fbd19b9beaedc9689f7a14ebd9b6c6b6b559b502282489e6a558e48afca SHA512 46c196486d96644d9991ea93b44dfcc524fd7ea68b7bbc549f6eaa8d99ef5dce039365c727157c7bffa6f389503d92630b4d750ee482bbf67def2159daad766b +DIST genpatches-5.15-165.extras.tar.xz 3936 BLAKE2B 6556f3659c1cc3f85a06c3e8204e3a1d013e016afe4b1b28c5ef1f43ef7ab47847d16f5d969dde9c7dd62ac7e35ee69ae2ed3eb1651ab66d73b3a9ced0e603cf SHA512 c3f3131b930fdab97b3014e884b94f91420585c686aa96c3dd88a6a9579e06d0377d4bb7d50590eb4bdfb6aee7707499f4ea92fbdfc6d982f5551dafd07b3c6f 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-94.base.tar.xz 5046684 BLAKE2B f9024ee9302b618af0e68c4b0ed91af1781d0d9ab51d3efacd1e18d8ee07fd61b40fdbdb52ef9a8a4e403570a87f4c28e12ab305657df19dcd766d9de81f9131 SHA512 356301a38dee163ff836ae5dbaf6ac724c3166b76b161b967f5ef892133d82b79be11d0f7243e221d938c1a5b154f847462713b2cc5f191d949126f66be8ec51 @@ -40,6 +42,10 @@ DIST gentoo-kernel-5.15.154-1.amd64.gpkg.tar 66396160 BLAKE2B 2a7be504601b482494 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-5.15.155-1.amd64.gpkg.tar 66365440 BLAKE2B 412a5c755519ffc06a95f37a109d242e21ceb44c7d6e3d4568aecb2ba1faebcbf86ddb9298f8dd3f189622e6123aa9febea596faffe2c151fa4c6cd58f475735 SHA512 351d907149e3b9ecec52a67f83348d6cc641f0d85550f194f0b8505d0f6b349c58485a81e2144d053ca76dc3d183166eacd8fc2c2d4c7a43d151461dbb309358 +DIST gentoo-kernel-5.15.155-1.arm64.gpkg.tar 59770880 BLAKE2B 96db60d918ed81e906add58ba148aafd76d5641a65a0e8b0c3be3779260c66ac7a0c107d87b72b80be47e9c0d5c4f51a9473552a87c92455672481d03ea45328 SHA512 f6c3325f1481877042a9af373848772e102350b6911630f289c0516e3a0e2d42670e516ccf78f9c1b25fee22dddf704cd637ec8f0bc0e248ea7046c52dea6016 +DIST gentoo-kernel-5.15.155-1.ppc64le.gpkg.tar 54978560 BLAKE2B 68af08e76774f630987872dc60140830dc7d77cb8cdeadd029fb260906cc732326934635c0f4cfb8b61273f530779eee2efb2a570e4f5daf6aedfa0cb108cf8d SHA512 74c90884af3ba385d53c6ce1e98e90bb37c882cf70f51bb0a91aac853613497ed3a1245e4c90e21ccac155ddce42bdc4584a1c33696d865477d035d56b6e301f +DIST gentoo-kernel-5.15.155-1.x86.gpkg.tar 56166400 BLAKE2B b5916b4e7bc323188b46a4c43bc71d2fbd5bae7b453679667777554ee0aa6141ec5ccbfac38e8f5e9b29a4eed7574fc1f4101776bba6924aed1222a119d055bf SHA512 507166139cb75557a23837727266b7988122d5384bb13f0a18a6aee11b3bd2771be6366d773447d60edf1e5de0f6dabae36bebb863d7d659744196143d25592f 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.155.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.155.ebuild new file mode 100644 index 000000000000..eff249432fc9 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.155.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 +} |