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 C243015838C for ; Fri, 26 Jan 2024 14:14:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80103E2A1D; Fri, 26 Jan 2024 14:14:44 +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 5C96FE2A1B for ; Fri, 26 Jan 2024 14:14: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 68CF03432CD for ; Fri, 26 Jan 2024 14:14:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 64FF414C7 for ; Fri, 26 Jan 2024 14:14: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: <1706278471.c771f3093b027956f3e5fe73b77ea228b59d7a3e.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.10.209.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c771f3093b027956f3e5fe73b77ea228b59d7a3e X-VCS-Branch: master Date: Fri, 26 Jan 2024 14:14: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: 485da5f1-11cb-42e7-8a33-3f3f1832cb95 X-Archives-Hash: a22419eb7925b6b753b474a2cbe4a28f commit: c771f3093b027956f3e5fe73b77ea228b59d7a3e Author: Michał Górny gentoo org> AuthorDate: Fri Jan 26 14:06:20 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jan 26 14:14:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c771f309 sys-kernel/gentoo-kernel-bin: Bump to 5.10.209 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.10.209.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index b6d4211ff827..4a6f9da4a12f 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -1,5 +1,7 @@ DIST genpatches-5.10-219.base.tar.xz 6357760 BLAKE2B a269d5841d3a4b959c6a5ac49cac174a619463ff0792218d2c9311b22b54202f594b5edfed6fda147cbcb20a9d11aa9b886538e898c1442f8eb456a95b6ef5ce SHA512 4938bd81ccbb600e23a4d48096cfadf019e01324d8239a358cd1e0c506a16724ab7d4ec018bf48f6edd1f20d15e1db0c17bea98a349327fd51fb01384aeb2518 DIST genpatches-5.10-219.extras.tar.xz 3872 BLAKE2B e750906a1615f45077bba557296d5fbb41cffbb909e33b61280dd35846ce13cf3ecf2620404b348d17bd26cd588a7edffea97c3be3ab78fdbf9ab6737ca4f8e1 SHA512 17ec35b053139a93997b5a3c35a7ba61d6ef87c05aeef3ca06eea3bddf76ea5e2e10664d304a673780e3543791c46580548ba4dde40fbcb42a86a484408af57a +DIST genpatches-5.10-220.base.tar.xz 6420640 BLAKE2B bc737c88f1e7eff80ccb12513ddbdbf9a2598477d691678c94ba3f261187d62af91dcb309b0a3d7b0ac97c1ef89d8aa774e179f97bd950bad022580447889492 SHA512 3b3b423b5f6ccfa0a74a567b1108c2027582b78409ca17f4044214fb3cb3586ec0cc0eab6bd2f5dd49f13fdbedb7d78a0ddcd596347ae0a26e7a6b6901ed10b4 +DIST genpatches-5.10-220.extras.tar.xz 3872 BLAKE2B 71384eeb192c4d3ef24e28cba7848a2e51ec6b582d0904593902f15d8f03c33bd4155e9ec8b52b601af399bccac2c52b3892109dff151a89f636d9f130306e02 SHA512 e8b61757336cd513bb7c49725c569218a749ebf6782515a30c63c1d9ac922f8781ceb6d5399437889a281ac393970c09fd8bf0327f0de45cb8de1d604d49fb0a DIST genpatches-5.15-156.base.tar.xz 6004636 BLAKE2B f70c2a3bfc3d65fea8d4764b953d147a1725162aeaf319701a3d4b1d47c846932c4c8cd009bf81b4ce33754e966dac4630e2f690c403ec5181e3cc122496db09 SHA512 4d2fd08626d433d7230b27fb1cbd8a3fec9a942ddbd01988dba8632f25b510353b5086f4db1d529b88770e579189fc7bf6a4d02828c662fcb230e51efbecad9c DIST genpatches-5.15-156.extras.tar.xz 3936 BLAKE2B ad08b5d93b943236326d333c627ae8cd279d78fd2b8f8df420ce75be815472dca9785b8eb14015ca2dbc92560a8589d31b9f9edbf81280c85d1ce6fe58aed0b1 SHA512 580ba97a039ff7417b448d4df13b67ed262b7a47be449515ca80125a89b5da3eeee773757db6ff7389b501daee6ab708e19dc2713088ee118859e1e9d3f4b303 DIST genpatches-6.1-83.base.tar.xz 4358680 BLAKE2B 0ef9de04e2bdbfd4cdf2942ad1e1b27b8a314b07409cd7c140d0cc2783679a135eedd7d08860ed9fb6256115dbfbcbab5cd3d15522733bd72ec3d4d918fdc96e SHA512 544630385153defad073422da90ec6710d0b4e3444ca1843017b1f1b855add852045c0a1d7e8cd68c037746c4c23e8ec24df747469e177519384ca2e8185cfda @@ -12,6 +14,10 @@ DIST gentoo-kernel-5.10.208-1.amd64.gpkg.tar 63252480 BLAKE2B 659253d258d12ae264 DIST gentoo-kernel-5.10.208-1.arm64.gpkg.tar 56729600 BLAKE2B 3a57808162fac71ccf1f9539d268680f384476b1c497b573be141da8a48c68299562bf206813a0e35ad097b426fa70a14956b3ac474117e7eab227cf3f780230 SHA512 18beb0123749b717a21438f26aefb49298e392e57b517a7be6012d484d6dd80968d87d78d0c48cefd2edf45885d691ecfc2cfbc86481188c296d4afc6187b975 DIST gentoo-kernel-5.10.208-1.ppc64le.gpkg.tar 52879360 BLAKE2B 34db7f65b4213a245e96716aa74af9fc2bafb67647f76681abde762c72a3b4c1d4b8dc8c98e3a5fed51ddc6c49baf6473a8717fcd596d4e2ebcc9aee4df8ded1 SHA512 c0704b57a4de8bcbfa04f683ff5155ba022774ec22d8ef7dc65bd14db574e95648ea67a5340f7c979d57c14bcc779fe1a53007da249c8d6b251230fa9f04af98 DIST gentoo-kernel-5.10.208-1.x86.gpkg.tar 53565440 BLAKE2B ec03e4934ca8108f296da0c2b3fd8f265209714cac59b05760a5ff6c0a920b48a2558121feb6840b60cac716a945396e729b583f0730892fac007f11b5645c0a SHA512 c003b02602a27b45ecab6a38ea058ddb999fa9d7285ad7a39ea858f24165d4b495c856c4ee1e8ad1e005ae214a7c392a03143e2084ea1eb9c3c6a78928afd839 +DIST gentoo-kernel-5.10.209-1.amd64.gpkg.tar 63272960 BLAKE2B 66fba0e3b83fad66c87a2ab9d5c5a01641e54b48cfd7102264ee49597000888223bc5ec9e6c1a4af75ac0b05ed5e0565eaf1646b6ffd5aea39ceb9cc6a69ad3f SHA512 8d605ea4daad4c1fdcc472a7fc50320f87cc118d8d92a8fe1c3b8bc6dc45c6b8a6de312df4c13405042a3c1426d51ad62fc20ebd04efa0368a3d2061bd02b942 +DIST gentoo-kernel-5.10.209-1.arm64.gpkg.tar 56729600 BLAKE2B b8c1d52c2a13a899b18328ba7ffe51bf67d6c1a802569ae5ae2abdf57676d28605451c3da15b6fdc96584e3fefa68330ffbd01c5c196a3e3a948056998379734 SHA512 5dca9b10233e8eb973a9e3dd9bb571b900afa0d98569a4e9388c4c40d2ccedcbacb7a1bc90908ed038bfd5639e11ca05fc5234c9571752f308769c5de6e444a1 +DIST gentoo-kernel-5.10.209-1.ppc64le.gpkg.tar 52869120 BLAKE2B f92afb6f8985ff958103c256f4f2c06fb38c1e0495bdd07de0f0a4ca12f5bc7f567172c24d27c27cf83e375c32e929b7e65a4f4b1c3508ecc0a01162f8f85bdf SHA512 9cb7a12b7b672b3b82b23153b0afd91cbef0906f7cc0458b8f34bd5cf389afbde8d3cd162726669be6cc4dfe2302ceb51d97e0937b7ab4afc5d06fb6b0f8f8ae +DIST gentoo-kernel-5.10.209-1.x86.gpkg.tar 53565440 BLAKE2B e99f3440f24dd31572a52000e526fd9c1fca236aa39b808411659738f4d9fb52672a452550dfb8d948183dc35ce18706c4d96ce63372ef221001fcfaa8744bdb SHA512 91d354a178995c4fa6e42a7001efd3c4c16005a5b7e3f4f9db308111ad905a16ceeb6a5dfef88cc6ecf67035b702e25d2bdb7e9e1ec26b2117dad785ebdaad1c DIST gentoo-kernel-5.15.147-1.amd64.gpkg.tar 66324480 BLAKE2B c6d5b1c2cde86c3573049ef89b5baed82fd871e539ac915e271edbd65e07b4a9c778cbe7076aac2e21cceb4a129ffb1f33c8866643bde65ac926b073f4da1985 SHA512 65a50d8664b37cd09e5923a09c96c2915e81fda1ec8fd14cef8723db3f52c6df1bb5247ed1c9414571bb90b82e01180d90d42711b3e2724bf803cd16edb237c0 DIST gentoo-kernel-5.15.147-1.arm64.gpkg.tar 59740160 BLAKE2B bd2f87241c5738ed3a2d7972cf48323956133b4585d12bcb24762b9d05a56e3bd9fbdaf2acdf08579390d5b1c0b7856e21dc2a64f41d55ca431eb186f917cc8a SHA512 d30158985928568e750c7c50af8e6faa6d834788280c2fced33f93ac83dd6b8997ffaa057c077ff508d7e454c92537806dc87917609194ff2f3b1a10273ff91d DIST gentoo-kernel-5.15.147-1.ppc64le.gpkg.tar 54978560 BLAKE2B be4b07d1addc879ed061b2a3f9202d18de049d28df52350e021c5559e29c11243fa11a787a8239cb779b2eca6b6faeb4f59450c309ce4e7c340f8a303ef8662c SHA512 2a93b8ff166cbc6a1cd34836c7094217ba82c176d5d9fb313e5db47b281ac4d837dc286f580d291df45b159cdd13eeba5deaf7f1ac5f2b4237d5e1b276787b55 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.209.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.209.ebuild new file mode 100644 index 000000000000..1a44f330be18 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.209.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2024 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##*.} + 11 )) +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=" + app-alternatives/bc + app-alternatives/lex + 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 +}