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 40700158041 for ; Wed, 3 Apr 2024 17:44:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19A68E2AE6; Wed, 3 Apr 2024 17:44:24 +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 DFAEFE2AE6 for ; Wed, 3 Apr 2024 17:44:23 +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 6491F343245 for ; Wed, 3 Apr 2024 17:44:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0213A1676 for ; Wed, 3 Apr 2024 17:44:20 +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: <1712166247.6215d77a638727177fffdd215bd882a55ffb54ca.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.1.84.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6215d77a638727177fffdd215bd882a55ffb54ca X-VCS-Branch: master Date: Wed, 3 Apr 2024 17:44:20 +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: 83a3ed6c-95f4-47ae-a44f-4883a1de711e X-Archives-Hash: 7b179843b5af8e57edb60618c727f230 commit: 6215d77a638727177fffdd215bd882a55ffb54ca Author: Michał Górny gentoo org> AuthorDate: Wed Apr 3 17:41:52 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Apr 3 17:44:07 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6215d77a sys-kernel/gentoo-kernel-bin: Bump to 6.1.84 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-6.1.84.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 2fc14f47b52c..84919f43fa32 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -16,6 +16,8 @@ DIST genpatches-6.1-91.base.tar.xz 4814756 BLAKE2B ec513671056ba3f42380e4f571157 DIST genpatches-6.1-91.extras.tar.xz 3816 BLAKE2B c187eb9a26917038be398f55c68d2cf4bd985c778b892d9f22fb5bf6a9064cca0b4dca2e21eb3b1811f8a09b6e20f45f852c8d85a0559a52457e84c28ab58406 SHA512 3e8d69a5464f1e3d4a9629f4d5169c4d8f272a42a51e3f9f801536c6373745b55ef54e46ae54c302eb0cf498edb307e93671f81445e99591cbd63caf8cae3476 DIST genpatches-6.1-92.base.tar.xz 5022044 BLAKE2B bdc476c487d2102a92683fd173555c2719a26eaf96153b468748724dfe4ee3c0bc7c78d2d789e0bbfbc7620fccf89b882489427c738d6c5cbd12bce9f611f492 SHA512 7009e52a91b1f1bb2c5f1f6e494b0e91ef194382ed183da450be4a83a849cbcbcb83d7333c95e4b91fec56c02059c9c07c299fea9717384d880a9d9c08038766 DIST genpatches-6.1-92.extras.tar.xz 3820 BLAKE2B be1e90178f400f7e4b6f2e21c6f3e1160c9e5d317eeab902d593838ad9a1261eed8824db27a9852771baea9bbcc7365303098d74cb906ef720f82ab5f2e83a5e SHA512 5e5f0b564987d43bb577449cf6fe65adf59f56a2fdd80fdb09890e02d42771327caf2ef9abcb711a6ab678e45bc6aa6ccae4b448a668856f9533d42e6a2a8e7d +DIST genpatches-6.1-93.base.tar.xz 5006784 BLAKE2B e8b08d894eab003f055f847a635ed2c5b28a0251afb3e1a62f7c904047344b7f58747423a9ff68ab0047604fc53f1431f4c8dde02dc876a035ef24cf5056426f SHA512 e15df28e3802b78333d8401d6c525561ba130d94866dc0084c7ed99bc72d5a8abd38792d46c686165d58cef989f8d61ca8d36fe98ced9f7f8a7628c2d72442c4 +DIST genpatches-6.1-93.extras.tar.xz 3816 BLAKE2B bd2102b672f8b8128aa19f262d44162e54af0538742a8f9e38e1c1efe6e927c6d51bc5eae0e1f7f3182b5ac29e4f4a1405ac62fe35052967aab3f58e53993bc2 SHA512 73ecba9e045e9575f137985dce8303194ac5333dac6d83f0106cdcc1cd8df342778a2030701572d7445f0d5332ae384e07be09aae8f48c39e01993e3f3ad37dd DIST genpatches-6.6-27.base.tar.xz 1392292 BLAKE2B 46e3c354f7c27182c2f97bd20c165fa8bb79317bb136afbbe1e0906cd405e7cbcab1293e724cda38491f0d1cd9e9009146f18ad9b5ecf54526e69aae43fbc9e8 SHA512 363d26f9410e2d526f07c0831d36733999ec284ee01d684ad15aa5856b007a2d2a189ca414358da87a479dcbbea7ae24add9d8019b4c41c8bf1aae7b67a3b490 DIST genpatches-6.6-27.extras.tar.xz 3700 BLAKE2B 36a21c970dd2c8f72a4496b9f72faea3e94fba49342e00b7cdfc0ca6d4f3ab14fef161a7d02ad13b1c7db73af3c96b1c145453d0645791b46b34f599b3947582 SHA512 996a1b0a5c625043ececbeacc648f4dd71da2e239482ca515b680b146ba6041feeb0924929b1b2b6ee4f3ecc24c85926e54e28058d9401d4399282151332dfce DIST genpatches-6.6-28.base.tar.xz 1406852 BLAKE2B 09691b429951a495b8dc0e076930d72f4f5c51c0f41cc0779d7c27bd1c161e007ab6ca9007ef43db4aeed4ead3ba84dcd93ba2b31fdd689c785fc38d0c46425a SHA512 500492b25b5a8eab5781e3c7758fa1685b1050bdf30b0c8fbb306db078de1bf06e0aeea6547fd7fa868dcb84047d9842f37f5851e3637633f693a5b653cfae96 @@ -64,6 +66,10 @@ DIST gentoo-kernel-6.1.83-1.amd64.gpkg.tar 72611840 BLAKE2B b5c93879c1aeb8058c89 DIST gentoo-kernel-6.1.83-1.arm64.gpkg.tar 65638400 BLAKE2B 83eab90b7ed6f003d5003fd025056a4c0521e824e5ded7729f324e3134458dcdf07003ca3d2c5304658f4d78e211a59bba95c2c0b841fb3a28840efee2176ec3 SHA512 fd49d4665615033443a35505b39653573c48d827d77ac2c6b705a8f5cc2d42926e998dd41e94514009a2fcace85e7dc2cd16860983b26a45a8fe1fcdf2802af2 DIST gentoo-kernel-6.1.83-1.ppc64le.gpkg.tar 59863040 BLAKE2B 8c480f7dede07a818143c58782c6cdb33c6ce5247cfbbe51ad7cce14f6df5b24c599f3b2e5b413d7abe0d7b7cdb4c70d86155c6e9664d288ccb9d72a780a22b5 SHA512 acbe05b81c000c842720bc43974703423d8ba3487b0955a5e5e006716658a6ea0576dce1ebfe9429ff255f1c98fc3302827613bfd19dd0fa7943ddbee89b0be8 DIST gentoo-kernel-6.1.83-1.x86.gpkg.tar 62177280 BLAKE2B 5a54f0d2a5c29c5945685de8832b3e635e645e108dc624c20a532e19cb183c46c936a6c796de0c21d2ceed9f4e55b2780a34d9492d7e80a6ee40dccbfc8bd2e9 SHA512 ef6fd24c8ed419f65d429845bfbfafff7bf85810f8048086db6f600f98c8b30467ab7656234f715d5ff6e91c7009fe35b8dc8844bd34f37c91dd60248db50206 +DIST gentoo-kernel-6.1.84-1.amd64.gpkg.tar 72632320 BLAKE2B 29575f27463572b5eb5559feb8038da5ca5c7ebcca271ba7bffc4f1f8e3e48e2afe57dd4e67bd96379192bca9b3b2d1de71c27e15d2f5c6165f6a93e4cbbbca9 SHA512 14319d5ec934fe167a44159f6d6fec0f84cdff55e6bc809b1df7712d435f7fd6f0441732dc380d2ce1b6868aeed3172b7fe933c7160c5266e29bcb39a0fd7a3b +DIST gentoo-kernel-6.1.84-1.arm64.gpkg.tar 65638400 BLAKE2B 55df24160d76c936a07689108b9c68dd7c7c1438a91e83706cc4656a5f8224d88352313cf6241e154ba0c8cd534089d86d0a14449cc54788fc751e105df04027 SHA512 4f37db9bbbbfb2bf224ab122d7c36faf9e14774a08767f9f092837950e87aa77ce25c4e0cc7ebf02e1985d3a07a55176c6247013ec5e59f249add3456a09b7f8 +DIST gentoo-kernel-6.1.84-1.ppc64le.gpkg.tar 59893760 BLAKE2B 422e8ec6a5987a300480cb76a1a35e629bd15ed7d8f33491b1e5ce5ea155ec86b9c27019f0298de65c75790b9ee24a8b765efc4124486e36c0faaecea5f236b8 SHA512 2e832411a521f37bf89e915b0c3dd6f5ad317c4bea8b317982780c3e44cd102266126ecc6614e4f37f327fc8b040c55017d1ea5cd37aa3c0c801c44ff5f30e4c +DIST gentoo-kernel-6.1.84-1.x86.gpkg.tar 62187520 BLAKE2B ed6180b3d96e36ef134557f4cc7def03d65e3ba44708b6c9a50523d612b61f9fbc87eddeea8bb53833f3020b576e63546ec451d521c95d984aee998a91ab974a SHA512 f1f294fa996ab9f060513f530455d66e7d78b9641e219f68ebcd210a934121cc31bc7ca81bd79028237c3328651c6e1660a5748d9cd1732236e8e3eb92cde23d DIST gentoo-kernel-6.6.21-1.amd64.gpkg.tar 146585600 BLAKE2B 12d66fe9f0f1cfc00af099447ee1f92e381a69b60a06e0cc8cd56ec54e5b7c6e3026dfec7f4afd4e329cc7ccfafe1694fe19208228634373333a0291f884e6dc SHA512 8dd171dc40cd6f102c7dfda63cd40f39e3071955641830c5c919de8e4b9f66dec42e0c7b90e0786340c3ab0d1c29a66ec621797e21c0ab4c19b2cf77944ba115 DIST gentoo-kernel-6.6.21-1.arm64.gpkg.tar 119234560 BLAKE2B 516a6f7c564734b777d0ff3df63b414ff2a1cc1020fa1f5d1c52f7bde26810745a770718c5ecc12ca42c536a7c3efb430fefc5e8b7b091ecdda4edaa866c5a08 SHA512 143880a199dc92a8b1268a15346e3512933d8e8203dd1a981ecae063464a3723557324a2be7310073c3a08cd95fe79d80d28a1898b649481bb836384a8562426 DIST gentoo-kernel-6.6.21-1.ppc64le.gpkg.tar 64399360 BLAKE2B 54573396023eba5487e8d59e18358ad46ac7ae85d5b7482d48961d6da5d54d4c5d6f3ac9e2d685f956dfd90c68cb2a6319bd93492399635a9f197b02cf2cea7e SHA512 d8e4ec6a1944f9bc9dc4c666af6029fd68be78da8717b37d56390721355ad9c4cf2e1b718e17838fb41f1202d46f6f16147c802fcb06aad3b6037e9bdb623690 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.84.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.84.ebuild new file mode 100644 index 000000000000..1a845828a60b --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.84.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2024 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##*.} + 9 )) +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=" + app-alternatives/bc + app-alternatives/lex + 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 +}