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 3F8CE158094 for ; Tue, 20 Sep 2022 16:55:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A795E0C2D; Tue, 20 Sep 2022 16:55:43 +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 F0A22E0C2D for ; Tue, 20 Sep 2022 16:55:42 +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 E84C5340D3A for ; Tue, 20 Sep 2022 16:55:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B4FA5F8 for ; Tue, 20 Sep 2022 16:55:38 +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: <1663692929.d55cc9ee17e610b3a71bd0447d51c1d65b1ec9ef.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.19.10.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d55cc9ee17e610b3a71bd0447d51c1d65b1ec9ef X-VCS-Branch: master Date: Tue, 20 Sep 2022 16:55:38 +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: 06805c00-586b-4841-9039-ce43f03bdbb5 X-Archives-Hash: a7ed8189061f819685bbfd0520227e42 commit: d55cc9ee17e610b3a71bd0447d51c1d65b1ec9ef Author: Michał Górny gentoo org> AuthorDate: Tue Sep 20 16:41:08 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Sep 20 16:55:29 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d55cc9ee sys-kernel/gentoo-kernel-bin: Bump to 5.19.10 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.19.10.ebuild | 132 +++++++++++++++++++++ 2 files changed, 138 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index acb2a1b16f81..4730a369c44d 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -8,6 +8,8 @@ DIST genpatches-5.15-73.base.tar.xz 2997804 BLAKE2B 8915a7983e7766c43e7e4fb91f38 DIST genpatches-5.15-73.extras.tar.xz 3928 BLAKE2B df7fca514f8db011bc263a94cba0406c7b95d2befcdc2f50600b1e71fce6a4e7314624a4eda38ae2037f4eddfb6ca4873b407fd075ed4b5ce23bd326cd03c48f SHA512 d4d5562d77ee0419bd17e0f447c84977a3adcb598655ea42eef83ab5452555dca4e2dee2355cf834c215cb22b12c9ef809da80108375d3a3aed09fff852681f2 DIST genpatches-5.19-11.base.tar.xz 766852 BLAKE2B bc8fa5969dd4c75920a094b5135f60d728a36a431fb5213c338f6308761b7f8ce24e3991a2de70b7c2d87a9256cafa3b22db7c683e38fe10363b15043073092f SHA512 6cd414842f48d9ecf85e0f07fd930e526db089720efaf95916b8ec9394f458a6b1bf178c8e55d6ecf9a7ec5520cc43c50cf1248a8c3467ed069594123586ee1c DIST genpatches-5.19-11.extras.tar.xz 3804 BLAKE2B 3186d10e8a31ca501f36ae3e7945acbba7a17cd7d006b51a7a4136d2c1064efb070fb7870f4b1959eb87456131608b5d31a91987c79f8720b267537a38643211 SHA512 10c4b7c51bf4a891ee04826df0da29096e31601126435bcde168f7c3d32416395844e03d3fd55b9b225c7c8dc0216ae8691705c53786f06e0350f6fb1ec03f69 +DIST genpatches-5.19-12.base.tar.xz 780072 BLAKE2B fe63576626355f3fa1638ca4de11e63342b6302c068401bd6990b56ab96d28f7bfe3066dbacd28022e5117347980e19df06dce20b021d67fe5830c71bc722470 SHA512 ae55b6c32eabe68ea2a1d4a319b0ecd5204be1236275b6d113c9fb44ff449df61e9a10c28399b4c1853763779145c71708f67206e98ca51fa535a90e3b316ebb +DIST genpatches-5.19-12.extras.tar.xz 3808 BLAKE2B 29b7c4bea18c4c56ca2944282ef1153d5394150029f680712c08b6bb41af8d8a44337768835561f90294f06635951d8dff2d56261e85c875aaabd395d39485c2 SHA512 0a30f8b0a70c9c0b6b87595236a08de5ce1b5d55df88c9878e23b3e87d7d22128da4302ea18f83ac83b66d647c0ad304a65c3c74e9084f555844bb276607a922 DIST genpatches-5.4-218.base.tar.xz 5055868 BLAKE2B 2dde93f13540d5268d3855b6c4b57f3746badb0db68564bd9f0a5b80cf63138dfb77a1d60be7c9256a36a7685e90299a8e28690debe2e8bad9e23e2d31dbe470 SHA512 884f469ef288aedaa2e9271fce5cbce8254247b64cc4e4594fd176b62f65133910f8e50d2458f8c822db5683beb02316b71c71e69c71ae2331baafe1d421f347 DIST genpatches-5.4-218.extras.tar.xz 1812 BLAKE2B 3d98f3ae24c5612a9427c88943474b1ca8efbba31bf5e0c0f012b4bc41d1ed980042221a77374a19813d2ba02eab944343aebe2b45aac893352a27e6330dd74f SHA512 31a3790fc98eadb717e9dd9ae9a3c0f4d8d36a2fd9023f407c6c5cc8e4018f89c74535c44f7fda34e3f7b48a0116c4bd1a4770bb98bc60a264e9c541cb767d8b DIST genpatches-5.4-219.base.tar.xz 5057112 BLAKE2B 2abaf4161586e089d1993edee6339b471a92dd08631bfbd7180219156417cdfc870163d5089a9185ed49b9a1eea37c9488316e239d67f469fc2f5b177a71e93c SHA512 37af5774e68df5bed8c13c516b245bb23abf0f6e93c369ca6937b1e6787445f0b3b27b8a5d325866f643896166d9ea5b8b8aad535f7c3afb5a45e8245355021e @@ -28,6 +30,10 @@ DIST gentoo-kernel-5.15.69-1.amd64.gpkg.tar 69795840 BLAKE2B a26e76f5d6da088432a DIST gentoo-kernel-5.15.69-1.arm64.gpkg.tar 62842880 BLAKE2B 36372df70a50e4e6f0bb663ccbc710144920befd3080cf2dbb1dec977b75cd643042baa23bddb632a38034875e6b591f776daa576daf112b784c513cbc393a82 SHA512 d0488bfa64b00a5bf1d5095ce8b6d63ca666e1e085ca8c6d24248b2da6cf929d81b8246997882c6f9e79227f6559f860a4534fe4109742d915b1e892bfc33f86 DIST gentoo-kernel-5.15.69-1.ppc64le.gpkg.tar 57200640 BLAKE2B 50b87f1ba58cbf6ea4bc1f7e86b98bb9b49ff3381ec5ba9c91bba58a52d9a47423c9e324f9f6e653c4b002e20231b4675afbe5fbf52faab6296727877da75e85 SHA512 6b211e1d0a6df66f822ae09d6e502c8751077229110d683703cf76fef3bddb3fd3d6b4a553220ee765a38ae4aa2782edd9c8499c1d9efeabe9e4a43cbf14769b DIST gentoo-kernel-5.15.69-1.x86.gpkg.tar 59115520 BLAKE2B 97b2e54e0d022606d0362bc5cada56979944017debb4338fe4f25abc5e6a981bf69976f3a5c12e896e7df1b8a0737e123164dc85588d3adb7db1a515ef49fb13 SHA512 2d04116eef1b3211adef5e00519816517029ecf6a76a5074d9cda255c4bf1ffdac765c682c879c902b69c4bf897723908d697e484ce8412cf070f117a9f9e145 +DIST gentoo-kernel-5.19.10-1.amd64.gpkg.tar 72509440 BLAKE2B 0ead0bad313b87aa2a048afa2d1a6385a00ef6dcc309c6c8df51568501c5d0c8b0383dd76a545ede68037a556a7b587284e35eb5e92e765ba1b5a067f735d547 SHA512 1cd2f4131fa593cc295eb48b71a58032fd453b5dac7b1ff694800fc10338941105982e771b26ccaac2dee61a00d01f3bde6c650a0fa5ccedf183eed0d53ef996 +DIST gentoo-kernel-5.19.10-1.arm64.gpkg.tar 65054720 BLAKE2B 3bd5a40ea707f2e8b3187027761b68b8c391bb3cbccd178ee557d94fb6edc084631cd6161f034b01ca8978394f4d030232db9ae461584a1ae1a7136c3650eb84 SHA512 76b88713f00dec08f0520693a6562ccc149651e141def7b28347450d05effa0e27a6eb105b107eda1bee22c299c4231c61f1c13279da0d642977c1ea5da46653 +DIST gentoo-kernel-5.19.10-1.ppc64le.gpkg.tar 59002880 BLAKE2B 3d35164e4e8213900bfd32d09af1c4e056c98bf165d008acf3adbd8cdfefca570b769ab1b9f6775ec6dded45cf161c15d97fa14daf7d63877ac03fdea482ad95 SHA512 2e2b8a58537de0f63001803ba810fa86fec7f3d963e0ecee3f9360b104507f91f20fd96e415956dc5ad184201b15f943f2949561796f183664e0568efef30631 +DIST gentoo-kernel-5.19.10-1.x86.gpkg.tar 62351360 BLAKE2B 8901d743e0a1b5334e77ce408221bf2d08d5d94091c9b6de09a24b96ee7bc296749054820e6b57843493353458ab26f534dd07bbec874d925205bbb50e698ea9 SHA512 e69ab0ec502e3f566dc3d184e8f7ce478f34de576ee0924be4beb09392501b7dc2784d609a87b6a0b49a8380d4bda1e24ed53593941b9a2d1a0fc949bd7ebba7 DIST gentoo-kernel-5.19.9-1.amd64.xpak 73581159 BLAKE2B 2b72273b9725d148489b3ebb1a1a80ef29f128bb1227d23bfc7c8c7dd73e91316e58ba9ce376c16207b58a3120588dd0af94ab563856d96253332d021137ccd4 SHA512 96cc7554c3864d5f45ee9046a34b862f18dca4526881da64065b66dc648d82d8d52b6f2509d5bd59f8a2d459453fb411620fc41cc2fa49b6f09a4daba37227bb DIST gentoo-kernel-5.19.9-1.arm64.xpak 66339923 BLAKE2B 2093a85d5da03b8c750577ace9ae41190a4832d1b57eaeb4951c5477cbd3541cb9797eac55b83c4bc57186c1b64665b1ac804df5796164dee299b5f85e705208 SHA512 de57e458ea87ad53c7ad3c0d53476807efcdba6a8d30f63fbb723e86184f265b624eca718ac17c4e98d8fcbf125dc6c927dd8c252f14ede31d4465c4765025b7 DIST gentoo-kernel-5.19.9-1.ppc64le.xpak 59960822 BLAKE2B 9681186ca40ac321446d724240629c9c69d356561d45f4f79816cf7b0115b5bcbe9070bf172ee1b9fae11bbf68deccdff5e2e963f8fd0708bff1f83ed350b2c1 SHA512 66f079177df4c0a8cafed036b7cfa8b1287e0e4be61b43ef42f5deb591ab6cf5055f57c823791db61a7cb06f71c8b89a6eda371ed28bee13d71cab0173b1b8dc diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.19.10.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.19.10.ebuild new file mode 100644 index 000000000000..966fadbe839a --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.19.10.ebuild @@ -0,0 +1,132 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-install toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 2 )) +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_unpack() { + default + unpack "${BINPKG}"/image.tar.xz +} + +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 "image/usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "image/lib/modules/${KPV}" +} + +src_install() { + mv image/{lib,usr} "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d boot/dtbs ]]; then + mv 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 +}