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 80686158649 for ; Fri, 12 May 2023 11:50:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43681E0D83; Fri, 12 May 2023 11:50:22 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 1E668E0D83 for ; Fri, 12 May 2023 11:50:22 +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 B1DB2340D09 for ; Fri, 12 May 2023 11:50:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BFADBA75 for ; Fri, 12 May 2023 11:50:17 +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: <1683892210.dc0f82976582c3743ad485b41e16db06ddd7730e.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.2.15.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: dc0f82976582c3743ad485b41e16db06ddd7730e X-VCS-Branch: master Date: Fri, 12 May 2023 11:50:17 +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: 201e0194-c8d2-46e1-993a-8a3439ea01c0 X-Archives-Hash: d22862aa1dbdd30d0fe2dac7c7a08354 commit: dc0f82976582c3743ad485b41e16db06ddd7730e Author: Michał Górny gentoo org> AuthorDate: Fri May 12 11:42:43 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri May 12 11:50:10 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc0f8297 sys-kernel/gentoo-kernel-bin: Bump to 6.2.15 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-6.2.15.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index ffebe172c7e9..afb59cde7a42 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -34,6 +34,8 @@ DIST genpatches-6.2-16.base.tar.xz 768864 BLAKE2B e852e0feb635be67bbf0da77ca6c94 DIST genpatches-6.2-16.extras.tar.xz 3812 BLAKE2B ffc7e5852ee193ff8bf364ae77394e10c0d9cf8f21ec4f9886d87803be3f6152e632990be009b68f3910ba3e95d7c2bd30c37d6cbf5c49cccf497dffd12f62a5 SHA512 b17df7f12e2c50bfaab0a0a865e1a7687f058e6b4d6fdcd1b107c690e6869e8ad5c127a51ea64b55ce3dc57d74da05fa075f9d99fb3f0b24dbe6dee5d7fb4402 DIST genpatches-6.2-17.base.tar.xz 769888 BLAKE2B 517466cee5855a4e48a1d055b32b05f78c04931fe2460c57b5fa1aeabda22fd6063826423b951be57863eb50b849852f0b01c089badc030b2b5016a9d9d96502 SHA512 aefa91753cafe7babb994216e97a817318ca65e76087f176c2fd57cc2a41b8380c56966ad60b56567cf9f33b0b4f6386c143fe10ee78ec708ab6abe3e9d3a3fb DIST genpatches-6.2-17.extras.tar.xz 3808 BLAKE2B 901180e014376c5b043259536379814d23e6af899f25e550368bec932dd23a9c8280c68d1690d7420516807e14e55b4758f811a33c1a6a064699b147383510b2 SHA512 486349288c8b0230167b5985d163f60ead8e636c0eb5fa58e8aa99647427133f5780a823f449956d59f3a8f7bb204d4c37f62f062b9e104607a058b48ae158b0 +DIST genpatches-6.2-18.base.tar.xz 995956 BLAKE2B 402258df823b898522612e18c9d0c51c38cdedc9b4934961989de768c8feb7ce0287f3354a75a97a2a0bcad13e74bbfadff8233b22ae816149f9eec85c8c6553 SHA512 1162522ff7d5a4408b1a1eb5d220822cd5e3db11c9948dcbc011dce67d3022d7af643cff81b2900e91957bebe0f00589bb7db93617e800dc3837f3f537eb1969 +DIST genpatches-6.2-18.extras.tar.xz 3808 BLAKE2B 4c80c3e537e6ea6ea2a9d720127bd5a661417ec94ddb373d6301334108c9765e985723475c85dd0acadce92811b7bd1a96f68cf657a4e943f8be49bddf641eb6 SHA512 8a63c7432326af46c1d9c5e3170f3cae77a35b3c7ccf4ece155418915ee21b511e7b32e7b377976773a5e188d43eb39dc8f435de269779b5192761f21414db37 DIST genpatches-6.3-2.base.tar.xz 8036 BLAKE2B 754d46f15ab113a1bae41d154b47c4cde2a93df9dbc4333b93e7d3abc424ef19dca2993c25705020096ab9d500f794a852c4cff68f29907e7667edbec7503ff6 SHA512 45eb038e9118a2feff7625cefc7bbb96ef4fd8fa29fce118943dbd0685075fbf9c525202879abf6308d7e80e94b8e9704799e3c863105add026c86b97314d580 DIST genpatches-6.3-2.extras.tar.xz 3808 BLAKE2B 6eccde5d3591804ef50d800dc7ec4cb8b2192d805832cde3496c519bf4ff0f9eef62a76f1e77677df66a054ed1f1efe341f71b8f86b185b10145de8200bc2c70 SHA512 8d79b8c2eed3c962a4c8fda80934720a2ee1436d4e42d762d3f945972537491f415aa6b3615f7a81a727bbb239cd0277ecfb18c83a90ba57252674bf135b35f8 DIST genpatches-6.3-3.base.tar.xz 9340 BLAKE2B e163214c2f648a410b6253caf1cd2fa60beff29341cfba23674cf41712e11893c1f9574a1bfc4df797e69900a3a3f18e65399f5be720c58ab32c5780a41891c4 SHA512 8d308cac9a26c32688588fc8aa34f6798f5c0334fa01f3b813922ab46f0d53cde6c94a5c71817f929c5fd4f96741380da1d97c6ba6a3a5091549651c32fc99c9 @@ -100,6 +102,10 @@ DIST gentoo-kernel-6.2.14-r2-1.amd64.gpkg.tar 82626560 BLAKE2B 6d5467f0fb9ab9155 DIST gentoo-kernel-6.2.14-r2-1.arm64.gpkg.tar 71802880 BLAKE2B 59845eeade429b1a50e09323440e0edbc095b1afa5e7fd5fecbfdc7510a7fc677fbb0b130a46dbebcc553026b8b9847b150cc65fb6e2b99267a33325acad8ad5 SHA512 7f30d43162a1a1bf0283abdaa49014b99be4ae7ebbcd494d6d362a4ec0c934f5a337321d3f988016c9f6372f91a06b64e0a9f41baf7e3f2feb9724e78a4cdf33 DIST gentoo-kernel-6.2.14-r2-1.ppc64le.gpkg.tar 63918080 BLAKE2B 4398d590f60afc6cb8433d1dd4492bd13266ea02d288e4fcb3caa053126c22cd319e737b56c388f2015e6d6c5d95941b5f118a88dc08c356b9f2d741aa81fa16 SHA512 784eeaffb482b3a44f8dddcaf425b07728ef939c984d941e4354e740ec354afd2982539c05978fbc3108bffd7065c5d721a76ded8b27b5229dedebaf1a9a5ab5 DIST gentoo-kernel-6.2.14-r2-1.x86.gpkg.tar 66519040 BLAKE2B b780d822df660784c24c1abf626c2c372b45f2320a3e9350cb160a43655ceb7dcc86390822baaa6089d882afa50d2f49c191811bbfe4fc121914503db4ae4535 SHA512 be2bf89283698ecd27cd0c6bc846cb43c2eae8b9e21230aa369172d74f35779b5a01ac5d3e9eed89960bac14445e46ff83e21b4187fdc0ad591847347a12b687 +DIST gentoo-kernel-6.2.15-1.amd64.gpkg.tar 82698240 BLAKE2B 9fda0d955c58509d57a67f4d84054165d8f40bb906791ab0270f827502d6fe4c740659636817475614933d3d06859c59a32831d1325144749e6b7f65ffcb3c5b SHA512 696f99118d4df36477b2a3d73f463d2e0805e4fde334154471ef2e02bf20d26d7c35dca6e284c7e2828a12f6b8fad8ace44c51514bbed1ff2369394cf75ee601 +DIST gentoo-kernel-6.2.15-1.arm64.gpkg.tar 71813120 BLAKE2B 2549ccb428f778a10f0653005278b7317f32e9c2b4625f1ca7982b373daafd1539ff2e381ccbb2fca5785c0aeb6912844d88bb45230b077342c4386a49d815cb SHA512 bc788e87966012395e7bc4f031eba92bb3b4d85ba9a62c9d623813d7c166b718db022f0bcc1df13ce6152224a421fd7d8b68dbea12fb552c38efb3978f86ad15 +DIST gentoo-kernel-6.2.15-1.ppc64le.gpkg.tar 63948800 BLAKE2B 7ba131f8982c04bd42c40b94236a19edb4d7c54d35f43f80576869b3d6453f3e49ce1186f6a1c2dcad974a6c9d221e771c3648f985b8ca474fc112d116118adf SHA512 595bf5be2440f6a8d3bed48cba38e90127681385ab72c296312443f8ef446f05da661ed76fed0a31b5e90773993240d6f9add3ea43e276def833fad62bee61d8 +DIST gentoo-kernel-6.2.15-1.x86.gpkg.tar 66539520 BLAKE2B 67a49fe77fa42708f22bce6d79f3d784dfc59000b4d3a01e5f7cf0006a679f37bc1349a1ce9371dd9e6197e7416d6a5278636d36414024053118341002e1c007 SHA512 6519ccbee5838215550e971d352148e6778852a88e96671df0c8ce66a0fa8f0425a4f6bf05a887261b53b45dcd5d79c13da0a2185f205124f2e0484c5d1812ba DIST gentoo-kernel-6.3.1-1.amd64.gpkg.tar 83415040 BLAKE2B 25b01c8ce51ae47c9ac32c8eb42b1ba78ed0c889ccc5538f3da96db671b5e4cafac133fb23fec7c2b315e1c5306d68c6c1072189cc6889cd1774ab7ab7a2a241 SHA512 f01cafdc3946fb6583d2412892498320a5ce896cbf3f27d1138de6698478522a68edde3610b22f4b8126ac0907d4cf63f602e71643ed06f8a87ddcc894eeefa8 DIST gentoo-kernel-6.3.1-1.arm64.gpkg.tar 72376320 BLAKE2B 7bcbf05310a57d5d8417b13f94031f6876aa37108c8077a97c6d9e6ef67bc5052527319c0bdb9d470eaf398e6ba719079a8b4a121f900355343366c7ed749d4c SHA512 12ad556ed9b52774485de2e0a625a2fe3557425ad8c3971eb0988ac85ae17cbe4ab1bce5e8360cd28b12bf731edc1f6c8c60fffa86240fb45adc9ac8a7f12341 DIST gentoo-kernel-6.3.1-1.ppc64le.gpkg.tar 64256000 BLAKE2B 4c094238f14f221fd42598b6dde1486e07f0998b51d834428ec294aa027d04e8f9dedf6c5d9129a12bf361ea4f009f5271b8bf542575e5dbc056d14eec4752cd SHA512 33ab3fc05bec10552e58796efaf63ae507af546b6edee2ec6111eca564aba71be1de00a1427386f0102b0cbe10b44e35ec8a2bc44f1d0a799bec7fcc2d85c695 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.2.15.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.2.15.ebuild new file mode 100644 index 000000000000..ff865204fd12 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.2.15.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##*.} + 3 )) +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 +}