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 D908215800A for ; Thu, 17 Aug 2023 02:54:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 86A132BC037; Thu, 17 Aug 2023 02:54:44 +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 66D5A2BC037 for ; Thu, 17 Aug 2023 02:54:44 +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 7775D3408A6 for ; Thu, 17 Aug 2023 02:54:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D5EBBFCD for ; Thu, 17 Aug 2023 02:54:39 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1692240861.e2a8884026905acbe3f4f725809215d50e7a0cb3.sam@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-5.10.191.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e2a8884026905acbe3f4f725809215d50e7a0cb3 X-VCS-Branch: master Date: Thu, 17 Aug 2023 02:54:39 +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: 05990f8e-df7d-4fd9-85fb-04216b6eeddf X-Archives-Hash: 7d5c0f8217eb6f11a8d633381a6e6831 commit: e2a8884026905acbe3f4f725809215d50e7a0cb3 Author: Sam James gentoo org> AuthorDate: Thu Aug 17 02:54:02 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Aug 17 02:54:21 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2a88840 sys-kernel/gentoo-kernel-bin: Bump to 5.10.191 Signed-off-by: Sam James gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.10.191.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index ef39944c0343..a043a357b998 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -6,6 +6,8 @@ DIST genpatches-5.10-199.base.tar.xz 5715396 BLAKE2B 1dcd8389ac735e808f8b06e221b DIST genpatches-5.10-199.extras.tar.xz 3868 BLAKE2B 0c8bcd30c0602978641996c3e9a89b8c0812490d2bb0a2f26ffabc1c6a2775e922ecfcd1e083963fae7ba8548595accbdc65412f0c3950790dbc8a2b51e5ed52 SHA512 f30454e4d8eb74052ad9bccc8a740c336070d52fa66caf451192ecde46e91512adbe30eacfa6aa502dc461de557c6f011beab4ba28f8ee2c3866c2200c2a47fd DIST genpatches-5.10-200.base.tar.xz 5792276 BLAKE2B 4b7a7cb8f5afeaa04863f955d56c9575f1903ebbedafb21dc38e41da3d3f31d28f2d83d21e530b26ae7f537dd7ac76cd1d940e5e93a75874b1c356ccc8fc3a98 SHA512 426bf39754e40f1b7b8c31d2b516ca12c1184a858e7bc6ed1c26a8348002266c992022fd648075f7c1efc4b526a64d2c1f73dbe9d6ba9ed8fc095f5b7497aa12 DIST genpatches-5.10-200.extras.tar.xz 3872 BLAKE2B ff768dfc12d019bb9f006ed29fc05ddbf847e05d0fd7f82f8b2a397da7c72348849aca40457c13461a9a4ecd1f9599d5dff59933851ca75df686141ed0055152 SHA512 91ec8fe51b1bfc4d88be9b1dd56f6a7c156aa189483f6c93222f478e91d9fadc6edd5c2cfc48843f589823956c421d30ad9c0e0d0b0702b1cdedae5a01acaf27 +DIST genpatches-5.10-201.base.tar.xz 5812032 BLAKE2B 17e4a8b463e258f0548e3ccea5cd703fe80fa971678faa919c9c77c7ab60e57476b057676ef6d3d28fd42436a3f9a10b2ef9d39dfd136609b31306c606c2ceba SHA512 af53bd63386cfacc0eac40c69be3c4b85ff40afc901b759eec2da0a28685b7d9677558eb0625e3763c9d7e5bbb0452feac80acd3ac39f36326addf7464c00b7f +DIST genpatches-5.10-201.extras.tar.xz 3868 BLAKE2B e2420ee9cfb3e2a928ca1cc5a87bb832f436c3fedb0f4f001975a48a058c69cedcd58f97e5c76758ab737681ced55fc214a537fdab9400b839673bdba6c697c4 SHA512 c719a63005ea809d9bdc5d4b01f1400db0419a28bd629843f2d339a6f08684b4876fdc0eaa09133b7853ed80201517439e04580618ceabb40484e952efe796a3 DIST genpatches-5.15-128.base.tar.xz 5056336 BLAKE2B 7b25accd5e2c987050480abac7b79cd280820ee8b3607c84a58b6bc1c30c97c209b1a392c9c92abb7494307ccd138358674e7a984cf4766c2889ec9cee069546 SHA512 be70279f9cf6bdccf0bb3436b13cabca61e6360eae2d33e576f408ef2d32ed3bbb449083b0a84c31f98328ddda68b587f689487fe8346df41e83ecdaf702063e DIST genpatches-5.15-128.extras.tar.xz 3932 BLAKE2B 64d34eee4a4ee36c8d2431d8341723eb0ec32be703fbb3927e7984e9ea365b7907f38b2f013e725221bfb7d867eb63da4e784506615e1cacf9018c58981a2ce3 SHA512 b735304d7990925485ca45f1cd0f6434a96af45269bb3e10b9b67a41f84440654f62831a5160125f8d0c1ff4587ab00294caa1fa5223e8daf86dc0393bc8a695 DIST genpatches-5.15-129.base.tar.xz 5079636 BLAKE2B 9dc533ca9995f272c9f69c277e02f028cf04a1161b6ff18082dc132861549bf9a297a99768bd779ccf0c5ccd26e2bae321e8e233986c23123b3fa549f47a4c35 SHA512 43fd5a4739883915187fa04a5c04e106233ce8e76492240585b6b7dca8f74687c8326117383f84f8d4b8fc1de602b2a9aedfa596ce5a1275777fd15ae0f7a142 @@ -66,6 +68,10 @@ DIST gentoo-kernel-5.10.190-1.amd64.gpkg.tar 66344960 BLAKE2B 7dd961425f9964e856 DIST gentoo-kernel-5.10.190-1.arm64.gpkg.tar 59371520 BLAKE2B 73d45fa6303bfca921868ab5e14b6063f0bbddb58907d639b40ad905354916217b076875e69f36201fe9191ca5c76af4495202bb1148a4fe5c97a7c55b06c8d4 SHA512 063e369bec1b5ba6cf7a81395873f9a27df4cf48ab4b6f36090e7747284f8e9578df5ed7f90eb7b5b4749e411013f81c36a494a1bb14df12275473081589b296 DIST gentoo-kernel-5.10.190-1.ppc64le.gpkg.tar 54937600 BLAKE2B 6cc7b10f60030bc946f595c418530ea7b19c532370b80ce365e31d5d6379d9a8076c5e0f373fab818282a047d408ed00a3752147f9d3000bb6721be8164ef616 SHA512 add2640f156632f57e5769854a550eebac54b120b289d8cef732208ff5d4cf62e7db0688718bec1bb87beb893a86d52b82bc211ed5dfb3a310807796fb3f2470 DIST gentoo-kernel-5.10.190-1.x86.gpkg.tar 56483840 BLAKE2B 4a4a3e22d916b3df7c2d3e093450bd04fc814873615564ad4ee7e8e789b4d4370df188fc5b66906a3cc782eb0b65de8ce8ac677554376b084112d15c3c842b97 SHA512 24ff5a007b032f9f6af49baabe032fb97dd312e21f258337aef5327adb077f460c374f90ef321d04f6ab55197544c03970718776ce9738aa97b56bb21d4a3ace +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 +DIST gentoo-kernel-5.10.191-1.x86.gpkg.tar 56473600 BLAKE2B fa6bba5287b63c5627ded59657b72225bcb70999acc88dde057afdb84c40303e4f8843c666487fe14742d81d82192590d0d4d74796764d3dec741dda7e656646 SHA512 4ecf53b65e3e4de80261c9a7e9e7a8f0234b4cbbbd0f15377684ef74489d23218bac569b72259c5000c804591e0e5b796c86b7747c5ff1e781517ceb3a505460 DIST gentoo-kernel-5.15.122-1.amd64.gpkg.tar 69550080 BLAKE2B 19e838d91b771456a22a1c003c79af1abbd4f7eb1e8629bb0b226a3e54481bf5514038454ee082945035e543c249657305e92121ffc8fae97003f530725503ef SHA512 00b371cf9039215a02f5cf06790ff76443f8cb504e794b91e61746e75ed99f43fdf94602439744771cd40aeb547416dceb3122a4ecf83b5ae18f3b7628b07b05 DIST gentoo-kernel-5.15.122-1.arm64.gpkg.tar 62504960 BLAKE2B 7fa1d232e86175bc06fc26bf4bde90c3170e724566779697a8153f14d8c0a38f6a2b31900f02ea5de95cf122b5f955914aadfbd8061ad3d0a0d6d8c0ef23e988 SHA512 09591edcdca3c29e5f78a51a65a7e5169d55094de627be73973c6302b62454f18d28996a72a667814b2cbd8dbfeaac3ea642d6092d6d296c63b077ee979c0fc5 DIST gentoo-kernel-5.15.122-1.ppc64le.gpkg.tar 57118720 BLAKE2B ad11ad53e8e42220d1efc9948f72e72e41353e73357670f33ca30c8157b6d8e859b05d77ad31a033032134ea74a63bc3de53723ba118c566d4268a9c7d18c203 SHA512 377124529e69e09de0a4f0760d0500bb3550f5bf6752b6264a37dd320f6b99e3aad6636074d8189c4e2f437281d3e2ed7cca76ffdbdb77cd92b19852448d36a8 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.191.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.191.ebuild new file mode 100644 index 000000000000..fb165f3f0e91 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.191.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-install toolchain-funcs unpacker + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 10 )) +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}.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=":" + 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 +}