diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-12-29 19:52:19 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-12-29 19:56:56 +0100 |
commit | 46f3154a702e8c05c8b084e2512d537b17bc2967 (patch) | |
tree | 8215f4c556842b0f04f43686f761049d50fff28a /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.10.89 (diff) | |
download | gentoo-46f3154a702e8c05c8b084e2512d537b17bc2967.tar.gz gentoo-46f3154a702e8c05c8b084e2512d537b17bc2967.tar.bz2 gentoo-46f3154a702e8c05c8b084e2512d537b17bc2967.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.4.169
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.4.169.ebuild | 126 |
2 files changed, 132 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 818c8b8f504d..65eddbfe9b0e 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -10,6 +10,8 @@ DIST genpatches-5.15-14.base.tar.xz 639672 BLAKE2B 93976aee6245c420aa654981538f3 DIST genpatches-5.15-14.extras.tar.xz 3852 BLAKE2B 09bb1bd3fffd353fe5454a033000632f9c76ede889e8550ddcdd507651e427e6b55fc65329ba89753b8b0d4e4bf4988d3c3e54a54cdf01e54b0e200d38fcbb68 SHA512 61bfb0e5d1f66b0b6b689c8e4474f22b8d2dbebd9233ea139c6da870cdb76c9a1559eb1469f91f4c3cc0eab5f2688dc7b843601ac10bf989bcdc3129510e06b2 DIST genpatches-5.4-172.base.tar.xz 4281140 BLAKE2B 438ad10331e709a85f1ee2a8907a982cd545579940431220f763b1f68280d007d344627b0d1cf4406e2a439b76d20497e1f4aa6d103bb5569f119bc5174c545f SHA512 faa28b056e48873b41b78b540afe7db3200020f85f1ae516f7949f3cef453eccae9b6b8631d594ba8b1dc1b4d6b55b1e9c9379c4880eb4697bed956b0217bef4 DIST genpatches-5.4-172.extras.tar.xz 1784 BLAKE2B 9d185d1ff33c56417bf9cfbe33efc6ce4b743a0ab9bdf419dbee14cde34d7c2d6d17884ace56880f75cc28a16b7e18a5e7b87f110c64bc7c84ceb81c7df85831 SHA512 cee6e49804ebc200dd7e308d2a59bfa0e381428caf69678bb6d406357a86398327a354bc2900096f82a77b47beea7fca7e5709cb390fbc1e0b7575c01d062024 +DIST genpatches-5.4-173.base.tar.xz 4294304 BLAKE2B 7622b34b82e901d2823f84ef4ccf282a9224dadf5a5248bbdc9b1328aaf476b50df5ea6d359af64507c30623d57a0a61f9205b5d48eb1137a404ef2ca4ec31c4 SHA512 34ce4139ccc9119546a88efb71f46b1172039f536e5072337270ab93b83429b2975a3c9cf4f112f280e62eaf506e62b48f775a4fb772a1a4de8681333be76a02 +DIST genpatches-5.4-173.extras.tar.xz 1784 BLAKE2B f01c9772a351ca0db5a44f8f13c80e30b73c546151ae543635a9d33a132f771133c6b8e1349971ab25a972e859a46e79cd64a07c7b4e1335544d7509690530cd SHA512 6b26c1e2025aa4952d23330a8b3878a11aab77e8451c2af728f2d98ab2ef64e415c6293179ace1cf08d91b887309eca9341870416c0fe2e901a397d29f035212 DIST gentoo-kernel-5.10.88-1.amd64.xpak 65533790 BLAKE2B c0b944c638ea7a45846f679147918ea6252f8945021f4dfc4a4c656d3f2ce46c2e8727f7d4a5ace57726df88d23067d21210cb9b1a059ee6893d95dbafde90aa SHA512 f347e3b0a5be1110635ccd995a2c8f142e379c11a26a1901c988a86f57c8c50db285d3445321b38f11945585b6bcfbaafdaff6c0092f6ee189616a141eb65040 DIST gentoo-kernel-5.10.88-1.arm64.xpak 60908835 BLAKE2B 56dcaa2323a559a8c431fddc9889065f6f036b244dd29f203c7095d3e19939f8586c7e26d2f1ec215c8ea1e971c64ec7066c231f967a39b205b55575107ffea2 SHA512 0f96759440f48e895f015ae456a7d62f3a4d531d23557c461a05d176e7866fae189d47f9e300441987cddf7b88b2bf0ebcf8588fdb21d8b980b742fbba73f664 DIST gentoo-kernel-5.10.88-1.ppc64le.xpak 55791954 BLAKE2B ea69c83ece3d9bf6a96efe0b168bdd91a7f55e5887f2e8dc2af2f0db4e01499ece76f474d4877f2971905ba0c7ee47fd0ea6a3cc5bd0b9b802a8b0a240a85a51 SHA512 9552ed2e9c4a88c846b272817660e5844b1cfc5b5c81c7abcffa3bdc401bf8f93c4b4906b0a414a75685062001469de013fa43282e5fa88e82d84edcd348f2f7 @@ -33,6 +35,10 @@ DIST gentoo-kernel-5.4.168-1.amd64.xpak 61384671 BLAKE2B 8097b6fde83c1e607a04ad2 DIST gentoo-kernel-5.4.168-1.arm64.xpak 57633627 BLAKE2B f5e6f9a4105b358b01040d947ffd32f56b7a8ee7cb121be22ca1785bfc3ebca3a75a396093f1b7e1a560931e8c8d9c15dd63f73cd8a78c9b6658360390ee6217 SHA512 707148a9f1395482d5752c1dca293056f989415ab277cd7e33bd540c75df71b42cae97c238a40dd411a168e60cbad340ac48ecb037985b3d465f1dbaaaf3b57b DIST gentoo-kernel-5.4.168-1.ppc64le.xpak 54973828 BLAKE2B 825973a2c3e2ba373ec3085bc7dfc8a84ed2f8e8950a5a9307c9f732d1fe2defe0a9152b51334b87e36ff43ab95af9158b38d1e008fe7a34f2bf5cb1e4f05a9d SHA512 a6eabb0b08d3309d6ea0133048d6fa9d988fdf2e5e0ff2beebbc40df5c6b76256331862b499e079d3f550b0f8bd9539592cd6fb4c16a01efeaeb6aa9e8e3a7e5 DIST gentoo-kernel-5.4.168-1.x86.xpak 53207931 BLAKE2B ed769f20e40eda1b7db078d4975f7357c9fdf0efe11932527a25482351ebcde9cfd97199c20c8569463efebb52ae462e3e7304ed2e733736e1f85865391e6b58 SHA512 3284613281dee31331557c8173138f2087b76db7961df44ab48f328456a39ecb517d1cad174bfccadd741d546e4633f7d37c188ae738e024ffa68380ff021f9b +DIST gentoo-kernel-5.4.169-1.amd64.xpak 61393601 BLAKE2B 332199b6b964cbbadb9cedc393676eb78f47b4a992c75dfb99b3182a03e6671fdc485011a0652e0c0f39abe54e5768c7c00deb4d1a2e4962de80d444c2b0c8e5 SHA512 95f7b9cc3f8f4f15af9ef0aad75e37ad95f6190f44d7d9aa46edcdf4805478be41699211810a0788e6f7d0fc1e31d941a3c0fe151293a928200dab211769162f +DIST gentoo-kernel-5.4.169-1.arm64.xpak 57638451 BLAKE2B 8c2a318df34212b864b19b9880bad0394c1ca67cc354baa88718a013b677c4093aae04df603d214e6cededf724047bfd63f0fcfc292b4dc66da67cb44e58f8bf SHA512 05e6049c26044a985f8eaee4b6342d6c679efdf848c26e42deb84375676f4c42a42005bb3c7ffe5c9c6d489e45acbbc21df3494111e260ba4d1f3efc2994d746 +DIST gentoo-kernel-5.4.169-1.ppc64le.xpak 54983821 BLAKE2B 4f8b82bbb73a2379925627c8d6f316c1d58f7645247ba72d0ef18b0106eae0d517a109fb9e3cf7fd4708566f603b9a3d42c5e0993a9885dc5832df4bf0d6819e SHA512 546f2f96d28b55c6a994166fbcbd94a12c6b02ff0481f54d52d62eab0ff7fde353c9c65919c13b6225b7e114ce7dafc0de025e688361d09e1b896e7cc1717ea6 +DIST gentoo-kernel-5.4.169-1.x86.xpak 53198116 BLAKE2B 89249b6cef130adb45090796f3500ed09b919f71b9e10bf639427d240f5b0d6169d904fb78f2ab788695b41c16ce963404675e5bc58882a0a5e2d3ec68f942da SHA512 a6e06fb1dc1fa18042943a61cb864c85ebdccf80a3a326e6d0e8bb1b0435d76535ca05f24b69ac4e2f4cd76063c76351eace2007be40f1844cedf5c5ae71b9fd DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e DIST linux-5.14.tar.xz 120669872 BLAKE2B 0047f5aaa3940dff97f4055ef544faafbbb5282128e6afe21d2f47d8dc8c395806a17016febfa050117d16f59e74b882cb8b9c5011d68f119c230d0a4d120524 SHA512 8e4f3ec3d36f774280f75dc7b004a43e09417af58f12e9c9f8348976659d4cfda7ad905f306f43fed66a27922e5c45db22e46bbfa7a0b9f365012380de3b6f64 DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.169.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.169.ebuild new file mode 100644 index 000000000000..932f75a40a77 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.169.ebuild @@ -0,0 +1,126 @@ +# Copyright 2020-2021 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##*.} + 4 )) +BINPKG=${P/-bin/}-1 + +DESCRIPTION="Pre-built Linux kernel with genpatches" +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 + + # 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 +} |