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 DCAFE158089 for ; Wed, 11 Oct 2023 07:53:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F03E42BC076; Wed, 11 Oct 2023 07:53:23 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 D859E2BC076 for ; Wed, 11 Oct 2023 07:53: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 B6FB3335CB4 for ; Wed, 11 Oct 2023 07:53:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 68CBB1149 for ; Wed, 11 Oct 2023 07:53:20 +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: <1697010681.710980698d675e0b170625388809ebe5d0060b95.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-6.1.57.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 710980698d675e0b170625388809ebe5d0060b95 X-VCS-Branch: master Date: Wed, 11 Oct 2023 07:53: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: 49374f5f-2aa4-4280-b407-f926f2d1501b X-Archives-Hash: d0a848ce526d324177d3ba50b7fc2254 commit: 710980698d675e0b170625388809ebe5d0060b95 Author: Sam James gentoo org> AuthorDate: Wed Oct 11 07:51:21 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed Oct 11 07:51:21 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71098069 sys-kernel/gentoo-kernel-bin: Bump to 6.1.57 Signed-off-by: Sam James gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-6.1.57.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index f1f986b6fee7..056aa0d6ae50 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -10,6 +10,8 @@ DIST genpatches-6.1-62.base.tar.xz 3593184 BLAKE2B b9ede84287025cfb00e4772aecef4 DIST genpatches-6.1-62.extras.tar.xz 3812 BLAKE2B 2f642be1d81a2e94221c9c713b8df8994953dcbac4d612bdad2f8e7d64111e8dfa4d988c105eea7d926e7fe08ec7232499e9bd8b8e2a9fccebf78d62bde91c43 SHA512 e06d58f69e3055ff38af09061daf6d0571590136fd154dd2ef2dfaca93d151391315abb5d45e252db4acadffbc7a87124c4ee50b6fffd278ce63fac819c38d12 DIST genpatches-6.1-63.base.tar.xz 3660676 BLAKE2B 6af8b23486d6458d06aadd6e3d72d36a768e17bfb1917c23744954746931af6747682f3ab3e8cc12040087d760b63067d7f1fb73355dd7cb1287f42e60019e06 SHA512 9552fbef812ed0cfd950d1606ecf62414886bc0f79b572ec27a58e1f9f80a4c872fa6d28aec6301fd0474d9168156092318aa84faa108668b0f6df1965d01a2c DIST genpatches-6.1-63.extras.tar.xz 3816 BLAKE2B 6a9badb695f9306720e1bcc2836f90c82b27ac9205b455e76d9a0d6898f3539eaa05b96824aafb650c7efa1d1f9698190fccc5d115581c2a29617ef5b4259433 SHA512 e5fc923760637bf27dcadd2e59a6822e39f7c2d81d89019ebdba8853081ae875a60f657f8d483cd71dc8dacec51151a7dd3c9a5c4a7822fe32b658bcbe668c56 +DIST genpatches-6.1-64.base.tar.xz 3729008 BLAKE2B 10f4366a8fe83ca0609c0e2654e6c64ad47f3a3f1744ca637d8801ec9c8a8c541d74e21e020de0a6de18c98de640810d6934092b2b983b332e92514c2b6443a7 SHA512 1dda1ba93fea4c18ecaae6ec5a3cfea1fbe7f89fa9412e793b7cd0beff43894650167c77d1b85eb280f7754c85179dc3c72e32ca18f4d8a95667501c61958656 +DIST genpatches-6.1-64.extras.tar.xz 3816 BLAKE2B 315826af9d3e7abbef0314f962e2df50f9d183555ec5fb956fa7c9820435042e3c3a72a5ad766a3441543c54986ffbfdae8ff0a4deecb2a72851237108eaee71 SHA512 5a384aa4f6aff1a3410090873f9321ca1c6bcdb48dfefeaf7c2746b950ad22c7a745c60389ec49b99a249cb62c91d517389d5d91c844509dce5cd45a67b47edb DIST genpatches-6.5-7.base.tar.xz 428224 BLAKE2B 9038c1beda5e3778508a29ccb0f906520f93a505f9a45f7050c47814eaf2e474d46e3cb8760dcf5a3bfbc504c5c133f8dcd8b55261a3d0c824cb374a42d98801 SHA512 89942e28ec1c594401a4ecfd6ba240e334356be0f1f35e48dd9abb1f4ffd122a044a76079f214c534a6acada0db4b735a8fa8face05feeeba82e2b51231c0472 DIST genpatches-6.5-7.extras.tar.xz 3696 BLAKE2B 0cba288c1d1c753e5a317e87432dbdc2e711635cd074b1daac3b40af683da939981eaa40b8d4291ad59d4abb92aba5fc97be134524e02b1c2c29653382d7f402 SHA512 ea3bcaffbf58f981388c2021baeea809a35a1b270cff6a0613dce2da8ff8431886612d22073c7a8d6462d20eb1f27d0c0518164c14e4af96b9393bb6a1a038e4 DIST genpatches-6.5-8.base.tar.xz 521272 BLAKE2B 31bdac516a0a3f82cbe2c95d9fb0162d7a2b9f3865487528e7b92cb2316f559be9754d4c4c697f29500425c13fd0bb743c69b89530b4d471249f1b322315dbcb SHA512 debb1b1e499b94e4139143df5b3f22663fb6a216850e3262f5aeb0ade760f1a026d00e33f874c920369e3da968a192574351f6d93fcba3eb6b76ec45f5382b90 @@ -40,6 +42,10 @@ DIST gentoo-kernel-6.1.56-1.amd64.gpkg.tar 72509440 BLAKE2B 1bbd61cf4ec48dcb3591 DIST gentoo-kernel-6.1.56-1.arm64.gpkg.tar 65218560 BLAKE2B 5b6de63af448c1eadafb6374446c7bd4ed81899581990ccb8e55b66b7716bd3fcb97414b1930af29b1698fe0812ba4170acc1fa8ee842848f11ff7358cc4589a SHA512 145922c3457d04be8e4d6fdacfef0f2cef950eb92e33079f0213d3870f7fbd0ea28040abff5ca5ed3d722cb5f9b18865f9f65f28813a8d9bdea923023f87c163 DIST gentoo-kernel-6.1.56-1.ppc64le.gpkg.tar 59822080 BLAKE2B 9af8b39695897d1120c284a0f6db54e81ca8cf2540fd98de2d8fc24743928d6dbc99b77e669c2315fe11768b83f587a3b085348af3212047566d1aec0eb80d58 SHA512 a6bf9ceb2e0da4c9c7e981a5f77d6bb9173f82817a969454581de96b07e549a3a059e2851fa336d7d37157583388d373e5dd6ee213e5037218cb5b2fac1df40e DIST gentoo-kernel-6.1.56-1.x86.gpkg.tar 61972480 BLAKE2B 75e1600b42b3efcc803519b1247272e4bdacd559f6e0ecefc1fa97723407f362034893aec3c84312c13b4a97b9cf187e52296039a11de9c3edfceb95b2c7b35d SHA512 09d02255f2ec52b2ef37721aa401821624fb24c6ebdd0dbc1dbb78b8ff544e41151614674a2698ed92ee65c5e90f813da19ff6e17c408f7a6a490bea3ff4045d +DIST gentoo-kernel-6.1.57-1.amd64.gpkg.tar 72437760 BLAKE2B 40c1640468f10bfd24c68af91ef6b787a68432d7381d7b36331d94a88605b7b2c9c191cfa20cbebd6a4a255b1e0384d9efee6ebb761b2129b2c5f7b73d602938 SHA512 254a591de6913a1cd4c111c36531da0ec5e7eea06c24adbce7bd16c9e58286b0a7d7355b75b99556e0220fb1caf79c2bcd207947582f340a68aa0331a0f52535 +DIST gentoo-kernel-6.1.57-1.arm64.gpkg.tar 65402880 BLAKE2B 7c373e287dcbbec86b82b1a225fe8971347708b5c161d266687033bd92e7a331238ec4f6164f18fe69f7138a9021e9c3e831800ea031da29ea8ebde0591a26c8 SHA512 f0ccb7b47f4fc9d86bc540ee754c42db0639710a366a309b448b8b99b4e4aa96a5fe569f412b9b30b51d4ac231b5a97ae7420cf6efbce87ef6190eb9a062d065 +DIST gentoo-kernel-6.1.57-1.ppc64le.gpkg.tar 59770880 BLAKE2B b75ef8425ba37ae13d63842535b4477712f96202cdb3898df214a70e436cda0e4a96405a7a1a0ec40a20ed5df976bfa64638af1b0a7eb13ec2133280dd46222b SHA512 60c8ec52d2260144cb8332de2f23d1ec2499fb365e9616fce6f9a8612b4492c670cf4279d69d6d999c223db9e7b9074073b33768d568182a92e84f62bae9a888 +DIST gentoo-kernel-6.1.57-1.x86.gpkg.tar 61911040 BLAKE2B efe74805e01fb52c45c47b32d3f140af0b6f7c063883dc1af1a20dd2c759ce3267e227489ef278a65f9480ab75e63fcdb873f8c415fb459269a0c04451469d72 SHA512 41a4651dd11dd4ad9970656c246768f319c27023e19035d12af6360886184f9d6ed4ebbd21a535cd559b25e226f927d2d04dff9a4e82bc4de3debb67ab18e1a3 DIST gentoo-kernel-6.5.5-1.amd64.gpkg.tar 83599360 BLAKE2B 1c0ef6277d6350f0253633ab959dc49a5f69c9428d4a3b0a949d67957a656726641fd346b72e77cc1869dbd6dc1d8c95e93112a966fc52d72c01fe2cf016ad1a SHA512 b2608c8f72549da0959301745c40b4c7476aec063cb4ccdfb0b92c6f7ce4ffae32b9489500319341b64bed60cfe4e5a0ff5dc067e90b0677138e1e0879db440d DIST gentoo-kernel-6.5.5-1.arm64.gpkg.tar 73185280 BLAKE2B 5701a49199f604b7fb53caee89b82ee0de7c3ab5b11831aad509b7005efd13f3939e7e07eb4ada497faa2e709f08e1de78f0cf824b95d9c56bede84cdc8ec63d SHA512 a2a53824afd4d5905c8b9549bb82b73b86fec7f264d2b2092da526a37c1516a8d727651eccb470f672a412c34f0a4afd29ad2d56d6db5d7cee68f2341840781a DIST gentoo-kernel-6.5.5-1.ppc64le.gpkg.tar 64471040 BLAKE2B 0a4acdfb4f2d272d1b818e048fae752e54fe748e607941d9877a3415c5f88ba8bddcf18db1e64cc2bb4081f1e5e3802fc8f08bcdc5c5a940a3a19af0cbf2a1ec SHA512 81c2fe480c6fedf99f4e6badb952a5b4b12a95cf2329303ce8b2199898025673c3d7c8fbcaa28d5c3042e9331df59d72a42d4bc89b58a3659ea261da29f95b9b diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.57.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.57.ebuild new file mode 100644 index 000000000000..d2845437114c --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.57.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##*.} + 7 )) +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 +}