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 EC3E9158089 for ; Thu, 7 Sep 2023 13:54:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AFC8B2BC0B2; Thu, 7 Sep 2023 13:54:43 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 912082BC0B2 for ; Thu, 7 Sep 2023 13:54:43 +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 5F19F335CB9 for ; Thu, 7 Sep 2023 13:54:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C4438114B for ; Thu, 7 Sep 2023 13:54:39 +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: <1694094093.a4929b990f64fff73178a544121907a777d0bafb.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.131.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a4929b990f64fff73178a544121907a777d0bafb X-VCS-Branch: master Date: Thu, 7 Sep 2023 13: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: 86744fa5-7e3a-47ad-9ba8-e4f5c6524510 X-Archives-Hash: 587962b22f3d9a296f729d961c2f57a0 commit: a4929b990f64fff73178a544121907a777d0bafb Author: Michał Górny gentoo org> AuthorDate: Thu Sep 7 13:41:33 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Sep 7 13:41:33 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4929b99 sys-kernel/gentoo-kernel-bin: Bump to 5.15.131 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.15.131.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 22089f8d8f7f..b39c0e2cda45 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -12,6 +12,8 @@ DIST genpatches-5.15-135.base.tar.xz 5311072 BLAKE2B e7ad491771a4602a9f8d6786ba3 DIST genpatches-5.15-135.extras.tar.xz 3932 BLAKE2B fbb46341209dfb76d7a3ed7555de53de48dac947bfc993567afb6d0c2f8e23907d1fbb831a35c274b22ce34a31d6b805d30e727c59fbf63de7095500357ffcae SHA512 796ad4fd5ea1d84b066acff3b56d8df87575a584925c8487e97fb3b056ac46622670e06ce4c5511541c037ae84a566e9fa2304f5555050c96efe97da37126e9d DIST genpatches-5.15-136.base.tar.xz 5312940 BLAKE2B 3f905e0cc9ea0353f3be1cfff526f849298fec3dc8e7ec66c7283ff3440663cc54b58cf07bc2c62d2bbd9bd335f37a708741188a43807e55b526fbbd465579c6 SHA512 0d8aca792ffc949796905d135abb89ee812271e93946b00cba76bb7b3e9d5cfe05efc29a19c4c3e9933f9b1eea0256caffe85d9936f6cceeb94f3ea51c60f586 DIST genpatches-5.15-136.extras.tar.xz 3932 BLAKE2B c9ea53212a94f1d8cecc51c30d3e7a856ac1f325ecfd5e06f5c61b3b85fec988ff93169d01b7335fd100b329e97bc8806ca02247477b51311956a29efc2d4d6a SHA512 edc8041e65b7129f8abac8351c900d1a8849bcda06d3328c6fefc641af259aad243dddd9267ba0f6532b2cbfe4caa0275c323db392cbd2f3160930e0cbd20017 +DIST genpatches-5.15-137.base.tar.xz 5320152 BLAKE2B 9c2376c4aafdeb6f49b490ffbd15b70edc3c76dde6fd5eb863912b685d0393fc4579d6a402b5aed7c8081b4ae6c0bd5a8bcbf2fc3b92301f1ba1f582dffc5176 SHA512 d156b00a395c0d6fa623f84c4cdcc8266119703aa03aed96dee78f799535f79ce01cfd603c0935b4c0d2a793031cda5635c034358d9eedb0dd7b1fa307ebccb9 +DIST genpatches-5.15-137.extras.tar.xz 3932 BLAKE2B 36f79232e1f7a297781b64c0fc2a9a3ca171a7440d635631ae34330fef11f782c43f23add9feded31e19904a28fed1a9d99a1991b590c2e1114de5217ee673ce SHA512 fd59a24b43fe48a9a475eab3c40a1fa0626661b3c66734223cc9c24a8f7490b569a475d94a170a1a5958a7be39fde77e63ce933620d8e31308623cad218bc339 DIST genpatches-5.4-261.base.tar.xz 6100368 BLAKE2B 1333f1a5aae4faabe031192eee4e491ab80c1e6291e542a99cf308295ed2301c93d74cd41e34fa10e1110710d26edcb9b4b132ee635cde5711b6474557601866 SHA512 4083c69df7ce9aa2e57eb69be4132689d10c95155c7608d6fc52f661abc1f0f9077f546016b3df32b8252777fff78af347af7022d18203aa8416ed83b68ef88b DIST genpatches-5.4-261.extras.tar.xz 1812 BLAKE2B fcc06d16147422b0ea123b116644539b3527e44bca78d46cf5795d44e42575c7017ec3b5c9dd566c5523e3b23f14b4d817846502d4ef353180c3a3c79caa4c2b SHA512 5cc879a4333aa3e162a5da4bf118a12ae5694c2fb98f11f9e1eee57f91b707974d735c290790942a14b2df5bdf092f58d1cf03f7058aea6f8e588700ec185dbf DIST genpatches-5.4-262.base.tar.xz 6139068 BLAKE2B 61c2f6a1b307d4e89fd6ddfa57985eefb7b1778ee8ffe346be8967ef528ece98bfbe52c56eff2cf356dc0d2087b59ed353591d508e35e6214130abbd586f1fdc SHA512 c16b5036a6a4a1832a3e95ceda7e77cfdfddb99b92d1091354cdfcc8868a8ac7d4f692ce522e7167d171664b65273c8ea29009fb2911e9f20d3da6ebcb2a9837 @@ -70,6 +72,10 @@ DIST gentoo-kernel-5.15.130-1.amd64.gpkg.tar 66263040 BLAKE2B 298a1612b258b8cf7a DIST gentoo-kernel-5.15.130-1.arm64.gpkg.tar 59392000 BLAKE2B 44804df0fd62600d66f1f32070d87adc5b7e61e52f9b041c8468f2b4815daa3373bbc0b12c7a27681c82e76c73dd0f90d0516ace05fedae956c21eb483b514cc SHA512 a5866f3992bf92bf65a2e27af10353d2f4ea943ad3026401be192b40bd28d4afe9e11da01f77bd6e454bc44ff8984de39a416664d055e95d579a3bc12ca0bc60 DIST gentoo-kernel-5.15.130-1.ppc64le.gpkg.tar 54937600 BLAKE2B d5502cb4d6bd4ad9807f2ae4b8077f1086bcfc4248f93db735c5a308bd830e6dcede3f13dc3985078758ec52db8adb8e00370d6789dbb74a6b3fb398d425a741 SHA512 ec5029ab7959a179c75a9e9fe9e03de66e3de0c1169d914d962694fd54d85b9e5dafb66b6a8a81d5ad74bcb3e7a5ee4bca1b0d0492ad22c8a99e2cecec67cace DIST gentoo-kernel-5.15.130-1.x86.gpkg.tar 55951360 BLAKE2B be682676a5381fe25d3d326e650f8e61a9e0b4891aa1667f8287674bd2dd115c5d8762ac124c9cb4521966383e05b77b6dfa9b01243c7073f5c08b7c97e2662f SHA512 4fbabb0a5e6f9bae2a3855476cb56c98e8be0baadd4384d5e088b681c7ac560bfcff96ad68913ec9a5566f51ee704850fdb233804ba96bdcc0439b2752877cbf +DIST gentoo-kernel-5.15.131-1.amd64.gpkg.tar 66304000 BLAKE2B acaa0213dc818bb9afbd8501ffdd2e6ee13cc90af67999d2c423f27ccaedd7cbb3b9b81121ec03c3b980e2dbcea407874e9386c8126f8f5dcf42027ebb8189ac SHA512 4bc622751068933f6a7d589937f6ea5b01f670dc22ff3bfa415e908e3c7b3cb3d46e9ae4c3dd59c3fb7956063f41989e31172ea0fade23112c604958721218b6 +DIST gentoo-kernel-5.15.131-1.arm64.gpkg.tar 59392000 BLAKE2B 3c996e4d11ee8600bfeb80ef0cbc4e97e69c1b9db5d740fb868a6b8d899e0aae3705992a647f2fd328a40edfe72ca9f9e23e6574249c73cb3992c03f5a60120b SHA512 bcc8451991f91b5e2c4410383b5c7bb9f672aa148f5be445d292daafaf492ede9092019a2489a1130c0bee5e15c6d55a3631ef7986f00d498f941da106c9ff67 +DIST gentoo-kernel-5.15.131-1.ppc64le.gpkg.tar 54927360 BLAKE2B 8ec141635acd018021066dda22be2728aa7f2f7f43e2e3c1ac0bb7bc4d5ae78567531d94eef5350f10b2b741f3b7a4d62195653cae6e22f4e430fd6d3f8e7868 SHA512 379eee6c5e332810ed2649ebd277aec92a2b0e05f421228030765bfe9ae6a5f7ede71812bae9912e0faf5d9be102448e82991a1d7a29afd223213ef91124dd18 +DIST gentoo-kernel-5.15.131-1.x86.gpkg.tar 55961600 BLAKE2B 90995dfdb705206db57509e380d6702af402d448e3f39387cb53a8a37d3f6cf94988245a6ed4ec62536dcd12c0a47399bb50d26a53dd483001bc3372db811518 SHA512 0db6efe65c0a77b0de5fdf9ae6076d3c4f2cc3c5987ae39c64ff0aada53145473e521a1eed5700a6a5fd69c3919155ca92d6a767b956c34a813009a54e23a602 DIST gentoo-kernel-5.4.254-1.amd64.gpkg.tar 60528640 BLAKE2B 33d0479796b153b5769c16cb0c5626b17596a6e987248e7e91f2e5c9d3d9ca752c625face60b8562a9045cf4318b2c366e8acef39f0bc534ef5d3f816169e76b SHA512 773914a4a4f568d889dafe56103a21893e7037123642be23fcddf49e7050ed414ec359b971b667373fd6184eb58dbec10168cfae6ad933af726feb6d9f89f040 DIST gentoo-kernel-5.4.254-1.arm64.gpkg.tar 56535040 BLAKE2B 86e83e47aec900303f01b94f770106c0a70476604efca854699cf2d7ccd335ed2ff4714f6896153782a64f5a06cf19718ca6271994be936406648fded9f95a59 SHA512 0077acd5556f992f0cd3059cb866d164970a71e9c646467d85b4058a00a15b2089b8d102f0e3f9c17dee64cea4b8bbd1e265a528b91a9428eefbbf5cd9ab8bf8 DIST gentoo-kernel-5.4.254-1.ppc64le.gpkg.tar 54210560 BLAKE2B c8fef1a42e4479c9eef68d492ce5030e0e5cf73abaa2bb42fee008589091f2390227746608b099e0df7db5cdd2734950a66c320156afa302a5283dd21e534d1a SHA512 ef378426c2774ec3911b0fde86a7cb25bd9ca142ad9d3cd33d4dd698344655cf3d7d98c3ade40a2ef4edad7d4c1cad2daa580b1602066e6abe7ff4cbdf5d6bd1 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.131.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.131.ebuild new file mode 100644 index 000000000000..83c6a5e4fa8f --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.131.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##*.} + 6 )) +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=":" + 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 +}