From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 60DD2158089 for ; Fri, 6 Oct 2023 18:12:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B20E52BC046; Fri, 6 Oct 2023 18:12:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8CE6B2BC045 for ; Fri, 6 Oct 2023 18:12:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A129E335D2B for ; Fri, 6 Oct 2023 18:12:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E8C249DF for ; Fri, 6 Oct 2023 18:12:26 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1696615940.85683d2b8689cfd974693ef6d2a92ed1e09bd1ed.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/gentoo-kernel-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-kernel/gentoo-kernel-bin/Manifest sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.5.6.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 85683d2b8689cfd974693ef6d2a92ed1e09bd1ed X-VCS-Branch: master Date: Fri, 6 Oct 2023 18:12:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1a6a96d2-ef83-468b-ba80-d7ad47fa1412 X-Archives-Hash: 331195b14346f754930de77c905552cd commit: 85683d2b8689cfd974693ef6d2a92ed1e09bd1ed Author: Michał Górny gentoo org> AuthorDate: Fri Oct 6 17:59:56 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Oct 6 18:12:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85683d2b sys-kernel/gentoo-kernel-bin: Bump to 6.5.6 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-6.5.6.ebuild | 132 +++++++++++++++++++++ 2 files changed, 138 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 372e70adeea8..3b7755f45145 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -10,6 +10,8 @@ DIST genpatches-6.1-62.base.tar.xz 3593184 BLAKE2B b9ede84287025cfb00e4772aecef4 DIST genpatches-6.1-62.extras.tar.xz 3812 BLAKE2B 2f642be1d81a2e94221c9c713b8df8994953dcbac4d612bdad2f8e7d64111e8dfa4d988c105eea7d926e7fe08ec7232499e9bd8b8e2a9fccebf78d62bde91c43 SHA512 e06d58f69e3055ff38af09061daf6d0571590136fd154dd2ef2dfaca93d151391315abb5d45e252db4acadffbc7a87124c4ee50b6fffd278ce63fac819c38d12 DIST genpatches-6.5-7.base.tar.xz 428224 BLAKE2B 9038c1beda5e3778508a29ccb0f906520f93a505f9a45f7050c47814eaf2e474d46e3cb8760dcf5a3bfbc504c5c133f8dcd8b55261a3d0c824cb374a42d98801 SHA512 89942e28ec1c594401a4ecfd6ba240e334356be0f1f35e48dd9abb1f4ffd122a044a76079f214c534a6acada0db4b735a8fa8face05feeeba82e2b51231c0472 DIST genpatches-6.5-7.extras.tar.xz 3696 BLAKE2B 0cba288c1d1c753e5a317e87432dbdc2e711635cd074b1daac3b40af683da939981eaa40b8d4291ad59d4abb92aba5fc97be134524e02b1c2c29653382d7f402 SHA512 ea3bcaffbf58f981388c2021baeea809a35a1b270cff6a0613dce2da8ff8431886612d22073c7a8d6462d20eb1f27d0c0518164c14e4af96b9393bb6a1a038e4 +DIST genpatches-6.5-8.base.tar.xz 521272 BLAKE2B 31bdac516a0a3f82cbe2c95d9fb0162d7a2b9f3865487528e7b92cb2316f559be9754d4c4c697f29500425c13fd0bb743c69b89530b4d471249f1b322315dbcb SHA512 debb1b1e499b94e4139143df5b3f22663fb6a216850e3262f5aeb0ade760f1a026d00e33f874c920369e3da968a192574351f6d93fcba3eb6b76ec45f5382b90 +DIST genpatches-6.5-8.extras.tar.xz 3700 BLAKE2B 65d52955a5a83d6e00409014b140dc1b9ee513673e5bee459ed7a047ae5d455f2ebd2cb6d8a156b81783a5e0c9e95d197a7b4f48678f1e066acdd60f47d2745f SHA512 be36f3481da77cc6cfa8521cb975367a105b4d0ec5febae709452650157130afd9372f2d89c7ed075ecaace642b78aebf9f33e146cf809c8f052367cc587c172 DIST gentoo-kernel-5.10.197-1.amd64.gpkg.tar 63232000 BLAKE2B 07ce6ca9e2d1185b6d7191e0a8be65c20b849d6e9db9d08de4de8c4f56802bd4d320b24810d9087a8cc87ac0fc432e2a4d04d1afd63022ce5c7a0c9b186defa6 SHA512 6671dec4d289a17b6d71ceb3a63194f06c2fd522fcb0844e2fc61ac71f547ba576958d28dfc8f4a33b0c2282e04aeeed1f3c0c1ba18910445244ced65a16593b DIST gentoo-kernel-5.10.197-1.arm64.gpkg.tar 56412160 BLAKE2B cce4aeecf8f2d9be8cf5323482263d17744c19c47ecb4317f13ab150b32ba942942f9d21f0a455571f1ff97e3357012491c03ffd6201d16a9c4b2a999c30424e SHA512 755c03fbbc1f4d81b6fcfb6e963b116ccc3b3125aeed848aa561cc50c4d2ede5437c93cafa64a4831777898a91f94f99c4327af0ea59e52c91cdbce7151d9c96 DIST gentoo-kernel-5.10.197-1.ppc64le.gpkg.tar 52828160 BLAKE2B d562015e81ca4c3cb7f7746dec03fac0a8ce17b356cc833c19f3866f7819faa9ed282de977af99baf2089b00df4bfd62d527ac4b4dbfd6c9752da2500436fbbc SHA512 64409775f0548a1f7890e01e49938ceacff0c7491d89ca96d6064e1324fa4517cbe3484fdc70a16d9c5deca7f5e4efc3565bf1526ca94b4239739b3d38dfc2a0 @@ -34,6 +36,10 @@ DIST gentoo-kernel-6.5.5-1.amd64.gpkg.tar 83599360 BLAKE2B 1c0ef6277d6350f025363 DIST gentoo-kernel-6.5.5-1.arm64.gpkg.tar 73185280 BLAKE2B 5701a49199f604b7fb53caee89b82ee0de7c3ab5b11831aad509b7005efd13f3939e7e07eb4ada497faa2e709f08e1de78f0cf824b95d9c56bede84cdc8ec63d SHA512 a2a53824afd4d5905c8b9549bb82b73b86fec7f264d2b2092da526a37c1516a8d727651eccb470f672a412c34f0a4afd29ad2d56d6db5d7cee68f2341840781a DIST gentoo-kernel-6.5.5-1.ppc64le.gpkg.tar 64471040 BLAKE2B 0a4acdfb4f2d272d1b818e048fae752e54fe748e607941d9877a3415c5f88ba8bddcf18db1e64cc2bb4081f1e5e3802fc8f08bcdc5c5a940a3a19af0cbf2a1ec SHA512 81c2fe480c6fedf99f4e6badb952a5b4b12a95cf2329303ce8b2199898025673c3d7c8fbcaa28d5c3042e9331df59d72a42d4bc89b58a3659ea261da29f95b9b DIST gentoo-kernel-6.5.5-1.x86.gpkg.tar 67358720 BLAKE2B 5e516dceda5e5ec4e490e29d7c35d4ed0d2f865ff51f26b2be2cd46025b161591bb18e84010f55fd568fcd68130431c33238052bca322d81c87e731c3a8da762 SHA512 d8532b9479943a1c8caa2bdca0917530c585bb0e620930bf2f50c933f2cae3f6e77efac9e2fdb844a20af4e950c1868d2678972fa7867f0ee6c74eb2510ad2a5 +DIST gentoo-kernel-6.5.6-1.amd64.gpkg.tar 83630080 BLAKE2B e52e4fbd7302b6deb191e4d98b04f1c66c545e182c0ffb751d448cfb7b3119e2151bbeb4893f1202ad06efbc022de89ad71e2b06bd4c794827775a08d546e00c SHA512 e53be1dc3909b0e45ea681729efd3f12fecf68d3617cd496619511b14e7ebc695ea5943286cd10838ffd67f673f2009bce61583ab5cd7230f6a34b15c747ff4c +DIST gentoo-kernel-6.5.6-1.arm64.gpkg.tar 73205760 BLAKE2B 930304b4e66b4b8dd004f82899fbb27a1720fb43db1253440e3a2dedb989b4f0f1750c89dc8f7c4ed4a446110263e1c928cf69984b5ebbf90584c3c47fbba212 SHA512 821392de2d5579a4299ef1a12b3a308b09ab73aba08c88a6ffebf59450539512013da75d3b4b0174171e2b6b292d9a2d92ed176d21775c43027c30c5b8e090a0 +DIST gentoo-kernel-6.5.6-1.ppc64le.gpkg.tar 64481280 BLAKE2B bdb57d00e592e7d957316e24eda55913c8dc68f004c10ecc4a8d51bd53653835c6f9674955bcc34afbc599763e951e7943954dffd53cfd879a528349d4990605 SHA512 7ba227cdf22cd2a0d6440d6f21261ecdf19fe9255c449ee05fa7cba9bfe0f5d5a3c44ee64a9a4524f09f0e924d97cdc51ef9d9ba4b64ae96d1f95851412633c8 +DIST gentoo-kernel-6.5.6-1.x86.gpkg.tar 67368960 BLAKE2B 5cc89bc2acbdd48a4561ecc95ccd55966dd56609dd60da95fba30183ec234f19276deddf7b49de7d376b0ad7ff4c3d9f11851cfa10126a3bd88a398979c95b43 SHA512 fa793ff6a73997baea0363d1d2812652f10dfc17fb1015377a0e3cb1987646879bdc80cf2f5bedf98f5bd49ace8d53a0ef3580552033d1e8eb58f0ded54a7199 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.5.6.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.5.6.ebuild new file mode 100644 index 000000000000..c378c0fde329 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.5.6.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 +}