diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-02-23 17:59:31 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-02-23 18:04:01 +0100 |
commit | 79aeeef6de8244bd36724404eae92466cbef7c5d (patch) | |
tree | d23457cfca4424e8c8bf8d92157bd51e6c805c2c /sys-kernel | |
parent | dev-python/fsspec: Add missing test deps (diff) | |
download | gentoo-79aeeef6de8244bd36724404eae92466cbef7c5d.tar.gz gentoo-79aeeef6de8244bd36724404eae92466cbef7c5d.tar.bz2 gentoo-79aeeef6de8244bd36724404eae92466cbef7c5d.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.16.11
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.16.11.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 1a4a04a1086f..ebc446104057 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -10,6 +10,8 @@ DIST genpatches-5.16-10.base.tar.xz 464508 BLAKE2B d590a7041f6309674e8000c735a23 DIST genpatches-5.16-10.extras.tar.xz 3800 BLAKE2B 79c288854d58ee20f8377be8bb15ecdca30b27fbfbbe314c2db7260576036258202f620d2ea2c2a6725fca1fe68fa1a158b207d36ae13630b3116397c3868cc4 SHA512 34069ffcf17636489af7d6df3e322926f566f43396297867c2b1a512fa884062bf86d50675c313ff29ed68f6fdb9039748fcd14c9395e29e9beeb166f45eb25d DIST genpatches-5.16-11.base.tar.xz 516420 BLAKE2B 3e3d1a7ed60355a6d0911742fe1fe27961bd6efe16c25bf700ffc9aadbd8d02860d8b35a9fa3de61bd6d59024364e698cf4d78a7abe2eefdadd79b5aa086778e SHA512 d513a67f55edd3ea469b36ecf93eda8f623fb2f899c8cb373ee5092838283fadda029db6d97687dc27b734634e666106c054d0f35498af086aadab4aa59a2e7d DIST genpatches-5.16-11.extras.tar.xz 3796 BLAKE2B d4df94755fa8b69b345c6df4b9362d1b007c3ad420a6cfcbb9cea79da1e918db6944771cefae0985c63af5ada87f13de124aa96adbb80900a4fb5faab830685a SHA512 058a18c26fc651dacf9da50ad0eaf882f6760df29c37e8ddf2188151c4ec4131c094a04339c08bf54822e37c1b94e1d2c87b4cca7ed4b84d75bc19f80ebea784 +DIST genpatches-5.16-12.base.tar.xz 589172 BLAKE2B 97e255628a387adc723a6f9bd5430860b1b9beeee2e7cf7a3106ef7219bf7d9ecce1b640181c277b725ee967846e7531bd9e0be1310ab63a43eb321b9dacd402 SHA512 7d298161666cae130bfd21fa1279245048cf59d78b9f237c063e0f3d4de47584736ea02267e96a948169c7c91b8b4d2b699136765b8a3118fdbd77cfb20192ad +DIST genpatches-5.16-12.extras.tar.xz 3800 BLAKE2B d9c10bc2a613a2bb665c5c9f5cdb3be1383762f366066f65921fa2e52a8de492493a13ddec71d18925a90450c17f1ec185e7e19adf3400420723894dcd8e576d SHA512 2be8582426c64d37916ce072cfa6f30310628dff165c7d292be94be4a7124ce39c2a6ea6370ca0190aea0f0841693ba57cb9109c9340e50a4cbfca835a498670 DIST genpatches-5.4-183.base.tar.xz 4413940 BLAKE2B 2f71eaa7ceeb4e1940c329a47ff05e80970a45db81b69ed5d68767a26351b7cab4f090934bff6bf1cd7efbe6688e2eecc50c9db95e6070844d44bdfe8c59102d SHA512 3a077767398efaf020af82ca249b11d2df9ad0a254f5c76d9c88ff4a588ec9ee2cbf2fa1dfd0afc5b2e78f9db8b0cc2f8bc37681b056313cdbf27564744fe358 DIST genpatches-5.4-183.extras.tar.xz 1812 BLAKE2B 6755576f737a247e0a09a3eb19886c09fbf2495a50c1af2f70df08b00a62247f83b904ae8d2d98dbbae528830853d87639304eb17b5a336c324d982a41cee0c1 SHA512 603e76667384e94dc0e8795ce6cb9b2966b81d6f3dc8fbba71ab84c20857bc31e5cf15ced293ae03eabd5ce3b0147cc39b59382733f284241d018fb0d5b8319a DIST genpatches-5.4-184.base.tar.xz 4427792 BLAKE2B b8f4a7219641518d8435dd8c4b99c33157a3a937edd307da40d5c4fd80873e3fb66003f370310a221df28fc25f3203176a1ce55b4c5da0899034c4f3617c98f3 SHA512 7b611a3ae72349dc2d708d06cf0de7522978bcc8f09d98271efbb9c3b8afa1c1e33ed18036655c9ffc0c38d6bd7fb665a7116f01c98f9fb04cd994372e30d3c5 @@ -34,6 +36,10 @@ DIST gentoo-kernel-5.16.10-1.amd64.xpak 69568600 BLAKE2B cd01658393cce36ec09b2b5 DIST gentoo-kernel-5.16.10-1.arm64.xpak 65046002 BLAKE2B 3b12c8e5c621124b0ab72bbdb58e1c054ede41859fbdda8c510ef12d3d52c2db17bf64e95b509a29ffe8cea45c8ede86073d9189e0195d1e4745d3810bea7f1a SHA512 6c89091febfe2ede589caa68a9526daf8cde16870dbfa508c3395afee36f6470c329c491767a6a4b2be6c83454dc26431ba0776fe3090aebf4170fb092a43e5d DIST gentoo-kernel-5.16.10-1.ppc64le.xpak 58450194 BLAKE2B 0e95432237a2a1e98178b7a41a23abb43797cf12709061f8bb50e98c0315563e8dbe9c6ead57dea72ef0f153a906712b3ed5b02e15167327975341febeda0778 SHA512 450da33416b07fae2d6759dc0d6f59ac21e61ab2f2d7a2cc0df41459de11c040996ae52311882831ffb68839068e4323cd6ea5fdbcc08d7e4d09088b0d46708d DIST gentoo-kernel-5.16.10-1.x86.xpak 60436864 BLAKE2B 43c1e0bdeda04f2a67d4db07661fec4eda8c16fc9c0472e9dfba57a28d6e0cb8e8f42327fac3199a8ee54303ee26ec56f91c1815cab8c074de44ae7f2e94c60f SHA512 dde5035696dcde09ad4662bf54c2e803a814556534db267281f1dd41b4366cb11e3553e1943149957b5966b5547b2c169105e4a58b03bb0303d5e1da7848ef71 +DIST gentoo-kernel-5.16.11-1.amd64.xpak 69656106 BLAKE2B 6a5bb52911519b55637cc6774fb56d870e0f7717e97cefe118852c829ad09d435cdd2f62be83233c2cd2829e8c959f61e42832f9fa237281316c303c94183753 SHA512 091df4f2114234d76c26d27bc484cc806463366b30b22b25d7389339ea9f37200dc475e9a14870f2aaa9480e34dab1f286c2b5ccbd8b0b92a71aeda95a7c1253 +DIST gentoo-kernel-5.16.11-1.arm64.xpak 65052669 BLAKE2B 7f7381a36f83a58715e25e5f1d7da03389dd00f3107917edb0a00c93a04b5e97dcf00b429cc4843cb20c40dd31e913248c0ff7b6b6ecbc84297d5aafb371a2fe SHA512 517db53a831cc91e7bd354a07adc8b8b851769b723867087b1b03a5f55701835b2634f6e32354157bcf8f84ceffa21e0898411766f89019f68de379d4f1301f9 +DIST gentoo-kernel-5.16.11-1.ppc64le.xpak 58347500 BLAKE2B e6f51bce51607bf68957f7e4437111f9bc6eedb34957071c97c8967e772b962d860a82dc422b743bffb7064db4d4890ee95e18526ea73b9e32cb133ce4984ec9 SHA512 c7a29265a45ce3f44f0fb2062923a82b86b9d1eb2a66fe4325e70671fcdc9f0f545beab0b63e0cd784baddd438fc06e7d2584e1817a03a190597fb467f8098ea +DIST gentoo-kernel-5.16.11-1.x86.xpak 60481730 BLAKE2B 219acf68599b6623159568c74160c64d5712e4c0510202505d3c296e288b8a9d3bf5901768c822ad4c5da9f0e159c78d5c781c6a09061b35216fd11f711fd436 SHA512 d8bc53140672f40c246211a45f98436fdba9a8f45dc8b759babd348df72410ecd2b8395ca45b9cee10b4a59fd1068eff599abd7a75eff021ed4ad4d62a5d314e DIST gentoo-kernel-5.16.9-1.amd64.xpak 69587638 BLAKE2B c3c64f69bcf14024c1debfad7ddbec3e861cd7d32bed05f6a0bc63644e4806ffb26cec5cc43564d6130f2d7c9a0467c42d4a06608d9674a6dadaaa33ccc3209d SHA512 ccc47c9c2536f8e6cdb0f5514440a0ce802abeeb5078d5d52a18600589f93c4edadb6b1289ece254583c4c466fa6ebfbd10285109557d6f5857d795a825a00f7 DIST gentoo-kernel-5.16.9-1.arm64.xpak 65024601 BLAKE2B 8cf58f17664b16c0726be9e611ba1f0cd64375e8f4e54f3fe42116b859eba14d737336a614a81c1a38df9b8643db0beda911aa9790cbc1edf6f39ca265a82e6d SHA512 705791b799817d57f4fa2f9bf260cb6d5ee7f1fefd2da70aabaeb21c32d50441a8ebcf4b96ba782483a10dcf9b972b0ba353f56fe039d5e94da4dfd83f63c260 DIST gentoo-kernel-5.16.9-1.ppc64le.xpak 58369723 BLAKE2B b72b45cc1b2c7d256250a4374cae4dda86ea224b769636c98788635667ace0e087e178d7ddefacd84d8a77dfaae94355fd8b86872aafb72e101af88fc83dbaba SHA512 829711437626b8d2f2b5b692eb63016137c2bfc887d086c6c8d0e4679dbd1056254944baae12bded0562317796702796a328ff301f5ff2e2692a90e41144752e diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.16.11.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.16.11.ebuild new file mode 100644 index 000000000000..15a17aff0944 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.16.11.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##*.} + 1 )) +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 + + # 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 +} |