commit: 38594912f5d652ebe9634022d3a97b4e86d03423 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Apr 14 02:20:43 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Apr 14 02:20:43 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38594912
sys-kernel/gentoo-kernel-bin: Bump to 5.15.107 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.15.107.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index b64904415fd0..a5dba62b6d03 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -22,6 +22,8 @@ DIST genpatches-5.15-110.base.tar.xz 4312720 BLAKE2B 58e3c5a0001f1245a25cbb66e23 DIST genpatches-5.15-110.extras.tar.xz 3932 BLAKE2B f280b14d3c6b1ed89ccf9752071dd55641d59354a680a2419a8caaa993036ecec716fe063d40fb566ab788632ebc71970b2460b6b915ea2d1db68d78fb7069fc SHA512 cbb844978cc225fab030f43ab0ba76fe5138a9c84381bf1318df55c24fe33bb734f60512daf27e20c191c58da821c69228aa98ca91adf224383a08bf3457741c DIST genpatches-5.15-111.base.tar.xz 4338620 BLAKE2B 4f9776b980fabba9dcfddaae243b747bbae801ce1339268b64064284301050870435f17e3b9ad601e2fad4e1e3f9c5f355246b8410040f190cb584d23f697567 SHA512 89829bfd02281f04a3d4cb5c5a72afb166eabff4d0fb794a37a8b746f828b12fd4571773c5c9429f66345a25faee91a0d77d10f768bf69d3d2814e868a1664b5 DIST genpatches-5.15-111.extras.tar.xz 3932 BLAKE2B 6607fe5f4c30a0252b2f999616fb2c3e497615faa805949906dfa616a71c899907b2a4b05334ae506d3a3e945f2927165b4dd4b56f69bf3006fe0591db169913 SHA512 ad52a086be7d38f5620bbdc6cb1ce04cb5aa19cf092f3df15f9b7220173d54bd8b0da31c51cc6cf27ec7ed82870c863bc5bb1ae4f0f578e00b0d155b3fe012cb +DIST genpatches-5.15-112.base.tar.xz 4370104 BLAKE2B 578389e95be1b135fffdbcd598088d07d07ecc764307278c0339351d879594a994a4904500ee1b003ceb5ed928e95b5b07c363d94ff99db3e93568d25234fb26 SHA512 3797509bce6dd1949190f0d9bcb4d1c918c9bcd9f528b493b5f3b7e2fcb9265ea42e51e218c0342814e0f55c827ddd1bab130df76f849352e5894225d73bf3e8 +DIST genpatches-5.15-112.extras.tar.xz 3932 BLAKE2B f76085492bf8b1c1bd9092174460be8ef5e22921f1f7a6282eff9cece01203ca68d0259b94a184161bfabddef1a7e5f1eb29b0da5eb85cc35853e767a2239216 SHA512 3e8ea63b9011f782b11e1df144414d9e3f53f24a391829342c872dd4f5b0a3c128dd792f95feab7aca08adf6a08d88e11ec2e2d61e0b0302546f0a55f29b78dc DIST genpatches-5.15-98.base.tar.xz 4003192 BLAKE2B 79d4fb60a5192137571109ffaefdfba23ac589102539cdde89046f627f39e65a52a44a83607232b499509b8bb4c341e2fd26ae971587c9574d4ac87d8b220893 SHA512 946a7638d19d5fd610075520e529a6c5a47aaa433b7986493f62571a7dc541278013a5006bf1e745496e4eb98de44af56f61d23679c139a719a8d5bc20c9e734 DIST genpatches-5.15-98.extras.tar.xz 3932 BLAKE2B 4e5dd4f8ba6d14764a6546cf7e64dffb3ddcc77678b7d96d2498917f30561792c904c635b0fce7191b7c0c65549fa769e89befffbea5e53a3cef64c673937c20 SHA512 337d95159432cba3b85511cf80c350a8a2f67c65b72a90b26ddc98c01d2d8de70d9b6067e0573c5c339a5bf64973d10c06b42001ee19a7add3d672e4577d0622 DIST genpatches-5.4-236.base.tar.xz 5467512 BLAKE2B 5c2ec5abee963eda0373e04d4f0da94d7e49b7a1fdc05f7a2f7cafba61771124503f1294289f79629afb62075855c176887f525a95a73bef4247b57915dd4877 SHA512 0a3ba2742ab21407ccc9060f37d528cdbe64dade85927aa1908613221973f14765a78ef6a71e157a71defcf1ee9158ffa1c2e7c082f508fc1140792e2311a073 @@ -110,6 +112,10 @@ DIST gentoo-kernel-5.15.106-1.amd64.gpkg.tar 69529600 BLAKE2B 5cb9468359669addef DIST gentoo-kernel-5.15.106-1.arm64.gpkg.tar 62494720 BLAKE2B bbbd48a75cf6d1f2781bffd88fe0de7886761d7f8699a0683b6a54f8267e3bee557cb5280718b2c96af0eddb49ab279ae9e3ab67189bf06b3c5769483561f1bb SHA512 5e3cf7f568cd634a389f6f70d4295ae3ae23b41ec0f531540d016c1452a036cec2f34561939c0723e419970ed722d301558bc041386c37b2570d538385a77802 DIST gentoo-kernel-5.15.106-1.ppc64le.gpkg.tar 57098240 BLAKE2B 68fe06c26f67d6a045043f356b39364d9575158b7d84e9b2a38873e797043294eefdc5f7e1fd371641e55a2e6b0e0fcf1268caaa6fa5f9ab246027f109c5fb98 SHA512 5a4b3a560446d0a6d393d52e6308df6a11082d14ccfb38a68ec81549bdc294a76efbd589b09bf8f08a8bd8d32f27727aa43de2cf927d24a7f1b58e0940adc6ec DIST gentoo-kernel-5.15.106-1.x86.gpkg.tar 59125760 BLAKE2B 668fdee1015611e972932f5f461aaf289b10c727ffd7fdcdf7058c104aa7f88075aa6f8b608955f6a181d168bcae4cfebb4a807ed981218386045c352a04236b SHA512 8933406d858f952786eeafc23150fa837eb0518013335094c0c4d403635e356b4b736ada34f5909b2c7460a715bcb252bb3f7c7c28356d57c91576f753b7861a +DIST gentoo-kernel-5.15.107-1.amd64.gpkg.tar 69560320 BLAKE2B 2ea788f406d90d6041d2a6af9cca57a28bd7318f3f804ee722b674b8640f4e52651514f21731bd7c35026f7af0ed985bd597c6f1337e4bdd75cfb3b4a54e18d0 SHA512 65c62783e703ef1355fa438c8a4b803a4c750a84af308d74a7d78deb87e232b97c6ebb1352c940e38b8f5dbe569929bbb57e61412a8a7b4305b373e3052e58b7 +DIST gentoo-kernel-5.15.107-1.arm64.gpkg.tar 62504960 BLAKE2B f01b3b6afc5c08f35e44aa8383142c4d096395ffc6f7640b75d4fde23e64fcee09e43f4a726ace58c405dfceeee6ed9f40a26f89a22c396d058eaac81fe79c2e SHA512 8f91e7fbc538d42e1f397878815a8103596e097fe1adce3baedb39b62b7ba0c4e31072aa9b91a8e7a03dca6c895da7dc0987ffe3eb50732fe9e9764bdff26f67 +DIST gentoo-kernel-5.15.107-1.ppc64le.gpkg.tar 57108480 BLAKE2B 214342519f793b876099ff229e72de5ddf4fad2be29f66894a86c5809d36109d2cc99a9d808faeeb5af73eff045bb43c01f7de71f3fa0e01c6c6e64ea3f71de5 SHA512 37ede266407526fa4bb520602fec560cea348da5a76c4693d2af0662d6d602fe75fc5d3ea7d528367429d58a035963765ad516fdcbaa1665e670058008353243 +DIST gentoo-kernel-5.15.107-1.x86.gpkg.tar 59125760 BLAKE2B d37c5a2d3ea2ad8d64ef3c8f45d67951ae02302773aa5e11ba6707ca48ccef9b00597950af4a87f01ab2d0a86adf2e6c84e89b6c91ba078c62fb71f8d7028065 SHA512 ac21753301b32aed49ac884052e305539e2b43230dc91fa4dd5fb8fd9e50ee1fb46a8817b1d261c35d7c4417eb7b3767b3fa314b1e65ede5af76be52ef8b128a DIST gentoo-kernel-5.15.94-1.amd64.gpkg.tar 69591040 BLAKE2B d8659c0584ae851b05d933fed2a94f05eb8c93591b07ae77b8160d397fcf69d2ea8819cbdeecd294d3238377a4450789c653012a9e50223ab98aa5a229a98f11 SHA512 72bdc70aa6c8e51b1896b5872d9bea372305866509a34fc4ac99cd88b01d191041d02c18a0499b03d119b79499825eb97d105460968ac96848274b8fb8175f13 DIST gentoo-kernel-5.15.94-1.arm64.gpkg.tar 62556160 BLAKE2B fc2122980f798c1313913adf8a28436906ccdd7bb565166ffc5039fa66360b2a7ff1c2e97d579c85cce4dfa6fb471f92d973991998fd4b2a2637adda55130921 SHA512 9f8566bba0bde6ede619a9379e8acae7d3cb1364c888509755cabf0c64daaf3d93ff0085102a2301b0d5c38aceed44e609947099ea9d9d32edb1f04e3b0ae54f DIST gentoo-kernel-5.15.94-1.ppc64le.gpkg.tar 57088000 BLAKE2B c5533a6a4842a765346270addc6ff1590ad60ac5df94be8ac0b3209098ee058e09d54d61d8c639bc09e652cb38b179257b62eb33343adad53d5c7d076c5b852e SHA512 4c4385f4b4a2776e67c95d1be5f59c1f00e312dcab740a07344a9118716f574f97064032c93e7b1c4ef97b9ce29efcfbae598297674f4768c09b787b5630db4e diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.107.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.107.ebuild new file mode 100644 index 000000000000..64a82c2b8323 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.107.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2023 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##*.} + 5 )) +BINPKG=${P/-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=" + sys-devel/bc + sys-devel/flex + 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 +}