From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1509709-garchives=archives.gentoo.org@lists.gentoo.org> 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 7340415ACFB for <garchives@archives.gentoo.org>; Thu, 20 Apr 2023 19:12:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 507CEE0955; Thu, 20 Apr 2023 19:12:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 2DBA9E0955 for <gentoo-commits@lists.gentoo.org>; Thu, 20 Apr 2023 19:12:33 +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 729F8340F88 for <gentoo-commits@lists.gentoo.org>; Thu, 20 Apr 2023 19:12:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 812E9A58 for <gentoo-commits@lists.gentoo.org>; Thu, 20 Apr 2023 19:12:28 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> 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" <mgorny@gentoo.org> Message-ID: <1682017940.dfffb313193197350ff7cff3b4afad6520140fca.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.2.12.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: dfffb313193197350ff7cff3b4afad6520140fca X-VCS-Branch: master Date: Thu, 20 Apr 2023 19:12:28 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a43841f9-67d5-4ee0-9226-6849028bbb3a X-Archives-Hash: f83a84ba2d1a19dd40bb52c7b9c90b58 commit: dfffb313193197350ff7cff3b4afad6520140fca Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Apr 20 17:46:47 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Apr 20 19:12:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfffb313 sys-kernel/gentoo-kernel-bin: Bump to 6.2.12 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-6.2.12.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index de58736db276..99187156461c 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -24,6 +24,8 @@ DIST genpatches-6.2-12.base.tar.xz 611100 BLAKE2B 9e3e50edbd85e9909351304b292de8 DIST genpatches-6.2-12.extras.tar.xz 3808 BLAKE2B 65df0f1a93ba2eda0ac31002f723d5b730c6af33dc60dd8a6f942a6a0276feafdd12463017164c5b782c031748829d812079290533268f8df497a8b10e1ae4a1 SHA512 f91ff719f6cde159026bdc4a76432bd195933d34dd3e7cb3ef0a2dcf18ad6786e2a4f8bab423b1b1d19ace3513c02e048a491f4ca76f37bd211d5579361bef6b DIST genpatches-6.2-13.base.tar.xz 700552 BLAKE2B 53187881831a5ee8ac1581d78d89b56d5e6cbd45a1267f294312fbd648818530f029280b6face5c1c7f7c6d2c13c5e3fc6d1747f4abea8b2065f960a42a45d2e SHA512 2ca287f97bb3c01291eb5faa1de40827d014547e2cbb5063e77597e027f58672a262bcc51f1f2111cb5621f75b59c61a3cfa40f30fe8bc923136f8de3dd3e1ca DIST genpatches-6.2-13.extras.tar.xz 3812 BLAKE2B 2e0620c2c03f6775a4ee7d29aeace0ed2474edf371bdea0aff7ec8b11db0804641ba4d2cb1993fdd7936ad6075c1b7de0bca6c055327b25f17a74d4f3a9d5d4c SHA512 5a146e403f04c1b8fec69ff2824f4d0b446fea895126839aacc511b47b4eadcfcf61ced441e3886ad4fc018379b029305d72a99d34d98ef1fdf486e28e888ce2 +DIST genpatches-6.2-14.base.tar.xz 737376 BLAKE2B a31157486ed656f479c36a1d728627ba1361656e8a2d8a2dcaee0ee59e6edd6c046ad7799d2458e42990d53ea9893e49f26447a380b0c5bb02f8033e8ed3fc1b SHA512 126b365b3d5dd435e3ce8eac2b030bdeb227c3047d9b7182a289adc3746fd35f6454f08fa9ac323b83544d2ed614d9d1c1da569c74d8c61c50b14ab358ce4115 +DIST genpatches-6.2-14.extras.tar.xz 3812 BLAKE2B 8ed801102acaade5ee6191264cab8a982a707e6b8419094e044b411a7c042689457c1351299b9ca0676c7223bad8e87b241938059fb1f3fb664be3d8ec31ef70 SHA512 f8ee31a4456482e23609797d87822da87940f97925fab08ff8828746fc93ba5023f4b1d4f21dfd76931ac37ac2465accc4e999b631bce6e16c83bad7689432b7 DIST gentoo-kernel-5.10.176-1.amd64.gpkg.tar 66344960 BLAKE2B 4500c918f8874a35eff0d44ff2f59dfffe5db1216835244a14ef4fec47ecce391d60effbea17bf1602a5ad8f873aafd7cdfcab17d21c90a8b37a41c391bb2dc6 SHA512 bb26c1fa92f74ebf92952bc4650d03fba176e21256103f0576545ee86cacde9c0b3f7f8b9c25aa2839825e89ce8f525f69db7256e61f047bd70f7da8d4b167f0 DIST gentoo-kernel-5.10.176-1.arm64.gpkg.tar 59351040 BLAKE2B 62c735fd9312975b56f4ce56776932e49e32187ade954aaae4a75b3ea8e2a64f263e52662f2675668e16569caa0258338b07ada46ce5de0ee6008f4af1c0f9de SHA512 7fdc7709cede4c8419089a864ff549cb0c80dd720a33185a647787292804bd783078944d51908bca3f667e49eef5812d863af48c898543a93d1c8f566130207a DIST gentoo-kernel-5.10.176-1.ppc64le.gpkg.tar 54917120 BLAKE2B 773e7cc8f90ebb823cec04ee8c3a19af93956318b41005374c434b0f32595ae441e9678db579eb3d7c0344c688ae99d7712ed28cebfdb977a7c2662ce2ee929a SHA512 1cabb0e8ad0af4fdfbbf5e59f7a282dfd60ac5072b1de63d3d3db6a4fd75870e766815fa20ac9d9e9a6986e0f8235a62e5c45c3fef52cc23317566796a3c2417 @@ -76,6 +78,10 @@ DIST gentoo-kernel-6.2.11-1.amd64.gpkg.tar 82677760 BLAKE2B adf559953129d1344577 DIST gentoo-kernel-6.2.11-1.arm64.gpkg.tar 71802880 BLAKE2B 85ce00be9552b13f3a6cf4a99ea47dd82a5ba786839eb15581928a451ce9436d3b29af9f16e6f76834c9c3082f7f4c1c8470e834d9e2e898c7b9885ebe8283aa SHA512 b5333cf73723d68ceac0cfbbc5cc222f05fa26103e5eebd46229e2ea61ad4d743f08ecacf9e32937bcb7e22cec83463f12e39dbf995ebe0239aa5836811ebe80 DIST gentoo-kernel-6.2.11-1.ppc64le.gpkg.tar 63897600 BLAKE2B e322acf9d9ca08f2547040f745c6643b4834d65b24852ccb255de7448f8625c319bee8adf970edda9b279cd9c940a37f39dfebb78ca12aa82d2d4e1611a2fd1f SHA512 a0cde289b361081d0a1fa8872b5b69fb6fba65172f135b540c372725f1b2ed715ba3ec04c703ab367fff6980d02589647e583795932fafb6676f85451bcdcb50 DIST gentoo-kernel-6.2.11-1.x86.gpkg.tar 66508800 BLAKE2B 8c64d782b35f7d1a56ce05e9da551a28772c69801567a9365a35a62f951f47244d0b6a4a32b805f7438e9e818e10341ad8f72c9d2cba4a1c9cc79087d339f903 SHA512 c1d94ada5bb31f356165163c5ec99b6c12bc32b038370b0ae3aefdcdaf33f4e68f2f18d19dbbae1593d605f0b9b5cb9ff19396821114fa8bb538b78646a67bc7 +DIST gentoo-kernel-6.2.12-1.amd64.gpkg.tar 82657280 BLAKE2B 32dab2da2e4ce59b6b84debbd58c8da438b1a6d643e4427e457dd60db135f85c36c017f929ecd54a8bd88d6544f69fe8044383d3ccca153cfb834dc8f6c4cfa2 SHA512 3dfddff08f621b37ecbd6c2f642808ed740defbc5c1f37829460132352e6f59f5c9515661f7b0b3222fa4fe9f451d3377b96b101753938a1b426f5389cd65abd +DIST gentoo-kernel-6.2.12-1.arm64.gpkg.tar 71792640 BLAKE2B 3e406b0f90968e957436330c9ccf5a5b958814a1bb0051934b3696e6f5476cb009bfb1cf5c66eacd984217bf4e07aec1ade85785d5d093d4af61cb224974be01 SHA512 8b7d7e1accd27931e9095ccd53ba30257d5d8d8fdc53d9d25ef047dfb41f1702aed7012737c741d00e0b1a81b6d38e51fb201077a328f221695bbae19f8c9c16 +DIST gentoo-kernel-6.2.12-1.ppc64le.gpkg.tar 63907840 BLAKE2B 7683ca918ee020377f41be486083f0ac0f05908a4e49f1d7a8dd80b743f2f98b9e49f13d28b67bbc2c027befa8746a0e53dfd2f9d9492bfb33374322b7c0e14f SHA512 8465e8e9c1826165056d9a105cfda9026200e31310f450e85e5f6123c32b805aceaf2687eb408a7c355ef452efedf1b305ce124cb3b465d592614043dbf83594 +DIST gentoo-kernel-6.2.12-1.x86.gpkg.tar 66508800 BLAKE2B b15a393a4a9b98d0cd6fa006f000b3b1ae0f65c4c686c173c918132b86d480dbe42ce6982b52fe235c5a1ad228a029792d67fbc743cfb37fac605800ebde9d83 SHA512 4299c90a3054ab547da067a47cb2599547f6ca07de066b8109cc5e37cbf41427d6bcd7d1e645d9d853b1f5f91aa9fc6e78b2b2da8b2fbd3e5fa147efb9c56cc0 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.2.12.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.2.12.ebuild new file mode 100644 index 000000000000..b4281d75894e --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.2.12.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##*.} + 2 )) +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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/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 +}