diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-11-08 22:43:41 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-11-08 22:45:17 +0100 |
commit | b01aedb78b5edcebd9de0be26a3f38480fc64da9 (patch) | |
tree | 31a4eb9ca5ac60477af86a8e70e99393b043c735 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.15.171 (diff) | |
download | gentoo-b01aedb78b5edcebd9de0be26a3f38480fc64da9.tar.gz gentoo-b01aedb78b5edcebd9de0be26a3f38480fc64da9.tar.bz2 gentoo-b01aedb78b5edcebd9de0be26a3f38480fc64da9.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.10.229
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.229.ebuild | 138 |
2 files changed, 144 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index fafd0edafbad..fa318dc7debd 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -1,5 +1,7 @@ DIST genpatches-5.10-240.base.tar.xz 7605364 BLAKE2B 2ab206d398eea9704f90f3485446ccdbb5e53fdbdc2ea2f468ccf8ba7d4160cf96d6f407df53a4db18a68eec98e0b3a203be74c68e45e4a1300da26ac3fcfb5a SHA512 8d935c136b8fae9a5cbe558c362536255ac228369538a448fc4728f8c7b1a1393cdd810fc5b8a08138fd70c4192b07e4845d697120679dbb6ce04180575e2f4d DIST genpatches-5.10-240.extras.tar.xz 4056 BLAKE2B daa6ee7552a0f30598c4fd1c264509698017b64199ca993000bd6d226355c60b4d570c942a1b7e254d32eb941e2b873a4ed8b7a8f976b16cd93dea07727b8d15 SHA512 c01c07819c65357eb83ad9446b24cd2398c3ce8c4ba038ed726cba220145cf013d544b6442bcc65f7c916b5dbf85008bc638ddfee26f33c115e2c929d650db7f +DIST genpatches-5.10-241.base.tar.xz 7627800 BLAKE2B fe3fbe6a2d1129f41cefd063750b7c2c737dd19f12ecd2dcf8ea764f155ba52f68504b6870ee2084287763b8b5743255b9d5d0b85705cf3ba693e1f25f3dbe6b SHA512 6514e763cada5d06c3869d81c2ff88a86f4540166a87b15f3749a4872e76c0ae30fc97a1c85e0e607d810775ebcc393869f139607bff80b45df619abf2cf3e3d +DIST genpatches-5.10-241.extras.tar.xz 4060 BLAKE2B 342f265241e9f07f594feb34f5442f9a5975d4bd4f0c464104c12f300f0ab0609703e4f9b0b14611fbc0ac3511f9a8c15caa1161812524e08b8258445b195f56 SHA512 94dcb8bc67202dd010562c9bb15c0fa0c0c0732425e30bf8e400a9b06bf558453481c77863797d4accb5e5a8eccdff13a9239b1af86f0959fe008ed096522347 DIST genpatches-5.15-179.base.tar.xz 7600676 BLAKE2B 5654c1db636059018715b1ec3ae0c3f7b5f7cf9e88e4ccb1df9843eb6fc130b204d5e7aa76f77ad21502030ed5050df760b59f2af59fe2074fd9e16e3703d7da SHA512 0900b71b1c43d507a06463a657bb5739964a3badcd189c7aadacfb43758da529a07215cda9fc66fec1e9e25e07ed3d8c0053cb37b0779a01a545a3993cca516a DIST genpatches-5.15-179.extras.tar.xz 4060 BLAKE2B d8f7885fac420f6f64dafcd5edf3500c8745fc076a382a9c62cfe1a5fd86a2c1d880ff8fdd0bd12649760ba115abc43de9da76e559330c0272f88c43926fa990 SHA512 01a08098524bf56987a55707b767911270b19b7e7ba032ad84ed3942fcdd073c0bf92443fc7cfe24ce1e88ec065f37f1a5c5c20adf3594151bc933a71c92f9d9 DIST genpatches-5.15-180.base.tar.xz 7622872 BLAKE2B bdbfebd8160b3851b67c1bba86c8f0c7f7dff79f2304c9b297755043067575a14982d0e79f2aa0e3f42994520e8bc50cbff11651ad1d546d314f01d50a33e0f3 SHA512 606659b93b9782141434313a634fd648f5f934caa2016091693039035de0fe96e6c3a88075aefde18aaf323eed0d8a4188bef64f990f20fa9d06e4bc8d7e1079 @@ -28,6 +30,10 @@ DIST gentoo-kernel-5.10.228-1.amd64.gpkg.tar 63313920 BLAKE2B 2f18168a59a42f434f DIST gentoo-kernel-5.10.228-1.arm64.gpkg.tar 56760320 BLAKE2B a1826c8fac94c3ac7eb6f5f71e6daf5bd252eb09ac6d56dde19d382036a68b4b83897ef9e7d88008ea88fb1949dc2e49c3d58a676241355f7f8118b6229a4447 SHA512 19e4e68593240e0f253c87b4c1c48d815f6715762322fd6bfa6b4fa8220b61bb7165c089385a75f0507ad99222cf4b7d93f3ccb29d27e7729d19c934722ea7f2 DIST gentoo-kernel-5.10.228-1.ppc64le.gpkg.tar 52776960 BLAKE2B ab5193491160aeaa4aa90c5fa9ac41b3eb8878a5022da78037e5b510635b64acbbdf3ce6c3739cd1db50a935f314af10269638198a1b292e1d3f3031e0f9e3e3 SHA512 78106febb98e131cfad5bbf6c7aa9a2edae627d55ca9e09bdef11af3306cc952e9cf190bc2ae19435e5f10854e276a0fec18b7bbfe95fdc2da198b92d5424d61 DIST gentoo-kernel-5.10.228-1.x86.gpkg.tar 53626880 BLAKE2B e49cce701e518adf00303a2f356e9fd36a1653a9151f3aa8bda68b378f435dacada7f6fd1815f79a47c89660058f7d383eb99e79c7aaf76eb7b77cce34d30272 SHA512 4a15c3b720caec4a6cc34c4a6336f3d98baa70957c1ad7f27e8dad2d0db449b85bed09dd064d0825dd94b3a44e2d10164467340794036778e5c43091b0994db8 +DIST gentoo-kernel-5.10.229-1.amd64.gpkg.tar 63324160 BLAKE2B 8691af17987fb88b6f7b4f0ac508e860bce842abe721462d7a04034c88244bf95cdb36d621cfbf41a838ddf194bc46c0af10fd44f827082c8db918620e430202 SHA512 7fe74e8e7bf9d4950877845d43696079b431647f64f95a7165fcc8d99f5984aed1b9aa4cd4e08d8b758e3ad2f691454691609b8e85359e5a7af2d8bf056adc4b +DIST gentoo-kernel-5.10.229-1.arm64.gpkg.tar 56750080 BLAKE2B d2b1881db80de1969d0b972b8cb4c1eeadb486307813fee06ba263593912282c8a5871801f72db731ac5dec6fcb4545c4c49bba5402964e2704200f5d925e132 SHA512 5cd8e800a8640207ec5a535bdd9c5e173c780b3c7b2ae5f437d5a4efd29bbfcbb919160546e519327f9fe66f632eb195b389c0de5062f5d3f0a870aaccfafdb7 +DIST gentoo-kernel-5.10.229-1.ppc64le.gpkg.tar 52787200 BLAKE2B 22e28a1a9c72259d198d2df47bea454dafe73217c1e610a246b3a3e094b4081ec887340abfea3eea16dc8280af23e90cf48cea6682748ea459a5f0c9ca975851 SHA512 7c88b3441725f71a5163545cb59720f1de0ebe38afef4f97f89750476b1a3497d33b4978f753ccb98478e5d5a4ef73fbe08d805ae23287fce7a135410f80714a +DIST gentoo-kernel-5.10.229-1.x86.gpkg.tar 53626880 BLAKE2B 16e1517646a36c5cd2d5a2eaaf8a91a9358a5744e430459f4d4fa193836ceed6cef4cc32040c5e7f567a0296d41fb6a3a48f8685be109810d53d674411341b1e SHA512 9e7f0ddb395b4d8944a884711006cade09d66cd483822097e5fecf4eae3bdf5dcc6b8a93dc666564014d3fa44262ca159f5c19c804e43724d51b55508bd1df20 DIST gentoo-kernel-5.15.169-1.amd64.gpkg.tar 68474880 BLAKE2B 937f3211465609c1e87ce3b31d49f1cceecf48e7c9c6de7ce2cc6322d7de471281714219a5b82f96207afaad41240c827b079bcfee566e13f10e099ab60fc4c7 SHA512 614e86bc8e794d108b0838f7cd673e90c04cc5aeaf4141879f1737838fac71d73ddae683a80997a692074c8a74a0dc810195315f50b4717cb4d0209e63c5147a DIST gentoo-kernel-5.15.169-1.arm64.gpkg.tar 62423040 BLAKE2B 8788e1f93da7f48385f9533fde291d7ca326f428d21ea53371a3284683dec7186d01ca98e3431a8a41ed0df9323227ab5ef25d140d677772cec036e9ce10ec94 SHA512 616ef3465d5fffdf97af736b951b52d392bc2b9e93f3f46c754c049d088647e4bbd7018b192a13c131441a131f52e1bd86a6f4769dc0ae04961bd4ad0576b301 DIST gentoo-kernel-5.15.169-1.ppc64le.gpkg.tar 56760320 BLAKE2B 09ff26e5e48231bf18396b28c84893c203ed688e5d396ae5b0c29d0aeac24f097afb862bd306e8e332c8ac7a03dda93ab6fdeabad5cefffe14414a0533c97441 SHA512 fe779f7c55503ec8fde62c4afc225728de59cd7ce8be7832fb51581e2f658bceffb9b452d3e7a4dd8f05f87b11103e1c3f5741a37d3eba541c85e9af2276c1c6 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.229.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.229.ebuild new file mode 100644 index 000000000000..a6e656009f81 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.229.ebuild @@ -0,0 +1,138 @@ +# 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##*.} + 12 )) +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=" + 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 HOSTLD="$(tc-getBUILD_LD)" + if type -P "${HOSTLD}.bfd" &>/dev/null; then + HOSTLD+=.bfd + fi + 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)" + HOSTLD="${HOSTLD}" + HOSTAR="$(tc-getBUILD_AR)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP="$(tc-getSTRIP)" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + READELF="$(tc-getREADELF)" + + # 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() { + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + + # Overwrite the identifier in the prebuilt package + echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die + + 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 +} |