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 7212F15806E for ; Thu, 25 May 2023 14:38:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0107CE0864; Thu, 25 May 2023 14:38:46 +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 D0B93E0864 for ; Thu, 25 May 2023 14:38:45 +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 DB766340F66 for ; Thu, 25 May 2023 14:38:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 183DCA86 for ; Thu, 25 May 2023 14:38:41 +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: <1685025513.e399885e76819c4407aab365cabe6bb5153b1a4b.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-6.3.4.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e399885e76819c4407aab365cabe6bb5153b1a4b X-VCS-Branch: master Date: Thu, 25 May 2023 14:38:41 +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: 26d73c5f-b5da-4777-a34e-367f516e4ebd X-Archives-Hash: 91970a58a5b23fbffed5749c46ba67df commit: e399885e76819c4407aab365cabe6bb5153b1a4b Author: Michał Górny gentoo org> AuthorDate: Thu May 25 14:37:03 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu May 25 14:38:33 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e399885e sys-kernel/gentoo-kernel-bin: Bump to 6.3.4 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-6.3.4.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index f2a0b35d138d..67dc8827506e 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -28,6 +28,8 @@ DIST genpatches-6.3-4.base.tar.xz 243812 BLAKE2B bcd9f63e6015b075a589becbb6246cb DIST genpatches-6.3-4.extras.tar.xz 3808 BLAKE2B fdc95b7e9b191bc5eb19215cc1a381723242344a47d8e7a6ceb460d49fcbcabff2016a9ee0fde254e2461b54e145b2db2d5add045da1392fc86f1b11d2aa5c68 SHA512 f28b91dd378c42b1f170e29d851d8c7dc78b6b07243231b7b784ec596949abc8ade382025632e2999e395a28c3f38c56e2a439d5e62065af019cb25a21a29104 DIST genpatches-6.3-5.base.tar.xz 341152 BLAKE2B 19c68c1d0d56049a511ee2d8750d977135ea23190ba6f16f5b75fce668f990f30f7f91058ecb2259e7166796c9a31e52be0e00fc2079b6a28b8b59f5570f165f SHA512 0ab9b37233031faf698a5cde904a3f10f4f0e121090145a625779872c9010f2fbd9b04223ef9ab2456a3caef22e8111fe6be68e7474e73de142609877d063939 DIST genpatches-6.3-5.extras.tar.xz 3808 BLAKE2B 2ab3f27742dc7af2b9b6d71d4fcedfd9b87ef075e576ce09163a322600ac079475343f4eeea0567a61df3674c4a65abcf386b20f80b12cb6e7d283dcb3ed13b2 SHA512 3a3ad91bb119062538d41552ce97eae8a1f0f1f5c6e3bf1ef40010b6d543a39120d8363ed6918cea9fbbfce4bb133db2bc772c629d15ca60a6c734e332f03603 +DIST genpatches-6.3-6.base.tar.xz 465876 BLAKE2B 37a603ab125f5485534e5bad09040edfae5d69a13c970aadaa8e9b51d9ddc58b3c1bc085cc3e09a1276fbce275320e6667f62b3b3b7e6f45f71f2d2baf826da0 SHA512 c0a1fcffac9b89dbdc763b406f9227edb2975b7049ba4c1f77d1f75806b9ee6bb770a99fc39947e7094a451218b7a77ec73d1920903127bf725cb9b58f7b34e4 +DIST genpatches-6.3-6.extras.tar.xz 3808 BLAKE2B 464a1a9827d0ba6909a50e58b1e6f6b8a99831b0572e119522b863ddae5425cc3765a127727802a8fb02ab5a952b59a5fc07468890619fa29178f92b557821d8 SHA512 6045fcbd6ed73c5d82c500982e494893a8f58e643da540f5ed8a4f6202b94529ba2b10d16ea79666aab043acda8aed201442ec654bd707a8a7f490be4d4c9cce DIST gentoo-kernel-5.10.179-r2-1.amd64.gpkg.tar 66344960 BLAKE2B 03d3655526dfc67e16ba74ecacc8e030538cec241905ff384396740482fe64f41d7c05083d86293bef2bf699488b1077bbad7630a92fd20a03d22327ba5d7f97 SHA512 fb803d494229b41446cc19fe24d4169726870faf8501edf1fd07995128d86e1eaaa332aa870f45573ac7d8098dbd80787277bbc5495164735323e3e8f5f98044 DIST gentoo-kernel-5.10.179-r2-1.arm64.gpkg.tar 59361280 BLAKE2B 39210649bc4d6eb700e437398ddd8af194f5266f2981fa5d76598e55d25a11a25d3c19c49d54053cbea30e496dd30a22349313fbadf5406b31bea1747fdf790f SHA512 5e41a249f119a896a33c98641bed0a2ff950a7c3ac64da5f46e175014a49a148776f284087d101963265865c92f63f294101cbdba7147eed9a9e3c9cee4d0616 DIST gentoo-kernel-5.10.179-r2-1.ppc64le.gpkg.tar 54917120 BLAKE2B e26d55c08e6b87cc77e9ccd414685075288f7e148a600930b6e4b47982a9341e7349a3898bd31ecae7ace7f8ce397634147141762e72dc9829581894fe2f68fb SHA512 04239ac68eb092d19852122a952669601674d69bf7c12a11a12f58bb7431fc6db199552e053c8f3c8b8661f15251fe16b099482854a96bf25c6a9790c36f1159 @@ -88,6 +90,10 @@ DIST gentoo-kernel-6.3.3-1.amd64.gpkg.tar 83445760 BLAKE2B 85beefbdf4d4bc281ec03 DIST gentoo-kernel-6.3.3-1.arm64.gpkg.tar 72376320 BLAKE2B 4432c9d4a335db10c3c488b54bd5dfab9028d9a6bfbdeb8301d2a2936dc46ddc6ff8cb78ae63cfc2578a8246a3214475c0aecb3a54d731bfc44afcc192d14f5f SHA512 4e5b05cd60f547f75de0894b914f647c8d29422a6fd838f15c958da0a38d8245a61dc7c6016da4ea13c29925c39ff16a21bac67692580c2e61927b5bfdfe011a DIST gentoo-kernel-6.3.3-1.ppc64le.gpkg.tar 64276480 BLAKE2B 4ef9a4ef6bd9e67d73fe569cadf76079f3652612c1f8cb12450ae3582d210fa96d0a804d36d37810a3946936fa7faa69a597091e51795858a0ebc2ad6d18c57e SHA512 01e521ea9cdbf3924208b29a35fc31ed7f5c3c44635077994ad3ee94d98256431b985a77799a05b1581791290c038e837d2e83a12edf0c7aa6980deda9979cca DIST gentoo-kernel-6.3.3-1.x86.gpkg.tar 67020800 BLAKE2B 525166faca848992089b5fbde1b70a79a2212f6b2de2e1ef1df7b301cec3d88c92b7d2d3da476a341b9fd770efbf2f9345c3667de26dacff59f93ccb54c91eb6 SHA512 015d719b7ed3ea24654ec4a30ac6348f55e139818d0eed87b95c9a54a0bb183df1aa9054a2d6a41e34caa21eb717a34b15d8f8b54a5131bafe0ceb93b1dd698f +DIST gentoo-kernel-6.3.4-1.amd64.gpkg.tar 83466240 BLAKE2B dd44b20cdcf618aa7d5c566f95ccb48d9369442626a83bbfa8938629d232c67d2096c5fa8ea0dac3bc97b181b07e98861bb2a64dfcb154ef1f05c26dc7f4a7ce SHA512 4a6d3d03178e067214c0a2273c060c99a6e01921cd266af5dc8f043ff251ae3da66329c4c7c7316e1c19c659715e9125dd5bd3639a5df727063040b6ff3e64c3 +DIST gentoo-kernel-6.3.4-1.arm64.gpkg.tar 72396800 BLAKE2B 2124161591c60f63cb8f9cf033d1cf1a2bdcc62c30e622b2823197cf5e9c31b80ac2e5b772374d45b9e7dc2991b82144e4136ad4aa3482943c2fb0d796b050e8 SHA512 330c6a2e48cc48dac9e36126b31ef5c242ac023d288c5b34bb7f99f46be9c9634f900a81fa75b0b3acbaf334e12b236129e22650ef8799e210122d7a91c9d268 +DIST gentoo-kernel-6.3.4-1.ppc64le.gpkg.tar 64276480 BLAKE2B 311906fa9c58f1edc80d676a1fdf95a4eae8362860f3301841ad39e96cac524588ae74f403b9359c7c9fc30470b4b5a870f27669482c586348c8486937997467 SHA512 731f481b6176dca2a45d22d4a680def972bb0b4dcf2e14a2257a81dd18de795e692eb5ef2c1bb4c922bc363362ece95918b85debbc8446105d49b58726fe3572 +DIST gentoo-kernel-6.3.4-1.x86.gpkg.tar 67031040 BLAKE2B c850d499060d64e3e7d90d063cad6373254bf6f4a361e68a0191acb20926c15f209707d922c42c1b1efc5095cbcd49a0ced0f0c6c71316d0743798a24b68f237 SHA512 cd4f4ada9998a764676621b296814a35dc04bfc071debdaf6bf56d15b861d89c224410deb4c17a0fcfe86773af0fb6ef1b01aa97ca70f4b184137046ec509596 DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.3.4.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.3.4.ebuild new file mode 100644 index 000000000000..3cd8c6516903 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.3.4.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##*.} + 2 )) +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 +}