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 5E2DF158020 for ; Sat, 15 Oct 2022 20:31:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6CC1E0938; Sat, 15 Oct 2022 20:31:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 AFC27E0938 for ; Sat, 15 Oct 2022 20:31:28 +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 74463340F93 for ; Sat, 15 Oct 2022 20:31:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 11E1962C for ; Sat, 15 Oct 2022 20:31:25 +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: <1665865880.d5615c35170f032600658ad46f29b6ea813b00d9.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.74.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d5615c35170f032600658ad46f29b6ea813b00d9 X-VCS-Branch: master Date: Sat, 15 Oct 2022 20:31:25 +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: 509f397a-c397-440c-a5aa-0b0752e2fb5b X-Archives-Hash: 391c539bfdda99363faba28d9180887b commit: d5615c35170f032600658ad46f29b6ea813b00d9 Author: Michał Górny gentoo org> AuthorDate: Sat Oct 15 20:30:35 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Oct 15 20:31:20 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5615c35 sys-kernel/gentoo-kernel-bin: Bump to 5.15.74 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.15.74.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index a9df46aa9a25..22fe0112e028 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -12,6 +12,8 @@ DIST genpatches-5.15-76.base.tar.xz 3052120 BLAKE2B 679e6bf674b8ee6d550984af7c36 DIST genpatches-5.15-76.extras.tar.xz 3932 BLAKE2B 32f0645af1e0c0e4f2312a4310e955c3c12d9b802e3ebce2639f3e0f331a10cc2be237e43819921b5478c5ac6e430ea77671b5f08a0e6398744f018103875c24 SHA512 7cccdf49806cc6ede16dd3f0e16be89fdf8022f01005db3026467ceb680a36c131e3342b4ace26d77e25dad628de98dbdfed0658ab9ad7e41acbe6573dd1cabc DIST genpatches-5.15-77.base.tar.xz 3061748 BLAKE2B 2089ee718aa184767b7064d6a4658b57ee62819a28aba721fd42b4e964cf5d06ba043c1e562fd5f133ef59b82d775c145ab9b17acc66169e9cc8731617f2fb67 SHA512 099d0dfa44c537c8d218c0c116a5baece3e6989d5bf987dc8b7853bcc230dfc8cf50a09dba70f1d9af76101cac69c56a29d5cde7b859d5b9f18ba7b00935302e DIST genpatches-5.15-77.extras.tar.xz 3932 BLAKE2B 0704cd3c2bba649f0c9d082eb5eb42c18acf9ad2730e2d1f34f2346f01b685da7fdcf585c92064b44decb4f20db0e89fa1eeefd84f390a0a00023fc1495c5ce6 SHA512 58562c0c0e5a21ab7eb9db11e704ff3129270004a058e4554cbde2fa05def964f1dbb194c1f2539d1e3b18a39b7caffe8c0d78b6b7648133af3c30c10c78acf4 +DIST genpatches-5.15-78.base.tar.xz 3076864 BLAKE2B e868bff991ca299fe186380ef4e7222029fadf1eda5adf66ac6861fba5febcb222c69db93dedc3280c45a4a222f5800a497c12dd47425071b7dd5263ee680c3e SHA512 5018436394bc934ee2f0b50a3b012fbf86a615108bbf16d18d636b202d66d2bb75d9b04cabb87e75fbc7360c137ea52961609e90643caa2d9779628fd3292b60 +DIST genpatches-5.15-78.extras.tar.xz 3932 BLAKE2B b971f35cd6b525ea2fa675909790f489b66a1bd96403d12acf47ac2cb00218181ad267649d143e37f2cc775f4892c0e3a24817c9270c27c7b937b69ad002000e SHA512 6973da0d4dc2d48c5c481a45581ca51449957bb662dc8520ae00a23056dc25f2b9d419cd2ccf9fd5244313ee2eee0b907cd367259ae1d27cbd226bbe8bbced32 DIST genpatches-5.19-16.base.tar.xz 886340 BLAKE2B 1b0a22eef6f1cd4fb253301b31ded1113753b1747ae72ac7c3a2fef198d5e28365d3178ffe5bdb7b17e5d4b07066d9c8b4dfb5123e78211f3cc04a3d474daf5d SHA512 c98d8388ea0a494271f0b5601328893f46ed5ea36ee1ea1b020b8e3aa6541ed6141c9ebe20e38d02212a076d8a77d845f878cec8a3813d1c455f70c9be561304 DIST genpatches-5.19-16.extras.tar.xz 3804 BLAKE2B c7c5132972abcdd38803412ee035b1630c20da683c8fbc7ef6e51441fe6f2b4b6d33ae085d257ab5b15133ad858be964ae97bf0ff9ff9a06bb2d91ee202bf23d SHA512 afcde123ca1152a76fd882886b5f7fbf630da0dd4a5b201221d6afe247c1e83997a691a2ffdbaa6c292343bbfd2676bcaa59fb118522c0dce46c956737a7ae74 DIST genpatches-5.19-17.base.tar.xz 901072 BLAKE2B d2ff01c6afd7438ecd091cd432929dfcf6678517e9887b671bd8f5afe350494060a7ec3dff8d4ada6dea3407ae6ac6b9697652c2427a037e47f447cd8cd03ff3 SHA512 476622b17702a84176eba5b8f4b74f0c65f2258686023b99c622b4f9a19ab11b75ff4bf81e733c9d287011296ac6f4f0fe985c637451957dcb84cbe97e4b8fdd @@ -48,6 +50,10 @@ DIST gentoo-kernel-5.15.73-1.amd64.gpkg.tar 69765120 BLAKE2B 58e562bf8905145fb0d DIST gentoo-kernel-5.15.73-1.arm64.gpkg.tar 62853120 BLAKE2B b035d8d87a1466cd5a411ecec336d43d1057cc8708f57424e124494497892dee251d7ecf18277e5a96fd06cfc198eb9de8a34d1d6d4ed2b8d560c374b6c3530e SHA512 fc3c8ada9ebdb00954e8c1594b07f2365abb82eb543b3a2821d4d4e8f9476dbcb5e5fd7148d71012d0a47808bf38b83e747ddca319a5d93ef788f88a087a6fb9 DIST gentoo-kernel-5.15.73-1.ppc64le.gpkg.tar 57200640 BLAKE2B 3bd90232111c3b596a08127eb3e258c94968033f8084d6d25c10f6333b58d590b67ba922506e25b2115fa2538ca8b9128088bcef12cea08bcfc1b42f08ac193b SHA512 4ba2320e8202e8a86cab1b8499f7a47ef68541e18e11511b615e2d31281c7eb9bee6c8cab93abcebd6e7a31ffa279fd1662b9d62fb012fa4ecc626adeef8a98b DIST gentoo-kernel-5.15.73-1.x86.gpkg.tar 59105280 BLAKE2B 35536d86698c426f66d02c1545484d2e9db5e78364f564ab70c838dfa5c99b6ca3b2d60b4ccf24cb9dcf2ff739afde057fcc8b668306cdd2dd276ab65c86a37f SHA512 5943746542cbdfcff1fecc42187151bc1c1fb22d7cb23a48d27590ae20bbb03fc2cc28fd0dc296d669106ab73c45e260fbe9865a7bdaadf5750801af19f40a74 +DIST gentoo-kernel-5.15.74-1.amd64.gpkg.tar 69908480 BLAKE2B 377403f3eae31f8ab48a167f7b2fd292c5fed9972263078a5eae8a0b66807aaa2b4f8e3fa2bedfb07865892c2701cf41111746591e58c794d1bd76ac187ee178 SHA512 a1651e79575406d2f3fb75c1f342de21be603fb3fd08b531b3ec7ac59d11cadaaf4dc857d693285bc300e0b0f1b0c755a369ae37ec67909c6627d5938f5ba666 +DIST gentoo-kernel-5.15.74-1.arm64.gpkg.tar 62986240 BLAKE2B 48394734bd5b23bf44535f41ece63640da5cfe7268d3e186074cd416dfb8dca2ce887758c436525c1ac8fe4e198ae3d74402953e64e86b09367bcd6230292180 SHA512 5155ba03a4067bbbd580e0ab50c82df032dac4ab410e7261c70738643bf66be3754f3dd5114c31fc740d315b1aa7882a16228fccf3bf72c91cc24eccc1a6e5c9 +DIST gentoo-kernel-5.15.74-1.ppc64le.gpkg.tar 57333760 BLAKE2B 1b0f791484aaae6016ee4f4a4afa93fad2bd96fd98defaa41c5a04190170b5b348ec5a8aaeabba688cd484394311eb207009c776a9850376a133d1b5ea0219a9 SHA512 b8c1cbfb173298fcc58895f9c2d843a1b344beaf8ce6901a76314dee909c65fc2e943f1100b29897cd7c230ad52fe170a5beb2881bff11fac6ca03ecabfad73a +DIST gentoo-kernel-5.15.74-1.x86.gpkg.tar 59125760 BLAKE2B 1b681566ba797791884b90fb43402e7b4a3a35bff7fa32da6142ff159023fe81428e5e58b2be46443939a97b4832bb3ff338d2642a6c406e8039d1afd024f8fd SHA512 0fae3167e687d23802816eb115e1284b4b2f48b569f45a4dff9aee7f9b7a192a80cd8b5d2cb0108b36ee522f4eb9b4d995c7a034b34f15b06474c3a4bb9d9773 DIST gentoo-kernel-5.19.14-1.amd64.gpkg.tar 72499200 BLAKE2B 58dc9e8b299122b5d6203f30cc2a5f7d3fe44339de563fc436e834e04b2887ce5ee74393d429ddf097919da3657dd5be4da09402b95801ae9425d6e12c59fed3 SHA512 9cacfb8869dba2a77815d69b9198633db6f224c8d5ff482b6bc8744192eb52c162e4a1bb4225362eddec80ffc05deea1f20dc6f94c14ffef85315d93552bb88d DIST gentoo-kernel-5.19.14-1.arm64.gpkg.tar 65054720 BLAKE2B 7f6df416281db4d2cc42f0398e46e99d096ea33de49512d55d07309cfd64d7b8df915064fabd7455316e20c01cb54edbabae836f5c4fd1b0a7862cb2e0bd8b7f SHA512 1468f77ff409e61e970b24066c471ba1cff442e68b4afdc3c32317f79d90c329125766f7be6dcfa47137c50c409cb9801bb4e318a82937209a273e21aca7cfd4 DIST gentoo-kernel-5.19.14-1.ppc64le.gpkg.tar 59013120 BLAKE2B f7c23fadb0c25eb27e8c0ff90d88ac430bad6a4ed5c69c3f7131c5a028b09f887220ce7af1d6cba0283ad7e74b512d46978f48910cd99dbbb69b81fedc9108ae SHA512 89a314401ae2a1f72fd54c94c79ba662dc03f2b8ba7aab49b319b3aadbad99d4458630bc2b5a8d602b7cd45a6327abc82afd71bc055b1be0e39cabf0c796a263 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.74.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.74.ebuild new file mode 100644 index 000000000000..9c843f83530a --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.74.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2022 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##*.} + 4 )) +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/~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 + virtual/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 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 +}