diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-04-05 20:07:27 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-04-05 20:08:13 +0200 |
commit | df63182314ecbc3ed0abd98dcb1d5a0747c2c635 (patch) | |
tree | 8c1af2841c82177803445015c17664a675b1fccd /sys-kernel | |
parent | virtual/dist-kernel: Bump to 5.4.240 (diff) | |
download | gentoo-df63182314ecbc3ed0abd98dcb1d5a0747c2c635.tar.gz gentoo-df63182314ecbc3ed0abd98dcb1d5a0747c2c635.tar.bz2 gentoo-df63182314ecbc3ed0abd98dcb1d5a0747c2c635.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.15.106
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.106.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 f75ee94567c5..2b21d1db90d9 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -18,6 +18,8 @@ DIST genpatches-5.15-109.base.tar.xz 4279692 BLAKE2B c9e7ad56a99a9d9fa3ba2553e35 DIST genpatches-5.15-109.extras.tar.xz 3932 BLAKE2B 7a89a0a5ff1f85d4d734dd363497d68032290a762f68c65f1648374a01b94c1890b6c60aed8aac8af5b191d63db586b0f7a7a0e581e8698e0d944582f026a42d SHA512 fce3e5cedfd3761eb768613d7a1583ee230030f214b939afb49797014abe51145c564ab39de330340d97d6ab0abb3abf645ef94cc6ffaa886d27957aa7c4fbd6 DIST genpatches-5.15-110.base.tar.xz 4312720 BLAKE2B 58e3c5a0001f1245a25cbb66e239d393c48d265a5213e51601ea9b24fc33fce97472a1cb63e990ac2d2165c5e7d40372e53952aa47d347282c8ce9f8434a140a SHA512 abbe6099973c90e0751456a522717d7f2d993d873af4a98aff0150c1dfc9a75cf56f9d850dd2a5b8c80915ab27110c65b0b482df27bda00262c043fba731cde6 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-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 @@ -88,6 +90,10 @@ DIST gentoo-kernel-5.15.105-1.amd64.gpkg.tar 69560320 BLAKE2B 45aacdac70b51a5caa DIST gentoo-kernel-5.15.105-1.arm64.gpkg.tar 62504960 BLAKE2B a3161bf46e643ad8e335a176d194a08dfa6d6d5a39969e13c58c0cb634437470cba9f0c4e3351b7b0ca792f4743fcffafcf795dac76a3461b31b41544c9a9d31 SHA512 0c402286e94b2672ac161cc985070022048b8d1f45f3222beb6a91b15ed9762999aef9166c0f72ec19182571de7fb692b94394f0c4ff4bd25f1c374ee023f198 DIST gentoo-kernel-5.15.105-1.ppc64le.gpkg.tar 57098240 BLAKE2B 0297350c9fba2563f937bd719431828aac39593c94bf2f41bc71fe0017e6b6faef5ac45f99a59357b6895f37a0f98a6745a9d1645f440210df5b059b5926878e SHA512 e564eb31f0e94e3b0a3cc9836c0f335d96b626817ef12ed37e4be7c8d205a436956c23383ce5423b6f0e03bbf8312621dd58f672ec8cbaa1648153669de0f87c DIST gentoo-kernel-5.15.105-1.x86.gpkg.tar 59105280 BLAKE2B 152534b858446343d1a76cd767f35861e9282d354942697807cb40c89a475649983314f1d7dcd2eb8f4a089bb0c0f6915396b451adcd9f71677a801fd587f3b5 SHA512 f5cf5f67ffe2c593d206e6f16284be4e48304b1e2de6ea14a7b291fd2a6c4d44d972ecf8afe6bd9a6908e22c0a022a0e70b0447f4292c7cf747d31af0062e280 +DIST gentoo-kernel-5.15.106-1.amd64.gpkg.tar 69529600 BLAKE2B 5cb9468359669addef06ff5956974881a3856fdacaef2245ee8d3c21059e8edb30b88572b758e1677bdaa8fd677f90acf50a0191353a627b3682fb9257c6d6d5 SHA512 b158adcb3a540107b458e551a8c20953a89957e39cd29da65d241edc0163c7f9ed12d1a5861782c9527017f42e19c1889639bf3f5febef52b2e529b62200c4b3 +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.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.106.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.106.ebuild new file mode 100644 index 000000000000..64a82c2b8323 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.106.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 +} |