diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-09-13 21:18:20 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-09-13 21:20:10 +0200 |
commit | eeec33d0b23ca49a445d83d59d24306832f8257b (patch) | |
tree | 9d14face9d07d39a316ad6aa33708e5bdab02b59 /sys-kernel | |
parent | virtual/dist-kernel: Bump to 6.1.53 (diff) | |
download | gentoo-eeec33d0b23ca49a445d83d59d24306832f8257b.tar.gz gentoo-eeec33d0b23ca49a445d83d59d24306832f8257b.tar.bz2 gentoo-eeec33d0b23ca49a445d83d59d24306832f8257b.zip |
sys-kernel/gentoo-kernel-bin: Bump to 6.4.16
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-6.4.16.ebuild | 132 |
2 files changed, 138 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index b39c0e2cda45..90434a8bfb42 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -44,6 +44,8 @@ DIST genpatches-6.4-16.base.tar.xz 811436 BLAKE2B 1a1f92b35cafd3ee73cc9a04a94d72 DIST genpatches-6.4-16.extras.tar.xz 3700 BLAKE2B a50cf572b21a1e91c2e84f05238f5d0301fd2b6596f98fb48fb962c4c4f2d17f91a95af4c3814d818ef53e1743523aa6ec45ac0b26c41bcb7e122a31f616d59e SHA512 534d7320c07134e41f6bd31547ab55f6e0d305b5bd7cb8c862f0d9454142e3aa273c64f50405a1230da32b9341dfdba0a1ab71121bb4a78819ddd5a9e6f320b2 DIST genpatches-6.4-17.base.tar.xz 818408 BLAKE2B 71e3e8271b5ba2788bb52f42e8cf7846375856d0a946188c01e1e20f4bd2001817837910d9272c5e70cffd539d7f9e30dc89d7378501f18ebff678d699824e3b SHA512 bd11bee4f21132321da063dfd66f506e67e5528fa6aafddfb483067a0ca02e92ef71a83c02bbe601e434d5c77649f17c7e9d9e34ba1c9f06084eda79906b73a3 DIST genpatches-6.4-17.extras.tar.xz 3696 BLAKE2B 6a9be135efa7a8fdc0ebafd41ed2f8794530e6052d3a955d6142c03d7f134d2157efbdaef071c0b0f362406e42a404f385bb4c73717b24e427a4a6e886ea1504 SHA512 191a861faefd72ce25d4a6bf873488e5b8625b70f46bd1bf1f36125483ecffcd00cb5c3a7a07e2cd5d97d5f140d8ddb9897e80fa010492e64435340eab9c76bd +DIST genpatches-6.4-18.base.tar.xz 1040816 BLAKE2B 61ce7d234cba40c266e92dbab80b26e9958d9501fe884ed1fe45c25a89f2385259d5776049d7ce172c05d6829a92f591652544d7a3ce3ce7c81d09ce871800f5 SHA512 559a4e9690a72dc76a0ab38f463149dc9221bad128b59fdafc1250b964af2ccf573ee0d4e593e98811f83325a0d10772a6a6b32bbaef50aee3c5a0d1938677d7 +DIST genpatches-6.4-18.extras.tar.xz 3700 BLAKE2B b360eff83abdbed397db6405b6b68649a3d6f85a37716eb2f923d47dc3ae5d738ca49c29a58dd2f236c7f50dc233641e3df15b7b75a19364b0af6261afc36d4e SHA512 778791e5e9232bc432119d14a016c00e1a968af30f0a2dd931ebb4103f7f457db991eb1d9ca500d1a3c9295dbf87d9b4fab18ffaebbd46cc8c82077b27c344e6 DIST gentoo-kernel-5.10.191-1.amd64.gpkg.tar 66365440 BLAKE2B f7086ca26f08468b754b0cf9ce715ed763d2866ebc8ea322fb51fa2ab5146f1c7741f68b82d52a7d54442cc36cd5a114132f9ccb0809e8d0ab0da022742a48d2 SHA512 0f4918273c70f06756c19cd2c7738176695aba65eeaa7846aa6773d97e6d3ac4302be0328926f1a217135d21e2660e6e4124ced7f2304c0f1a408ad2561b24a5 DIST gentoo-kernel-5.10.191-1.arm64.gpkg.tar 59392000 BLAKE2B feee11f6bc6148ca0a65077a33cb1736fe2d588037bfada383bff1ca9ca7ea71d6f3248a91cc9b152d87a3fb9580177a68b3748c53e2bb6e0309c7a4b9e39df3 SHA512 bfe38e92e445719daddc4fd87b717c652a0fbc5b3cf3fdaab40c1014229a2bf5b504642c21e5bb478d56742c56100271a7433f113c7c231382d2f226a609f837 DIST gentoo-kernel-5.10.191-1.ppc64le.gpkg.tar 54947840 BLAKE2B eab70963c60d1d668ba562652b73bf47760d326ea2cd3fad8cbf91e75a9329283b9af38ee7391c4bc887c32464a6c8376844135231d155eb11916c926f8c263a SHA512 58a8701b46878dd470a4210f96f65bc85aabb4c8b29aed5d1d61eff2efb1f851c38b648c50afa7cc164406ccdf8ae3bc673f73857903a17c19229f77c8e885f7 @@ -136,6 +138,10 @@ DIST gentoo-kernel-6.4.15-1.amd64.gpkg.tar 81786880 BLAKE2B 9c2eb4cdf6d9c106b9da DIST gentoo-kernel-6.4.15-1.arm64.gpkg.tar 71239680 BLAKE2B 85401a6aa936656e709206b4fe82f228d9164590df299fe98cc0d547f01a8b5e3404bbf46f8666a1d11c54886a4fd219b1ad3076ed8479e5f2e90557cda5cc23 SHA512 1c9876f04cce47e1671e173da450e7169088ab9797ed30fef7224ca887147abca6a8a6b43c0af2837f177bd0b34af05d5209e19e553cc46508ce7a2ea8a59bc0 DIST gentoo-kernel-6.4.15-1.ppc64le.gpkg.tar 63447040 BLAKE2B 0e89977da0a9648bbafc0a4f827ea8b2b79b3dbba658c69f0c4cfae58085ae2e56f18968f3837efda645f0953c7ca6c35d7d771f5e3e2ba9891eb6bff41fc18a SHA512 f816c05b0a93bd8913848809badb8f5250ab60387be2f93521aee0dcd10f35ea2fb80cf1185a6ec12daa81a92cffa5044de934a66dc0d092966b02c3bf0b806e DIST gentoo-kernel-6.4.15-1.x86.gpkg.tar 65863680 BLAKE2B 8135ca6504d771308217346a2d4c03916f99bdbf3fc91480be9a214108519b67399e4f871a5df5a7855f25ae599209c5201a93e319fa310c463c440eea10a8e1 SHA512 f06831a4cd822e0cbd93e0a249d71673e3a98b9ba19791fec0c4a5226ed47d05b7a0827d88933be799b41c348330566430ec58462217389c02675a1f69fd3e3f +DIST gentoo-kernel-6.4.16-1.amd64.gpkg.tar 81786880 BLAKE2B adbe09acd265ad50d6cc362be262b94b10fcfc517dd5e463007eef455477c1de7b9340ca472a60c28bd7fbcc02f8538c25b036d736e656500bf749a67ba914cb SHA512 cd3c7a1641b500620f3a8770a2994d53161582ac3c5eca72cb64e4e15cbbd40db1d8bf839a5427662574eb8d4124f2c6b2b74dc087e70b6992d2c522939b87a5 +DIST gentoo-kernel-6.4.16-1.arm64.gpkg.tar 71290880 BLAKE2B b42a0cf9dc72716eaf9d14137c06d8229e06a4431b50ae269bada18d977c9fad3eef9b7b5181cb8f7b35b88987ab2db17bd85b1742220ebc8d022f50eef066f6 SHA512 789f3bb759b470f4e29735706a73c64df0646c882c6bad3b051dd395faa89ce2c1cafceec34ff28d9c5c4adf6cca4f5eec6b875bf0e398c925431f9086f3e756 +DIST gentoo-kernel-6.4.16-1.ppc64le.gpkg.tar 63488000 BLAKE2B e0604a0b4bf8d7aa7a257798148fac11e0c4a072e0a775c57ddfa74681a265a775081b91e64732e45656fa303e817c2afa8f5c281ad2c5ffdc4373674d5917d3 SHA512 4aa5e73de475bd77f5a0e155033945b5770e761433e3cd983fe5efface2b971545439e99d0c048ed3bc21aa825d3eefa4ecf6615bd0099374c50cc0fd9e90243 +DIST gentoo-kernel-6.4.16-1.x86.gpkg.tar 65873920 BLAKE2B e485d659457177a9dbe88d0b246c7cd250154013e0297d3e5687262fbdad18c1f8412444189724893cb1e361c6c94add33101bd2b98a11acfc34ed64cdc3e3b1 SHA512 acf43cee6d8aeefc89432ddd8a24bd27d6afc8a2f82a3384c7b321bdbebad87ef87a0aee8877855ca5a31c1b434d504d26f98f5accfb123bb52b7d8d2b57352d DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.4.16.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.4.16.ebuild new file mode 100644 index 000000000000..c378c0fde329 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.4.16.ebuild @@ -0,0 +1,132 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KERNEL_EFI_ZBOOT=1 +KERNEL_IUSE_SECUREBOOT=1 +inherit kernel-install toolchain-funcs unpacker + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 2 )) +BINPKG=${PF/-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=" + sys-devel/bc + sys-devel/flex + 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 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="$(tc-getSTRIP)" + 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 "${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() { + 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 + + # Modules were already stripped before signing + dostrip -x /lib/modules +} |