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 2F351158004 for ; Wed, 9 Aug 2023 01:59:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B35C52BC033; Wed, 9 Aug 2023 01:59:29 +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 9C3532BC033 for ; Wed, 9 Aug 2023 01:59:29 +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 4FA0B33BF36 for ; Wed, 9 Aug 2023 01:59:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B04EBF42 for ; Wed, 9 Aug 2023 01:59:24 +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: <1691546349.94ed4083a42f07cd86deed0c06738360c2154740.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.4.252.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 94ed4083a42f07cd86deed0c06738360c2154740 X-VCS-Branch: master Date: Wed, 9 Aug 2023 01:59:24 +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: 53a64709-9edb-4923-bf25-0da5955f01fe X-Archives-Hash: 1460fc3672bc899dc6c29877297e96bc commit: 94ed4083a42f07cd86deed0c06738360c2154740 Author: Sam James gentoo org> AuthorDate: Wed Aug 9 01:58:49 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed Aug 9 01:59:09 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94ed4083 sys-kernel/gentoo-kernel-bin: Bump to 5.4.252 Signed-off-by: Sam James gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.4.252.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index b93eb67c254d..d009bdc24710 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -16,6 +16,8 @@ DIST genpatches-5.4-257.base.tar.xz 5959056 BLAKE2B c3c4f47328f4e3ade669e1cb4586 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 DIST genpatches-5.4-258.extras.tar.xz 1812 BLAKE2B f877002e5e5e31916f8151589a8ff3e88cb618345e708b6682f8c8babb9b4a09155481cdecaf21909c4db820c395525f2ebe439e3377b7bd1b60c38c90bd6bdf SHA512 593ac9335f7d10bd556ded4af7414a015be8a34407b2b7c3077749ac5903f10424c7ae0d3cfb63ccc12ddf275af5dc59feced7408c4fe77bbd153ccf64ca6d47 +DIST genpatches-5.4-259.base.tar.xz 6051096 BLAKE2B 5e2bb6e705b32039c4b468fbb12f04d3cb350c5527bba948d9e886121053b09a5459fdf85f7519046bfa1527b0564df00dec7e26503f5b88123777b3b7adf58d SHA512 924a084029414edf20d545ac178315001a23304f494693e5b22972a90487432ccd4fb76f27a667c8345fe6e4799121d7452935eaa8170de3347470acdc5ee729 +DIST genpatches-5.4-259.extras.tar.xz 1812 BLAKE2B 85ea3265313d9852afb36b984d7d12f200317c4e0253f1a6beec348c1a5345bef6303ec1559154289ad3d1779d532b72bb0624bbc62bad93aee428a6cdc8b667 SHA512 0aac96d085e67cc576d86c4f032df91e7928e6ae37fc6e07b1f3472f022bcb0592e96d21e8e496d3aeacea0fccaaf808cab42e507b310ed34263e9b97f587ed9 DIST genpatches-6.1-47.base.tar.xz 2915344 BLAKE2B 7fd49099198e9af926911b3a8831208d6c0ecb5047e8bc7563aceb23516328a1829c33b912f52d1175440770ed0394aa6bb3438ad92a9a81ed28ca6fdc6ee928 SHA512 5c0841c92d0f2bcbc81599568d882bef066f132b670334fe7728797b76665aaae170ee2acaf942228d5065fc95493fe33fb2ec2268f9d2bb54739b463b346b33 DIST genpatches-6.1-47.extras.tar.xz 3812 BLAKE2B ea44d25a1637abff3a87ec17e397ef324aa08d7f62865924a61f55cf85df6a1ae5b8a56ac1f33a61955bb3ce71b28d628d34a600a1834583ab94d4111e9f4810 SHA512 9f8c831530609f2379685ec3bbe545f2bdca86f139233dceb0b10d7259b8b1207188a8f95237483b13f40c6639c6f060df4cbc67e09249c24424bc0bc83fe281 DIST genpatches-6.1-48.base.tar.xz 2983620 BLAKE2B fd09d2c761c3652502d590ad189db668a27d48e2c0c336b1d2e96f9a90a3c365409d012319b6daff30e6039330b90746636e89d6e4f5bb302851b3ced0e57286 SHA512 5abc93002ba800f13d27ffa8bd9485cfb921cd8e43d4cc15325fa2b833eb334e062cbb9b751ff2fa285a7f61f0e0809366d58fcfb4fd4a71fc08f2e48669b5cc @@ -68,6 +70,10 @@ DIST gentoo-kernel-5.4.251-1.amd64.gpkg.tar 60518400 BLAKE2B 24ad6aa49985039131d DIST gentoo-kernel-5.4.251-1.arm64.gpkg.tar 56524800 BLAKE2B 644ea0426a030b1a4446a2e5f419389b6bf85b6d57ec9601a88c56c12e5e33b05ba8f6e60b9e70d7b3065bc24163ce1d33084cebf1e30607709e85de05fe723a SHA512 afcb06927725a59426e60a16fa6e5cadd914b863344da301bc4c70ee3a675a135d9b43c5c09c740ca35d9dd6716567d4f32610b37bdf6cd058bc591a238bea7e DIST gentoo-kernel-5.4.251-1.ppc64le.gpkg.tar 54210560 BLAKE2B 8ccb2c8e397e28838054f32a3c42700daf0121be7bd97ad0e127f8d29a922dd989d0c0484075db53fc5560fbda01a74e1fd542cd3a6cf66471070d89cb4d8dd0 SHA512 f91603ae1b69d2d83d19b335110ae2fce0f3fc173e7337023c8a010aba84c2108fca6bc25b996bf31a40327f4d6e2fdd236af1cc3ee50b4711daf95d00dd3312 DIST gentoo-kernel-5.4.251-1.x86.gpkg.tar 52459520 BLAKE2B 761d493ba92a1cb66a0e633f588c3e17f8112c8dd8acc33c1e347a9a6a9b7ec0d511bf64e690a054663252cd8c23e248dfff104fe6449f44578aa0884cd4b0d7 SHA512 1df8e56afdd5cb129497893f3cc02e00aa6d80390cc4a21d72b0c94d6b132a16370675737db158700863d0fdf4a1082ae9eb5e3438d571155e5d215ff7c053b1 +DIST gentoo-kernel-5.4.252-1.amd64.gpkg.tar 60508160 BLAKE2B 103a36d5b650c923a4665ea6b85a6b371646c44b1bcf77dc7bb1c1c44df88187768e8d2d585a56124f700deb3c0747c0fe6c4e14fe4ff7bc845e2dd9fc9177ba SHA512 3c12b09aae525aee9c77e04df211a26c8d2af6328a1482b543976f942fb5b016aab8cfcac6fb3c61a1e3613f5420076353883e66ff8c1e85468b2d51e307dcbb +DIST gentoo-kernel-5.4.252-1.arm64.gpkg.tar 56535040 BLAKE2B 371a419665710f3b20f4c69c5436010b3c80d3b84ea8d470e65d085f02a934c59808347fab90806fa181c15fcd92762fbeb13e548d5ff131053bdb3ed428e842 SHA512 a0374a4f370d376d4a692e9a1e8033216fde4b76bc8ec00fa7ab8b934abe8152d9689b080ed925eeb817667eed1c30ffe4cdf68eaf8601a1bd9c5f1828f86c53 +DIST gentoo-kernel-5.4.252-1.ppc64le.gpkg.tar 54220800 BLAKE2B 8fe1bc964c71b2214916c57c944f70435f166a833ce4ab5901fb6e9f2076fac488aab55568807eaef69096b9fd4963950eb4ab520de300f7c550e4deb11e3835 SHA512 80a5fa3e9cd45f530e3c5b6340ccef85e8ed6c5195ba2bb2033cc8a8224e2ece31734cf94d4f0a3679cb05a8a3d0f8a75966c2e86a4a02cabaf5eabfa48a37f3 +DIST gentoo-kernel-5.4.252-1.x86.gpkg.tar 52459520 BLAKE2B eed347e51baa059716ec888971b6156d3db5144aec685e06dd26b15fbf2d72f14329a9036c9d214ab3360a3252934e7b6c73777f7cbe171a495ae9ea1a2807e4 SHA512 beeb81dc21fecc228da558ba2245cd74799e002d293fc6e79e1bd45a61ae8f2eaa31e044409256e6f460c008edbc148c2a7ef260607af3e7e1f58c6270528bfe DIST gentoo-kernel-6.1.41-1.amd64.gpkg.tar 76677120 BLAKE2B 7c908fba9aaf2f196201a57aa44d53dd3fb63c1f9a15a00383a477822be9dddb43d4006fd5e2c197a006c36cd69d36b8835d28f047c1d3b37116dd6af0136f07 SHA512 8b7b707cc02ac67e214b9eff76bf08ba601d4942a7f065f70da17199a5b4bb981ca712d2fd1ed1e89f8a21bb0d1b5bba2b7466b95eabd1ef996cb1c2c9e0dad0 DIST gentoo-kernel-6.1.41-1.arm64.gpkg.tar 69335040 BLAKE2B 3b5b1902db029c52abb3c6d16516fd666aac7bd7013041e17f8ee8d77048188e832972834360d3f31213f2965d3535cd37db673d3eafc1b71f0a1a5ad077b8f6 SHA512 2458f474c66400a23dbe270c9b82aa43110fe6749809a2fd19a60fa8cdf16fc3aeb0c04abd8bae5e9730e0b97e8b5b8d3fda98fd6566987c33bcb8cf91a6dbca DIST gentoo-kernel-6.1.41-1.ppc64le.gpkg.tar 62740480 BLAKE2B 5afebd6e2bab219c45365dff041823484d762160aedcabc60dab1e05b4ea0e0a028251c34317550bb81da094d9aec2dea2dfde7238cc061ddad2f075934db24c SHA512 ce94ade1f2e585b127ef68bd38d7040f12316a1c8ceb53be4b2b54f47e70ac741f1c4188a785f6920b74f9f43f9cb27a9e31b33663792b9775cc55611aa6a2cf diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.252.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.252.ebuild new file mode 100644 index 000000000000..70e2f755ed95 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.252.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=${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 + 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 +}