commit: 2158bab5c7bf723c9c3de0173bcb5b7a67a4c105 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Nov 8 21:24:33 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Nov 8 21:26:10 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2158bab5
sys-kernel/gentoo-kernel-bin: Bump to 5.10.200 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.10.200.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 3650d3eaf590..38562bfc35c6 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -2,6 +2,8 @@ DIST genpatches-5.10-208.base.tar.xz 6093152 BLAKE2B 39bf2d32114ec581c28770ebfa3 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.10-210.base.tar.xz 6166764 BLAKE2B d2afcbc4c25f01401b9971ee3548ba9f945e6cb3fed7eed800e4e082d3553edd1991f49eca0eb6df00be09f19c9b85f378546a21439d140ecffab7108c46ce8b SHA512 54fd317bafbc4d04cfc05814b8695967dab324773a76964e86ad018e27b58903f5fd42bf06202aadc2c86582f07be5a83d39620606611ff5806f14460fec0b3b +DIST genpatches-5.10-210.extras.tar.xz 3876 BLAKE2B 51ff2998ba7713fd4c7f4cd025b5abd014ef7c8e944841a1b6a6517141aa4b74efb2b017179197b03c82972e1b24bfc3deb9ee4687e551af8b55162e3f73c520 SHA512 24cf5ed8915d9db4ed79e05d07bf95ae499daafb79b15113a917743dd5421467265b47effb356d813165f5d7675213e5d2d4ff9be37b11573e77172ef72c05c5 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 @@ -40,6 +42,10 @@ DIST gentoo-kernel-5.10.199-1.amd64.gpkg.tar 63242240 BLAKE2B c5d8490f744fc74238 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.10.200-1.amd64.gpkg.tar 63242240 BLAKE2B 3fc60499b637165fdc7272304bf747a696091776407229de5db1393b863366dbf6bd3478b75f8114ad923c86f51d9954c5df953af489315947da76708c0df1ed SHA512 09b0adc8c3e34b066e90163b5c629eee665888687b5150964c4c71f9037cbd0c04401556347865fc8d02c8e9fa556795188939cd1dea641c89a29f7d1b766f6f +DIST gentoo-kernel-5.10.200-1.arm64.gpkg.tar 56719360 BLAKE2B 7377a482b9f04eac91cd6fa28440394ca2b89bb3415d19f8c690c85d873ff03c49d6f6b2b0ba0247833f9dbb0ae2363ef04f1d39f128806ce6ec986cf2feee7a SHA512 cc83ac5bc22cc5699f16f1454c0b2f3c7d5f36df06dac2ce592e3da3b6644d02731e5c7fa105e48168fa79972888cee6a956d733c7e4f663c68dba694a39432c +DIST gentoo-kernel-5.10.200-1.ppc64le.gpkg.tar 52858880 BLAKE2B 19008a8fb83f0f15af2a7a216ef9ea92434ad5e30a5e9b75d87a374daac1ebc968006944fb17e3cd47a4aa8882bd87381c1c0c3ba4cd65dcc723f3beb0ed6975 SHA512 372507631fedefe4d7d682bad3229ca29d8d206edf848f2541fd97edb21815baf1c05cb5cf447a0d61afded40ec78c4a2ec9904cf3822ac39c676a594e68da40 +DIST gentoo-kernel-5.10.200-1.x86.gpkg.tar 53544960 BLAKE2B 3c1e9bd5533a941162541dbd52c2fe59bf413e6d226c0c6635987bd14271a807fb1a010a3c0dc425ead7361b4dc6f3f261d45c674de3ff41ee627e281a6675a4 SHA512 72bf4fc40d7bd8e1b3b5befb57ce5f1e76a18c22fd1b46ba39438c8cd0df3763304f370cc1dcb4236a5f64a7f73e3ead3332f2d18df7cc298187986cc3d1edf6 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.200.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.200.ebuild new file mode 100644 index 000000000000..fb165f3f0e91 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.200.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 +}