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 A7A74158095 for ; Fri, 23 Sep 2022 16:39:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70A72E0CCF; Fri, 23 Sep 2022 16:39:57 +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 578BBE0CCF for ; Fri, 23 Sep 2022 16:39:57 +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 4EFE7341211 for ; Fri, 23 Sep 2022 16:39:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9E74A5F9 for ; Fri, 23 Sep 2022 16:39:53 +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: <1663951180.9e953990e284e0317fda48b300c7ce1cbcf58287.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.11.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9e953990e284e0317fda48b300c7ce1cbcf58287 X-VCS-Branch: master Date: Fri, 23 Sep 2022 16:39:53 +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: e3bcb26a-42b2-4c62-867f-b131ae7dd952 X-Archives-Hash: a23dd1e0a3954bc02c7307cd1a912afd commit: 9e953990e284e0317fda48b300c7ce1cbcf58287 Author: Michał Górny gentoo org> AuthorDate: Fri Sep 23 16:39:09 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Sep 23 16:39:40 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e953990 sys-kernel/gentoo-kernel-bin: Bump to 5.19.11 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.19.11.ebuild | 132 +++++++++++++++++++++ 2 files changed, 138 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 3d4b42cf69fd..ed74ea0a82b4 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -14,6 +14,8 @@ DIST genpatches-5.19-11.base.tar.xz 766852 BLAKE2B bc8fa5969dd4c75920a094b5135f6 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.19-13.base.tar.xz 787224 BLAKE2B 9f8827743838c34ab47c6cf820f2541473a3d5a1067cd2af6e689ea1e38fd52c1fc73eaaf594e91fc58519ca725ad7523b93a121543123bb6e8278b4b3315682 SHA512 4fc67150171ada40f582707822dae5f18596bafdb0f42e0040ba9d0a5a3ca1df7e785c993ecc3a1938a333bc13cabd854d6c11adb8f841387631e9b6ad212043 +DIST genpatches-5.19-13.extras.tar.xz 3808 BLAKE2B c1a811ab0ab52d422fd5b8ca3d7e19a3474fabefc4d9805251af7aee3315988471c1dc5058a95878b5d261e891ead328a0c7694e4b28a06a2b76c6917e16aa81 SHA512 ce4a80b99e3e4147d0785e246e72be90c87585795d0f2122141efa929d54c6d48e33e979b5614eef19427d4897e6ec26ed73a6e6decb308c345c9c52d1428588 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 @@ -46,6 +48,10 @@ DIST gentoo-kernel-5.19.10-1.amd64.gpkg.tar 72509440 BLAKE2B 0ead0bad313b87aa2a0 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.11-1.amd64.gpkg.tar 72519680 BLAKE2B bf6f09410e606ff35bf268b9b220d4846e352a1416c25c24c6990fa3cd68026906b82109bcc4ab1aaaa48d5c5926d336143e324ebf811bd35821bd869727f48e SHA512 7e934984a0b91f2adefaf7d34a41a2aa6fd2e98a73bad951acf797355e42435cf57a84a13eefc377e5139921667c0664318b88a8e5dd1af376c6f1c3421f9933 +DIST gentoo-kernel-5.19.11-1.arm64.gpkg.tar 65064960 BLAKE2B d5a5adb6861a75ba1f5830d92486398e9a7670560b12e548eeefa6abfe2da322961a061be9576e6b8563ae099ac3c3e01a220cf3dd7b0a71b0809b8fd03521e7 SHA512 5931ee444488940060944ec41b15f06c5ee341336d475f0a999bac76d75844111873b0658825c3fbe2a11c13b48e9f0b8165ae5f91e8ef7fbb2700ec785b4e11 +DIST gentoo-kernel-5.19.11-1.ppc64le.gpkg.tar 59002880 BLAKE2B 1a896383fcdf6566d282f531ee06c8041a628d407cdcf1a6728ac9af5190d1cb647cbb9dc9ed20d02e95b024c992694de5400fec12d55024b0073e1c6fe350e7 SHA512 eb04e14915027ab86aedecdf7ab5296a7030297fcce3a9619d64c8cb986d2a5aa4f3af6024e37d0252ceb63143e024372d16f7fb5ad725a3540026b25b150193 +DIST gentoo-kernel-5.19.11-1.x86.gpkg.tar 62371840 BLAKE2B f50ea369957703d14405d72d398b4a0d460ad91a038aca68354717a7eb2490acbdddb76b96fc04376614775b5b5ff4540cd4b40748d7f727e652b8adfba16eb8 SHA512 4dc8ea05b4f26420600adb78ac6110348fcaba23e442f0fcdce0c8c86579bacd8cf67051ae43de158cf7c0f9c8b6340cf4dc05e9a69ad9481c94f13abdb623a6 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.11.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.19.11.ebuild new file mode 100644 index 000000000000..966fadbe839a --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.19.11.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 +}