diff options
author | Sam James <sam@gentoo.org> | 2022-07-30 03:21:57 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-30 03:22:20 +0100 |
commit | 99517e3517bfe39423efbb67a58218fc9a72bb56 (patch) | |
tree | 63f33c95f1f68a37eca8adb25f78fc18fbee8b85 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.15.58 (diff) | |
download | gentoo-99517e3517bfe39423efbb67a58218fc9a72bb56.tar.gz gentoo-99517e3517bfe39423efbb67a58218fc9a72bb56.tar.bz2 gentoo-99517e3517bfe39423efbb67a58218fc9a72bb56.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.10.134
Signed-off-by: Sam James <sam@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.134.ebuild | 135 |
2 files changed, 141 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 9f70ca0c2216..cf2c268d5d33 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -10,6 +10,8 @@ DIST genpatches-5.10-141.base.tar.xz 3795548 BLAKE2B 42dcff42a0c56c0a16028e289c1 DIST genpatches-5.10-141.extras.tar.xz 3868 BLAKE2B 2f2dc5299a10634e3c011457d1c40c70a8e6ffd64b38e4567193b5be25f66a8687b2fd850192adca24b938b003fe0569c8519eb6e36b557f58b775bf542d311b SHA512 a93b152ecf75984ecf0d0b56e73c19aa11df09a4b27042255c6ce771dabecffc2e3504e394478be6738cd70912f626120bde430af65acd77f17464d2e0b8fb6a DIST genpatches-5.10-142.base.tar.xz 3863448 BLAKE2B de45611ba9c92f59829a61b84ad0461535ca68fc5efa2418417bd1fe7e1ac643e2b65e0b467414eea90fd034445219c13782b1c99136367247420502289f7523 SHA512 63b835f0006f0e2ec97432cab93f21f47a7a36098f5699305d6ca2d01d2419fe6ac6588e68210d1332b4e1dad8a6fc74ad95034c8be1524601e4c30b447a3634 DIST genpatches-5.10-142.extras.tar.xz 3868 BLAKE2B fdff4c1e3ac6b09322168d92469bc5220dded731e05250100df2b5a94d90b2c5bd7612e6c32574ae1c67cd59e6f73d348b3f56bb9027ed1ba11427975796f1e4 SHA512 227bba85de2bf1eba0b0c3d4f314ca0f2f5c3c475ba78e5a82fbb3a682fd37bcef80ef1a91f1ee3747bd2a8c639d2f791110ac72c5406243dd2f54c87d846dd4 +DIST genpatches-5.10-143.base.tar.xz 3888492 BLAKE2B 981a8e21ffff29acfb070164fef85e6beaf41e36a6e9b139a7bbc2027750321286d7e1a6cc51604841352bd65fcc363a80edbb6455c9d8ae83be560603350f95 SHA512 6556642c9d99f0e8160c4e50f99dff42982346ba132abe77bdb83c1fcaf9435fd2573fa56380ce140efff7773ee5ef1cf9475360e6d5703caf4c38b14c135ec0 +DIST genpatches-5.10-143.extras.tar.xz 3868 BLAKE2B 8bcfec127807585e1145930a119e5f8b6f4f481370c4243dfa0b3f5aac36f5b19ce566b458718128224ae63ed3ac8d232a60a917e80890a13a9b48325bd7253f SHA512 ad4f8a858caf876456536ddb7f6998f7d11c81047efa23cf3289fa93b6b9067fbdaa9329cf7b3e3089c0c07b9adabeca49ffa7a1a7eea7d9f5c0a306996d1fb1 DIST genpatches-5.15-56.base.tar.xz 2245780 BLAKE2B 0f5e5d7c8a29f590598f4721307e3b1a316342cc31b8e5ab5496ed58b65470d19bed59ff40cf7b26bd4970eee04581ee8ac544eebe63c54063c161a55c828cea SHA512 0a1c4edd8f863f2c77a14cf48d79c35868ba8b2f02fb2436e1913e97c8285046ecbedc33e6faddf02a0c813e677492be0fc972e3731c733e488006602eb6119f DIST genpatches-5.15-56.extras.tar.xz 3932 BLAKE2B 2b167a35d9dfe16a18b22318ac4597147fb25bef53a66108c2f2e4d6e6d3df1c9d4b1fd6d63ba4a8078f94f8cd69d14b359123355ba266ef72b44f7d9addca9b SHA512 ce91556981720f3718921993eb15f5af623cad8dc40a36bec6cbb0d52153fd1288bf97927daab1b1e3ccd1451d4295b109ead0160c657a00c62c2d6f25fbc09f DIST genpatches-5.15-57.base.tar.xz 2275504 BLAKE2B 23dad9d2e9dfc1f77f6e39f8d9e68a6e3168d581136d50d53b3503278bb5e4abfc25e2f9fdab63eeed674e370bee8ae7cc5c54058f6942abaa4eeac49258d765 SHA512 b675437c320b28f4b4ee979fff5c32ea607fd795b090206b49d66fdb95fc2ca1b959fffd33b9e5241a160c2f19902efc8218f2c39eaaa312a5b4149282e08b99 @@ -72,6 +74,10 @@ DIST gentoo-kernel-5.10.133-1.amd64.xpak 67472562 BLAKE2B 517890cf35c985ca51c3fb DIST gentoo-kernel-5.10.133-1.arm64.xpak 60986275 BLAKE2B 41ba30bcef9eb7666bb6413dabbf1f82976073200a29709d0aeb5852e061ca7bd8b5fc352bd9fdf3dd7f773473481d24356b3f07a6e20b02d96de31f19e5d858 SHA512 6e3331dd667a9b0c405275a8fa35c92aadede045ea7894267e1c8f0233b58643698a71bd32dedbc2871f810058854b4686279defe54c1381a86fd38ad31fa9d5 DIST gentoo-kernel-5.10.133-1.ppc64le.xpak 55990983 BLAKE2B 4c2f91a461b354a6eb3d6a47493d69c2bf60ce983f35448916093674fd1a3b62901a144928d4e3506a257ef8053c0df568d7d461c71c370cde28a7733995648d SHA512 1d4f37eaa6a228774208c95e02c55209038a8793bb38a2ae5f8dd2e414900925c7385a62b507b318ea64eef6a0019dc1d5c304281b7b7e2244424ac1f3df1476 DIST gentoo-kernel-5.10.133-1.x86.xpak 58252930 BLAKE2B 769ce7d93a31071b5d1fa6e7f801412224db34afb31d68e8b5de6759bed29887bffd8e97c917d3c2edee2ecb94a8bdee4af23dea980f6a61347e68f10c20f8d4 SHA512 58fcb6355d026d361fb52afc4687aeab31cdf78b91bec315e48d0778e4ed0a1fe9347dd111cf85ab5847ee6d68a20bde5cf4b70e5340741b25ecf68cb3288deb +DIST gentoo-kernel-5.10.134-1.amd64.xpak 67660154 BLAKE2B 1596fb2a8383b66a2783a2cb1a4b51accab60e3262d420accf21d3e2be7954b34daba134ce6dc096b742c62c67d4cfdd13a6abd0e4e554879aad0499eab1f57d SHA512 8de377b3f463b5b12d06a77aec0d0e92698bcbe7d9726b61b06e8a325b2c251f324bc42e8dcc7e86bbfba5fb73be03cb389312d58bc4da8ba08d4cfc0dcd8e9c +DIST gentoo-kernel-5.10.134-1.arm64.xpak 60988483 BLAKE2B 775c8358720c4eb6c023faada831e8ec67d643b4450a8b17ac15a45007e8668ca3e0d2a5799278017226805f2fcdc9c79b5020d403afca7e8818a240d33105d2 SHA512 739a3afdd56963d50fa604f2f371996b2c7e8b9d08dcd0693d4b652f358c15a78fee844bb0dd182e3df2cae9f5bf71f07952ca13c71b444343e5a804eb8d6c2b +DIST gentoo-kernel-5.10.134-1.ppc64le.xpak 56038258 BLAKE2B 4e2fa82a9d8ef9e98fa00e45b144d5017a154bd531338d0be35e532d81fe0943f36dbd9213ddf22325cf1275a82ec7825949945847acc1644b73f35f9b9da7c9 SHA512 280e7e7d4d58bb9ef73bc2e8bf691e2851f62cf2f961d59a6996fc3295c273ebf661b41b9592622b47e48dfe4fc8b4221ffb5b50975dc49eca6e02df8282069a +DIST gentoo-kernel-5.10.134-1.x86.xpak 58319985 BLAKE2B 8f080d5dcb6b475f3c2abafd535f516ad3795f06c2a540613008bcd5a5ab4b4c4063c12a6a4e77ef4611a553a99e30e1a45b84e2a28750c534b432a288d3c7f5 SHA512 839b0443212686f61738c675fb8451f896b10a604bb05500e4aecbe55f2b6a1c9817d65c894b206eee29fda026baa6bbfa85cf155b3785166bf1f150ef1494a6 DIST gentoo-kernel-5.15.52-1.amd64.xpak 69378739 BLAKE2B 410ce229e5392547374c5554ae09447869e7101aa4b71d95fe2fee95e4637e529c43c784d35d6e1297d1d8b0a6747f14e977480f907154b1d23ee3f571e4a9d5 SHA512 cf8c27e0ba2d7feeeb20c90f3247ea6334775bff8560c385924b7949d8f34da33d53b35d75b5978515882caea0151a30bbc43c6130320221332103ddddf4e4e7 DIST gentoo-kernel-5.15.52-1.arm64.xpak 64180081 BLAKE2B f0c4f0991e106bd70b81962b3ef2b2e4fb2bce26f80f5cfe3563c2277bb87236e7d4a2eb7685f0cfe4f7400f0e541cc8b86b7d722d5d72e8ee9afad031b36a9c SHA512 a2bc5409f92f7665350f44307c310b03beb0a2928e390d01408708b12802a9833ad7a732874d71114cb50640b31c633ba8a0de030e6ebe205f2f0bd707ad4c90 DIST gentoo-kernel-5.15.52-1.ppc64le.xpak 58183126 BLAKE2B 8fbc979f03617ee0146fd891662d244f109976c2fa142364e6ee48095072c442be2c4f46e859209fe688c6def9f7829884c1ba0db654befc4bc4f78c06771f9d SHA512 7038984aa9d4f556cdf322476b29b61ce497017291789eaf99d8b2f03d95d9c3e0899608dcc93053524f2a9415297ea89c4c6738b6add722eba8e25c375e3893 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.134.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.134.ebuild new file mode 100644 index 000000000000..db485661e986 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.134.ebuild @@ -0,0 +1,135 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-install toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) +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/~sam/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.amd64.xpak + ) + arm64? ( + https://dev.gentoo.org/~sam/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.arm64.xpak + ) + ppc64? ( + https://dev.gentoo.org/~sam/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.ppc64le.xpak + ) + x86? ( + https://dev.gentoo.org/~sam/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.x86.xpak + ) +" +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 + virtual/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_unpack() { + default + # ARCH=ppc64, but tarball is ppc64le. Update if we ever introduce ppc64be binpkg. + ebegin "Unpacking ${BINPKG}.${ARCH/%ppc64/ppc64le}.xpak" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH/%ppc64/ppc64le}.xpak") + eend ${?} || die "Unpacking ${BINPKG} failed" +} + +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 "usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "lib/modules/${KPV}" +} + +src_install() { + mv lib usr "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d boot/dtbs ]]; then + mv 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 +} |