diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-07-15 16:45:48 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-07-15 16:46:33 +0200 |
commit | 969f684130282e5f915377256714657935e0f914 (patch) | |
tree | 0f1ec9900c44fe4b279b62cc3bc063f38eb929e4 /sys-kernel/gentoo-kernel-bin | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.4.206 (diff) | |
download | gentoo-969f684130282e5f915377256714657935e0f914.tar.gz gentoo-969f684130282e5f915377256714657935e0f914.tar.bz2 gentoo-969f684130282e5f915377256714657935e0f914.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.10.131
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel/gentoo-kernel-bin')
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.131.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 1be1fb89a2e8..5d485293f553 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -4,6 +4,8 @@ DIST genpatches-5.10-138.base.tar.xz 3762688 BLAKE2B 44039c709108f0b9a9ff95ffbcc DIST genpatches-5.10-138.extras.tar.xz 3868 BLAKE2B d08d8e425e323df25f3bad59bf71a0836b00b11855028d131d34a25938d9783ca85cb8ef5c9cae65eeec2a41280eb2cbf8816b94ee4c48c7a01d55dd4224f9ba SHA512 6ff612c0e8a050124a7f2bdfa2ff64f99bb0250e32f79b57855d9a95d7ea3182913ee016e63ae86413872791342c8eaea198929ae413dd0eb92eaefab4b953cc DIST genpatches-5.10-139.base.tar.xz 3775368 BLAKE2B 5ac003f1346c1e9130511cdfb7ee75127f4dd67084176a6042c0c6fcbbe4a5c5c60fc26a86f21def7fcdf23116cf8b9b9680733ac657730af3f01e2a709749e9 SHA512 9719ef4cb81f0f2814b8b88a756bb4883fc33d5e8641f251796ea4edfcecb80240533b4737f2e81bafa7e495ac99da0764d013c6d767e6a6710c50352306488f DIST genpatches-5.10-139.extras.tar.xz 3868 BLAKE2B d755c5346ea1fdc709f830a2a61e1b2c13fd5e5d180c9c7631e62e362db9610ce741d1358dc2b8a0104a83413bef919455390fbd0464db21b6bdd24701c8e62d SHA512 89152c2be3383630b6f69715f9ffd298015dbd3f46662d0ae079017d73e49e1bd7e5256e59fd688c3b5e9a30de95a82cf885866e40e4154b4e843a87017ab7b1 +DIST genpatches-5.10-140.base.tar.xz 3775232 BLAKE2B 1ea0b94e5acece92add1bfa728fab6f4252dea9bdf75696dc52afb4b9422a404fff906dceb31e3a21f6712eaca6ec61ff296d3619e257183db40e52c500e8551 SHA512 568c171f612ff5c59b8b56c2fec29fec36e05c7d35050b687d9a9d7b862d1899bff2fd505094b46969569921aeb69605fda5911883c6583f28405bae96348ad2 +DIST genpatches-5.10-140.extras.tar.xz 3868 BLAKE2B c5f78c7a2c3eb68695c6e2b0810addf286c66f94f53d1953efce2f12e69b04c4b0a43932d5114dec915342594750f0c40ad74a277f198c91c6ba6e5e5c1a6544 SHA512 98af36f68c8eff7432b4969d06c0a2a0d1ea00a18d18b0dc86f360d69bba2ecb08bf59eddde1534341cfe0a5e0de09fdacfae3816d7df1f431b70fe871eea8f6 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 @@ -36,6 +38,10 @@ DIST gentoo-kernel-5.10.130-1.amd64.xpak 65748470 BLAKE2B e261e2b2bf2844b3c42ba8 DIST gentoo-kernel-5.10.130-1.arm64.xpak 60994553 BLAKE2B 7f7cc56c571a7a8b78553361d5f40e73cd3a10abf519d54b551bd775d8bf3c4fa537b6d0f65f87a502ff44d9b53ed952ed6d936735d0fc11af78b0ce60d4d15c SHA512 69d2e44ea9b58ee5d22ccb2a2f88e42723933907b131f2e4cf6d67bb0182ca60df397a9bb1d8966b2734716228468c8e023084388435352a3244ff6ca61773fa DIST gentoo-kernel-5.10.130-1.ppc64le.xpak 55932236 BLAKE2B a964bebc6f0423b1904b97ca03841b1ad65aacf89f946f64653605ba253d74d981dc7fcc10ec129f2f468ad2d982cf0ad353e82e596bb871f72c98dc14c43d3b SHA512 2e0721e2ac59fdd0bb30c9dccba00eb6cdf5f0b06eccb458fd0c3a1dd98ff079a0f66331bdbe830af58d5b979a9c208daa935338fad9945f2642cf94c6e1e7c4 DIST gentoo-kernel-5.10.130-1.x86.xpak 57394985 BLAKE2B 1a614af0027d2832f299fa4b52e876cfdad8f03f6e77bf96fdbd35528f4ed9a983e61844f981111a09715b9c474770f443c196bd42c3948a75f0231259be491b SHA512 3512679c1ec94fadfd7543fd27b9bb61e77852eeb254504c66dc35bca01b87a8f3c31455a6596f9dd800cf63ddee301f3f2ff51da29aaeeaa16a1af0821904ba +DIST gentoo-kernel-5.10.131-1.amd64.xpak 65735286 BLAKE2B f04cb8efd990da345a00b0de4c1f6698d39f1bd6055608f535c1391fe03c02e4b1e26d7af17ec90793f75155f188148e0697f70329c93e65b13608559efb43c6 SHA512 7d696df656ebfca0767fd8d11c55fa418027e6157676821e04dad279dfd66a0b427bcd9bc203ccef2b938fa3335065bc2ce06a3eb55ffbdb39c4817b2f7135eb +DIST gentoo-kernel-5.10.131-1.arm64.xpak 60985988 BLAKE2B 9823058dbe704e41a4bf30419ca2bcdb8d48ef1c6195fe1fa411e47aabc03c5bbccf02c92cd1918cfd41f74a10b2a464a506a0b6c8487d3ccaa3e6281c00c2dc SHA512 741394605b86d6e002ac7d3810ba68ef6e3b18a7e05cc6bafcfa696970e5e460deb1b0ddf9137651d9f92963b0ec2f3b6bc25d41cfc643fdcac473598e3e09e6 +DIST gentoo-kernel-5.10.131-1.ppc64le.xpak 55919919 BLAKE2B f6cb914f8353fa9d2515c3a05cf174c1946041bfbb57715b6e50cae633f7a9be7ea8e24dc2c6d55bee54b3f2b117df4b39c018b01815f07951be3cda94f25aeb SHA512 a77257f48fb33eab8f9256cd66e2a659d22456bc55e7b1548af5852099a53edbc76921f6eaff830ea8dd3ecad17e43d9d6c745897ca46c64b7dbb09f2f395e60 +DIST gentoo-kernel-5.10.131-1.x86.xpak 57415135 BLAKE2B 069e6ca03b5a1b4abc73be71e1e4104a930be14a5ee6af6e8bfc2272b3893796ceea6ef5f67d19fbe6269f5e5d50b13c28370e9b8ae96c061029505d1928a2d9 SHA512 6a9b2dd4c0ac1654a278ee41cda8585adcb06984822f90dd08eb3fad471d22495c8abe329a151c0bc5e6eb1e20a0eea9a37cc2daa92b1b53451ba2c515fca86c 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.131.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.131.ebuild new file mode 100644 index 000000000000..da84e07f808e --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.131.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/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.amd64.xpak + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.arm64.xpak + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.ppc64le.xpak + ) + x86? ( + https://dev.gentoo.org/~mgorny/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 +} |