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 50DB715800A for ; Thu, 17 Aug 2023 02:54:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C2D52BC033; Thu, 17 Aug 2023 02:54:44 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 020F12BC032 for ; Thu, 17 Aug 2023 02:54:44 +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 4D7E433FEFB for ; Thu, 17 Aug 2023 02:54:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C24B3FCC for ; Thu, 17 Aug 2023 02:54:39 +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: <1692240860.02c8298801c76b34d2f30ecccee3f575be126248.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-5.15.127.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 02c8298801c76b34d2f30ecccee3f575be126248 X-VCS-Branch: master Date: Thu, 17 Aug 2023 02: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: a238e8fb-ce17-4da7-8e75-9bf9021ff43f X-Archives-Hash: fb8e77827624920994b4dca972ee155d commit: 02c8298801c76b34d2f30ecccee3f575be126248 Author: Sam James gentoo org> AuthorDate: Thu Aug 17 02:53:58 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Aug 17 02:54:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02c82988 sys-kernel/gentoo-kernel-bin: Bump to 5.15.127 Signed-off-by: Sam James gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.15.127.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index b1bd342d7630..ef39944c0343 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -16,6 +16,8 @@ DIST genpatches-5.15-131.base.tar.xz 5172044 BLAKE2B 913e2f0c9eaccb8fe22053d56c9 DIST genpatches-5.15-131.extras.tar.xz 3932 BLAKE2B 013b0ce4605c9ac1bcdb50ddcbc562ad65c863ca2093fb2a9911c3897a043abf4095c520a154746008ca9b117d28703b8fdab35ecb72f214090c3253494d7b64 SHA512 8836d9e06084018b45498b10a2492d4bb53af8b6dddb278e1f08f1af0ccb874914603f21834b681d1300cd307107295540c9ba001466c50014262efbe6040efe DIST genpatches-5.15-132.base.tar.xz 5223492 BLAKE2B 6e89a3009cad2e813de1b686fc5e1df1f676b01d5b862e4a7d0d0b124378381f05ce934707d5df3f29ec7a8560869fd2858796f92b8731bf5f081f2095fcf8e9 SHA512 26c7037ed8cb3ed6f0237fd4c90797d1d5e69288d0af557da8c026371e037751686732ad6e6d5443a90fefe1fb3170e098ba00c5e0c5c394008d977d4c43fb19 DIST genpatches-5.15-132.extras.tar.xz 3932 BLAKE2B ea590da6223d48ae828c09a0d606c5d376adb7ac4000e75cc465c585e151b326241e3c1934d53e2a907e5f1c6d30054c723c8dd0c3e6637c08c4469eebff0edb SHA512 a33db7a30ddc898c4c1abf5a7ace269c7611ab464e6b71c80822cfb3bcdc18528406c54d54c0c1a776c32cdfdfade14f0eda788aac03c8b56b6a966bd94cfc81 +DIST genpatches-5.15-133.base.tar.xz 5249652 BLAKE2B 309acc807e07bfcbb34e0ae87618d6dbb76e6481699fc017f449e61a2518e96e1abaf43ffe32bb9f76786fbe8bad5607407be4a40dd8d26be484943d5b4afee1 SHA512 f0c689a808a7724cb4f30d697c22a0a089df3e0f837440b22b6c32672355b79898c8097810fa1e420e0f8c364f5a33b6c373db58b7c8caac8b67be763a820cea +DIST genpatches-5.15-133.extras.tar.xz 3932 BLAKE2B b99e279af41ad1d19a58e8f9b1bbf392c805a46c371d7a022a65c0090b5824c6ce26280525a0c21feda2a5a5cfffcafc690a2194d29af6a44e10a9d4c923db8b SHA512 7cd772a6feed01543305417ff03b834bb002821ccf254e7f5481623a7f16b0b54da5fc72c21f4ae3481308eaab08fcca8fc5103ffbed58dc4355cfb661f04f8e DIST genpatches-5.4-257.base.tar.xz 5959056 BLAKE2B c3c4f47328f4e3ade669e1cb4586a2420618b647fe6cb5d96210cdb8d5baf767d6eb6d9efd4ac48eadaf0f2b108569656c43b2b43a687b635daf9c91475491a1 SHA512 1231ad3f7ceb0451d9aa5a96be803eb48a5656fe63476ec55ccb71a96eadd2c12d2e44074b302b9c2770569abda60275c0ed161b3786d2dd7be6b0a49d4e4f55 DIST genpatches-5.4-257.extras.tar.xz 1812 BLAKE2B 480e82ea79feb52785fc6643c883093f42240395a1d953cd1e5331c012cf64c6f4b292e878a938a9c5bb297e96ab9f80656839de6044c9f1e76c668c2c8e1ec9 SHA512 5322116802c6c0a44abc81911bb83fd7d4aa5b5f7fb4bb35ca78c47c6c0afb188e21a24cc5ac4e2810affa13689c902e97062d66a751630cf0722a2b28b1d83b DIST genpatches-5.4-258.base.tar.xz 6040776 BLAKE2B 722214955565832dc7ae8719e4c6a6a6c44822469ca73ffc7a4d6ac4ebd5b8c2e04b127ddad873f3b434cd21803b54c385f7de750386494b0995a19aa44cd2c1 SHA512 12b0c24ace3e4376bb377383d14224822f4244caeb687d070be331687f0b98f4c0c85866dc65b78450b76e7628e4ab403b15164b1ff98c45f720cf7d98070442 @@ -84,6 +86,10 @@ DIST gentoo-kernel-5.15.126-1.amd64.gpkg.tar 69570560 BLAKE2B e820a19718ba0ee7ac DIST gentoo-kernel-5.15.126-1.arm64.gpkg.tar 62535680 BLAKE2B 065f255d055604550e77d64f037c54f30e11cea6a982f5e40ec74e42d6065d270cb78aeecef6129364727f178ef9c4f5cf43df9ab3c70e18c3436c883edc8d83 SHA512 3fb70ec04e4b3ff889b869740451867ac8c9dd20e7d069e7e764857f619eece5bd533d61fbdd76299de65c035a6d37a52a9506d4e68722fa3854897aa21e2d24 DIST gentoo-kernel-5.15.126-1.ppc64le.gpkg.tar 57108480 BLAKE2B 698551193b0b00599419453d8dffa73f6b44dac0d6c76525fa25200e182d47bef2814a7978a420c46f406fd83b05bcd6900705bceea765c7e4ed463b6fd9bda9 SHA512 0db7bb8d5684e8571e3fb030c9afe87c5bad065dae4880216be4775650dd707ada4cd0e4aadd41b65a5f02973a07d8f89b7bdb41efffaed2351346b628e8742c DIST gentoo-kernel-5.15.126-1.x86.gpkg.tar 59105280 BLAKE2B 1428f777946b0415506d4fb67d56fe340e4c724e1ac7516fe14c3a54961f8c6de02d960404dd987010047675a71d0e7e145190248b98243c9d6f15246099bdd5 SHA512 6b517aea930ef2aad345f4229585122c57f4ab72da3a40d49b3236bdaffef7e57463d5d28f0f99e6871d9ab55a378fda90b0189750a45648b76e73ea62b1c8ec +DIST gentoo-kernel-5.15.127-1.amd64.gpkg.tar 69560320 BLAKE2B 3d7cd889e605f383667d3b121f50fa7a80ec7924cc07d6c5e23cc703d485f6be5d1bf79f245f4804de95c9603932e2c6bb575a7f98b6ad2573688961b75e2391 SHA512 2e1ddc7e3dc121534f6e11732bd570e0cf92580deeaf78aacd715e266e0b3dddd62494540582441376d7e037d6b8d735c7ece915aa5d112812c668ef3c4b28c3 +DIST gentoo-kernel-5.15.127-1.arm64.gpkg.tar 62525440 BLAKE2B d98dad69fbb250ee49a5f41f69cc091c3fa1fa6968f7575e9b381a9437b98f09bcbe3f28b1497575aa9b0416bbcc2740c5b030582203cecf1e84d72658022dc0 SHA512 815c53bca0542e04436166fcd33e202a4edcf35d85add66d2ffb435918623c6b4e17b2ebd3bef302b7509c2c1ac71cf89f81408b52b722ce16e9c445fbd747c1 +DIST gentoo-kernel-5.15.127-1.ppc64le.gpkg.tar 57108480 BLAKE2B b8dc7368a0599f1f20c177bc6a9d4df2f3f0989cec52ae00212abd9cab7582f1530be1760e25590b8670e4fc12454b19e24d2edf3cbe855ae812b6ad932a443e SHA512 36fd01948f6004817d83661a9bb39139945118c31668fa8aaa4fe2474dde588983b3f3a401a66025a91ca811cc1bc33c15b947d61e6b6c41189c18b4bf76a08b +DIST gentoo-kernel-5.15.127-1.x86.gpkg.tar 59125760 BLAKE2B 16057a0c4decf89ebeabe3d94cfedff811e6bbfe2a9f4ec80fd460a50d16b8fca5054d06573fb5fa795bbee172ea268611cf6c23ff1edb40f8c6703aabfe7eb7 SHA512 eea1444bf9848499021ba10c19bd68293572805903d7275e8346e074d5359d87c38f799db2b9e1b981fd3828da4c057705598cf10249a77adc9696faff290af2 DIST gentoo-kernel-5.4.250-1.amd64.gpkg.tar 60508160 BLAKE2B 053d8d9b0749cf81edaec06ddb8cb9a48bb2ad7c3648e08504253e24a8365e2882e09abf0cab2f8a667e99a348b652aac79050e54c8d0e074b53cd5a159573c5 SHA512 50a07346595729a8ad462c36423724a3e74c2496892764be54034b4318ea7f1a4aa1a6bd7fdb0401b78e48fee6755f603e59bdf10a22fa810f371fe472877f8b DIST gentoo-kernel-5.4.250-1.arm64.gpkg.tar 56524800 BLAKE2B 7a170a4f462ffeb2a17e394857581d3fba3dad5fb4f48bf6c891ecbf7eb73c7c6b03e3e7164c90af6944bc055d43dcd1431192e310c54c4b28aed1f652666e92 SHA512 875dde5172de80ac27a53b8a4e38e7744f7ca6361ffbd80fdaa6a6491c1d5d44064bfe010a0ef5ca638f9bbc58c1e1bef7b32f087a4aceb672c9ffb1892c3921 DIST gentoo-kernel-5.4.250-1.ppc64le.gpkg.tar 54200320 BLAKE2B 5e18420429060f5f2c58ceacc570bfbc715f4d76fb80efe6544fc7a2924f37ec4d8739edc2a49a607f89d4243c1aed714fddd8f6ff9bf1283fa673281cbcfa6a SHA512 aacebe370ee7187945db2ee8481d633f6f41da9c045c7a5a4f8cbb1407efb2fd1cd1ad1abe881c54bcc706610d50f3ee0c4ab1f2f039c951e98cc26f158c0f93 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.127.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.127.ebuild new file mode 100644 index 000000000000..83c6a5e4fa8f --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.127.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 +}