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 E6BF515ACFB for ; 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 B4E97E0960; Thu, 20 Apr 2023 19:12:33 +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 85616E0960 for ; 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 93F4A341007 for ; Thu, 20 Apr 2023 19:12:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 950B4A59 for ; Thu, 20 Apr 2023 19:12:28 +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: <1682017940.1ff9ea303164f605ef42212bc59c5974450147ad.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-5.15.108.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1ff9ea303164f605ef42212bc59c5974450147ad X-VCS-Branch: master Date: Thu, 20 Apr 2023 19:12:28 +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: 9f7e9814-11b8-4e51-b574-0c5e2bf3356c X-Archives-Hash: 7671a2ff3f878afd1e434b56329c6504 commit: 1ff9ea303164f605ef42212bc59c5974450147ad Author: Michał Górny gentoo org> AuthorDate: Thu Apr 20 17:47:03 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Apr 20 19:12:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ff9ea30 sys-kernel/gentoo-kernel-bin: Bump to 5.15.108 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.15.108.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 99187156461c..9748914881f7 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -10,6 +10,8 @@ DIST genpatches-5.15-111.base.tar.xz 4338620 BLAKE2B 4f9776b980fabba9dcfddaae243 DIST genpatches-5.15-111.extras.tar.xz 3932 BLAKE2B 6607fe5f4c30a0252b2f999616fb2c3e497615faa805949906dfa616a71c899907b2a4b05334ae506d3a3e945f2927165b4dd4b56f69bf3006fe0591db169913 SHA512 ad52a086be7d38f5620bbdc6cb1ce04cb5aa19cf092f3df15f9b7220173d54bd8b0da31c51cc6cf27ec7ed82870c863bc5bb1ae4f0f578e00b0d155b3fe012cb DIST genpatches-5.15-112.base.tar.xz 4370104 BLAKE2B 578389e95be1b135fffdbcd598088d07d07ecc764307278c0339351d879594a994a4904500ee1b003ceb5ed928e95b5b07c363d94ff99db3e93568d25234fb26 SHA512 3797509bce6dd1949190f0d9bcb4d1c918c9bcd9f528b493b5f3b7e2fcb9265ea42e51e218c0342814e0f55c827ddd1bab130df76f849352e5894225d73bf3e8 DIST genpatches-5.15-112.extras.tar.xz 3932 BLAKE2B f76085492bf8b1c1bd9092174460be8ef5e22921f1f7a6282eff9cece01203ca68d0259b94a184161bfabddef1a7e5f1eb29b0da5eb85cc35853e767a2239216 SHA512 3e8ea63b9011f782b11e1df144414d9e3f53f24a391829342c872dd4f5b0a3c128dd792f95feab7aca08adf6a08d88e11ec2e2d61e0b0302546f0a55f29b78dc +DIST genpatches-5.15-113.base.tar.xz 4409644 BLAKE2B 13570da5dea58b83b150817c0b121a796e5dc4e6416bb4e297ee2a180afa69e67e841787cb6baeeb59484fdf5d7d84603113103ffdf9e8e658da1e6f0a7e20b9 SHA512 6bbb567ccc12527598b56946ed20c060b40de4bd229ed146aedb5ab9f252a6d604529f87019198411ec2bf9cc5f3b87a376d5f65955ef30fb83297d4f701f918 +DIST genpatches-5.15-113.extras.tar.xz 3932 BLAKE2B debd8f36bb718d8c92d5301d00efcfb42c057d22238d010bd17504dfae697b6427411e6a12e628155b25a98b235b95cf94428bb115fbfd0fa5a024ed85a53b7a SHA512 3336827f6273f4c0a39693ca7be1bd11c025031f529c4122014a205253f8ad6c247c51d696037304dff3014dedf82c493f8832d6e86b5d72b6c5b99972acfdc6 DIST genpatches-5.4-245.base.tar.xz 5632788 BLAKE2B bbd772e16968cdd010c71002af87787eececfaeb0ba02d2ccb9a18d046c4c7b05eabc62cdfa2ea05943533ea961a7724deb75b42ce006ce349056ba73a9f1b27 SHA512 45373b2cc4da5286a2bf3149cb7ca18aaf475b13e64471506815ff4665aae7e73534f68f13a350b8616631ed6677ca65aee0dccaee436339e24786aed022b09e DIST genpatches-5.4-245.extras.tar.xz 1816 BLAKE2B fc61841df1540f85577ea31a34b0b352e20dd54b02582e0379d46d93c7ba8b92faa0dc988dd906a8c250c8c325959e326a64188e97b4cb02d393ed8b88f2d03e SHA512 cc468754c82833aaad28e830ab4bce06ca0d2422d91a603149bbabcb012b9d4861f91226dac924407573d0a46df0f03479811be448b2c37971e3e8d757c6f89c DIST genpatches-5.4-246.base.tar.xz 5659072 BLAKE2B 4b3f836c7e9f7f4d1cac0c735bbbb7751c0c165c826cbf549033c9e9fb85be3ccf45d480b0c8d80f7d980daaa1fb62265b600e24dee320673434333bec891e0c SHA512 029102ba3170b99836ddf5e4a9a7101826eae3dcced431a7049e4c025ca6057f694c66f67a20d5b08a124275ed91aac3a0e1060ca2946fea54d68b251e61b478 @@ -46,6 +48,10 @@ DIST gentoo-kernel-5.15.107-1.amd64.gpkg.tar 69560320 BLAKE2B 2ea788f406d90d6041 DIST gentoo-kernel-5.15.107-1.arm64.gpkg.tar 62504960 BLAKE2B f01b3b6afc5c08f35e44aa8383142c4d096395ffc6f7640b75d4fde23e64fcee09e43f4a726ace58c405dfceeee6ed9f40a26f89a22c396d058eaac81fe79c2e SHA512 8f91e7fbc538d42e1f397878815a8103596e097fe1adce3baedb39b62b7ba0c4e31072aa9b91a8e7a03dca6c895da7dc0987ffe3eb50732fe9e9764bdff26f67 DIST gentoo-kernel-5.15.107-1.ppc64le.gpkg.tar 57108480 BLAKE2B 214342519f793b876099ff229e72de5ddf4fad2be29f66894a86c5809d36109d2cc99a9d808faeeb5af73eff045bb43c01f7de71f3fa0e01c6c6e64ea3f71de5 SHA512 37ede266407526fa4bb520602fec560cea348da5a76c4693d2af0662d6d602fe75fc5d3ea7d528367429d58a035963765ad516fdcbaa1665e670058008353243 DIST gentoo-kernel-5.15.107-1.x86.gpkg.tar 59125760 BLAKE2B d37c5a2d3ea2ad8d64ef3c8f45d67951ae02302773aa5e11ba6707ca48ccef9b00597950af4a87f01ab2d0a86adf2e6c84e89b6c91ba078c62fb71f8d7028065 SHA512 ac21753301b32aed49ac884052e305539e2b43230dc91fa4dd5fb8fd9e50ee1fb46a8817b1d261c35d7c4417eb7b3767b3fa314b1e65ede5af76be52ef8b128a +DIST gentoo-kernel-5.15.108-1.amd64.gpkg.tar 69529600 BLAKE2B 668469f3607716cb536fcf73e8898580d0b74e1340995c287a7f4387b9075d77d915181e85895e449f11d9776a7d8c8724185510b779b809ae66de66d9bdb18e SHA512 1f7332ebe99e43bca8479e9b2e72a764f8be07e27aba7e9f9b2c7ba3f1206cd064403b31cf0e8e02714b38a7af06fa759f86781e966e46baa2e1a8f2dbfce6b0 +DIST gentoo-kernel-5.15.108-1.arm64.gpkg.tar 62504960 BLAKE2B ad9974ed2615d6f11561f3dd64d21b025b9d60cee881f8bd8a51db188898ed07647dee89ba558eaaf63289fbe3f85d2ca6960fdbb74f983bc71fbd4d3321d0d3 SHA512 e588c89c3260f88c7c5fb3722aea7cfb329a4a28125c7167128193bd628d79ade12895e615a68bed60ce00296341a91d7318030cf9af25c6d77d719ce1d7c888 +DIST gentoo-kernel-5.15.108-1.ppc64le.gpkg.tar 57098240 BLAKE2B 69756461e25e248f46aa84842701db4a7143d9839f1caf703ce85d57c88e5cfe1cff79585d29522305de9dcc35dbe299d9e6985792eb8516c5461c3116c8efae SHA512 2871fd6f8be4a7b2dfe7a20ed3609133d9543966fac13b17fba5caf61cd5b344fb8a4c40af33f4a9c8f2f82f4c315a04f0ad076c7b74b2523870c74fd8fa8202 +DIST gentoo-kernel-5.15.108-1.x86.gpkg.tar 59105280 BLAKE2B 7656b2411d15aa0cf0ea7d3573147fef94afceb12553f25d477f85d47ba74210dd5f125c99d5b6d8f9134616078fc06bca08bf4070dfcd0d8ebb871e72ab6236 SHA512 434381dae129168996c3b141b994b59204a5bea5e8eda019950a9749807a660db94898f3d10ca84c05dbbfa516dc1b0f3c1de3d4919964e47344d00cf8b14b22 DIST gentoo-kernel-5.15.98-1.amd64.gpkg.tar 69632000 BLAKE2B 559df6dda38c4945b6c76f6ccad90a34877918947ff479ffa9003a9cfc4ea697a95523957efa80853fee2758097fc5bbe3ea8076711f898a3ed84a55e4221b23 SHA512 0f6d4ef5edd054319e2ae91cef39af6b7debef4e093bc02f7d476c5c64517aea5f36ec88fa350bf8c5214d00cbaa1502b57e03c2f516d5e49f2cf0ef194444b8 DIST gentoo-kernel-5.15.98-1.arm64.gpkg.tar 62566400 BLAKE2B 1345fcb22ab95f56cd8671f0775493b8f20a7be825b2a05abbebf1014f26d7144d016f7b58312bb72bcdbf29cdae36fb8f52e4603a83b260e3165fa1980d3510 SHA512 dbd00061e90c43ee701e75ba66075c3c63fbef63dcd562460ee6a661c2b7b48c78f349e19f9c04d633892034c276e6361a6cf6f7e3802bda6156af0d78e1310f DIST gentoo-kernel-5.15.98-1.ppc64le.gpkg.tar 57098240 BLAKE2B d9773016f82e87064775640755d6436a0d86b43377756bd9e5a00de39ec6d6d507b6a6e270c252b851d58d7949e083ee18ca2074a0f3811e16b33f2f6806697e SHA512 de759acf2e94f6565ee7f945930cb2b33ba69b7e3916e47c90e13ac280e20a668b95fc1c5f61369c4e6251c91505911b18979ba9efa2595223da8e22cfd71ff9 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.108.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.108.ebuild new file mode 100644 index 000000000000..b8ae60a3f786 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.108.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##*.} + 5 )) +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 +}