diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-10-26 04:08:30 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-10-26 04:10:43 +0200 |
commit | a0ecaeb0fd2abd040e49d8a50267baab7d80de7e (patch) | |
tree | db2ac28017c1e33a4db34d7593db6b0a650b73b1 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.15.137 (diff) | |
download | gentoo-a0ecaeb0fd2abd040e49d8a50267baab7d80de7e.tar.gz gentoo-a0ecaeb0fd2abd040e49d8a50267baab7d80de7e.tar.bz2 gentoo-a0ecaeb0fd2abd040e49d8a50267baab7d80de7e.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.10.199
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.10.199.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 7c92c6e781cc..002f7d4a5d27 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -1,5 +1,7 @@ DIST genpatches-5.10-208.base.tar.xz 6093152 BLAKE2B 39bf2d32114ec581c28770ebfa3da4d378d0db1ccd762ee1e17a3ba1af447c09e002d18b6132ca5865e026663b1264a432029c4aca6ed627e4a861d69d1c633f SHA512 e3c16f01c902dabc49f181d970c8449f41d900802bfe90dc9e4dbc31de86fd556860ad39753d4db08ab0105e4926d892d723ed7dc55975de801cbdd797308f15 DIST genpatches-5.10-208.extras.tar.xz 3876 BLAKE2B f288ba384e0871c7ceaca2f20fa324ef69e032e21847770e13b95d85d67f2de40780c5e30a2eb2c75c77f142f8417bef66bc6f82f7dfb46fa4e98555c96cc71b SHA512 adad7c912629058889705cd77f684df2ceba3f02add3aefc3103f44484f996e8b42b320ca8697782fcbab24c00dc712fad0b852b8538f68c3ed258fe90550aa7 +DIST genpatches-5.10-209.base.tar.xz 6144432 BLAKE2B c991e0a2df03e013c15072e7daadb2b679a9bb8add1ea7425ff3f1828fceb094d9424bec91b3e59bf8305b1f8614805d82b9057f2110efd99c16eb1fbdd412d2 SHA512 fe2105bff712f0d8f17984d687df102db4c6ac5175964de8f03af1b5cca1736eca65a72beabe0e7ae1b0b181485592b5b57ebff15451a4e8064b271b94ef0a0d +DIST genpatches-5.10-209.extras.tar.xz 3876 BLAKE2B 4a85be9a7a00ef23f2d0d7388b328f360f4b1c7b45557bf89428236442945b0519e98687f951cfa3cdcdad6fd11e3ec42067ea26301cb4e6612610792a59a0a9 SHA512 f59ec430d275491fc521f1833d71185e91cc7650de51bdd2de3da90dfe66668520370b83697a35000407d1ada01bc889b1ea089f53be75f3cd8d52840e1399ee DIST genpatches-5.15-141.base.tar.xz 5572792 BLAKE2B e062086d50d08b67c21c785b086c4bc0878f078ac6c10cabace2ebfe388af3497d2b98bb2e5d19d4b5791e78456bdf0e8c479121eb8c41b4ca2fcd362ebffe4f SHA512 1835684a7737d61423ec0778316b46fedea491a8f5254d9a2d630e5a78519d61d22dfa0d9d6ea1ece563f165c0d54c748f23bca5df304ad45338c27327e8b2c3 DIST genpatches-5.15-141.extras.tar.xz 3936 BLAKE2B c51e1f9dcf3995a2e178d8763407dc94595e513f02d96d54dc1b71a34ada0eaf46b6cb1cf4bebd39b4776605532df529cf8ed361480181af516ab889f915ee5b SHA512 5eb1f68368de87df9236bcf10726cd3abcb75a9f59579e9810b9ea53f3ad332d345a3da7c1be61826b6b739aabb11a838d12ba7be3ce2cb890e094433176b02b DIST genpatches-5.15-142.base.tar.xz 5603000 BLAKE2B 2c04fd46f173dc82421edddecd0efdd6d6df46534e1d7ceb6d2f34081e3a5d558b8444f92e2f9e14e3836734c32f60413d3777e7f490b06b3cbbb5c1e85c1792 SHA512 c548e4ca832f4a1d90fb639581c382fd16292b5f8b24b1ecd32aef2eb36c79c7f8f4083ae09b1e105be55e406f8b7a09233637a48f493ab139706334b1056ca0 @@ -24,6 +26,10 @@ DIST gentoo-kernel-5.10.198-1.amd64.gpkg.tar 63139840 BLAKE2B ef7840035ca70fa401 DIST gentoo-kernel-5.10.198-1.arm64.gpkg.tar 56576000 BLAKE2B 64dae882a7950eb20e5dc74e269becc2d8dae9f884a7af3cfdd59a79d13f06b8e158cc5e375e66ed0b1532609d61c6a985f04b59f751e58bda388ffe494fa691 SHA512 20f2a97232fa9f6dc342ff7efc7105a760ac561dd0a2009a0d5b3bc4c3fb5a5f0329ae84cb12e731719ba8c07ee4406f6eec2dace28283902bbd3f8b4c678fce DIST gentoo-kernel-5.10.198-1.ppc64le.gpkg.tar 52787200 BLAKE2B f6e70b6b196e7124040de925b098bb78de2384a1ddf053790bc3e5ca7e5525bf1f9abb91806e95d465d97a8be3d00faadc57d67aba9ddfd314526d2accf52e6e SHA512 676c3f6743fa1f9fe113c487b694f225c818313032f46a87d071ccac35dc12dac3819fa8ed00b95f233d0f58c958bc5ca563f5f56793253213beddda4382b9fb DIST gentoo-kernel-5.10.198-1.x86.gpkg.tar 53411840 BLAKE2B 563b16075c0e927d92b805454c7ba7c670c6b4c01cdcaef04ad55b1321ed96d2e02b36bdeb57c624fa69116c25ea688f636db8e615b3df27a1384a3356840734 SHA512 b9d4460c85f1a55335686308c81b2c4e6fcaeb3ec9575a709c09f1e6802ecd372fcb5a91bd84976ee1fc24e3921618ee6bfe58c15c97ffe0d9a6e4116f6d3ddc +DIST gentoo-kernel-5.10.199-1.amd64.gpkg.tar 63242240 BLAKE2B c5d8490f744fc742385cd4098fc1396949ba1bc32b0d29e3c8541ab9a249a61e99aafe929a0415e053551237add468e38d92efc367e13b53f057e8abb2d99698 SHA512 2e9da7be543bd2cd2b487188d9b4fa871b34af728cb4a0807b410754e06e2fef7ae2008cb7aea4f1ef35092afcde398cb5e89f11b558396eb045323a5942cdb6 +DIST gentoo-kernel-5.10.199-1.arm64.gpkg.tar 56698880 BLAKE2B ce478df6097693f5129dd1f1b22850b658f6068bbf5a7600cfc7b4173e13af80150a2a6a487e6ff208ce8ce7ae5c0cefa146bb3ffae1109d67e8e761da3529cc SHA512 7d3aba171af38a1cec807874553520515bfaf77748af8371515baa8b93515444856fcd0545601a3ed8e588d68eae042be7ada0514db43bf85f5eb70a5ace6492 +DIST gentoo-kernel-5.10.199-1.ppc64le.gpkg.tar 52869120 BLAKE2B cc8101f31f64b2efc10f2fcc71025016c3a4030426c31ff3494d80488b12cfb3c6f6b61ee7a62b0392ce3592474c9927aab9fe6aa1946ecc997e5a4e170e5351 SHA512 dfff3c502f67521f37abbabad030cad9bcf12044187bc9735735fb5c5d21b7594146d7bec25bbb58557dad0e27c51676bd4efc3a7193c73ca831090c8d932269 +DIST gentoo-kernel-5.10.199-1.x86.gpkg.tar 53544960 BLAKE2B c69945057acf2820f1e24da9c0631534b22fe211e09607af58eda5869e0524b870efd9f890d0d0a7e3f58d8680b6f0592882ad31832509e118ced1681192119c SHA512 73f11235437e31de7029e554e34b402f132a337a6e2b3892cbd020a1801133c56df6bb5083bea2083c656b1affa9245578791cfd3cb6de9a38c17cba474a4be1 DIST gentoo-kernel-5.15.135-1.amd64.gpkg.tar 66232320 BLAKE2B 84dedba1da241bc1680d799bb8620cbc039a8a1637196b91681f4581241f2033b93516a15eca2f3374d2f7e3667aa22ad3f364c9a29f768cfce71b3cc74a3f4f SHA512 e0747bb34f1f5521ae7ecdecca55a44f9fcd25dcf80729de10b9206a24c7dfd05b0aa75adaecc4deb54259c39ecc483834f60f6df984d07ac0cc066fe57665c9 DIST gentoo-kernel-5.15.135-1.arm64.gpkg.tar 59566080 BLAKE2B 39b213d78c68f96dac90a31ba6cc72d2a7ea5131e63adcc928a695d9e516ac5bb58af043b09043a78f05417f7ec9290b0b9e0e97127ad9713ffe85e8055eeceb SHA512 63b519140ac339702248b9a1a86e9f9e4477c26bb8716cd9a7bb748cc0f974e477d1fab84cdf02025b600a1df44bac438e4321ba577ea7394c991fc424a40437 DIST gentoo-kernel-5.15.135-1.ppc64le.gpkg.tar 54855680 BLAKE2B ceebd35008845871190742af97ffe053c831db5780f76fbc74baa641590fc6a6e618a4fbcf0846f934a1d0406cdff11e52aa3ec872dc2b788e88fa0882d7f133 SHA512 e846b404bcec42b28e401b1db785adc5ff9e500809051533e07c068136c8e76ed0fe172f6612446949f3e5388c372816f06c1a4b70a7ab2f7b70461af3419bc3 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.199.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.199.ebuild new file mode 100644 index 000000000000..fb165f3f0e91 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.199.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##*.} + 10 )) +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 +} |