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 4B4B415800A for ; Thu, 27 Jul 2023 15:00:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B158CE09A7; Thu, 27 Jul 2023 15:00:48 +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 8EC3EE09A6 for ; Thu, 27 Jul 2023 15:00:48 +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 745C73413F2 for ; Thu, 27 Jul 2023 15:00:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E2500DEF for ; Thu, 27 Jul 2023 15:00:43 +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: <1690470037.aa5bdc64b11946bfd33491a62104563ae70b492d.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.15.123.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: aa5bdc64b11946bfd33491a62104563ae70b492d X-VCS-Branch: master Date: Thu, 27 Jul 2023 15:00:43 +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: 4f30f73f-aee8-49a6-9df9-59ec3121f0f5 X-Archives-Hash: c7c54cd3e8d252ae80dbc5178f74cf2a commit: aa5bdc64b11946bfd33491a62104563ae70b492d Author: Michał Górny gentoo org> AuthorDate: Thu Jul 27 14:53:48 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jul 27 15:00:37 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa5bdc64 sys-kernel/gentoo-kernel-bin: Bump to 5.15.123 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.15.123.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 8414a786b2c4..ed00796f3513 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -2,6 +2,8 @@ DIST genpatches-5.10-197.base.tar.xz 5562876 BLAKE2B 17ce7ef2e11371ef7c4cababf74 DIST genpatches-5.10-197.extras.tar.xz 3868 BLAKE2B 349894aeb8c6cde8ca01b7b12249c492a67b9d8e1329f2e93ef14fcb1e643bc6f24613ef1f1cbedd7cd67cec6c7dcbfa4b00cc66ae157b2b9503587ef025e17c SHA512 4979e464dd29590915baaade081035c523ffaae061acb4b0d5948daa450ae6e7993e0bb0acb82d414b1388fe804555cdb59d84f0eedbc466ae64e76bd5b79d28 DIST genpatches-5.15-128.base.tar.xz 5056336 BLAKE2B 7b25accd5e2c987050480abac7b79cd280820ee8b3607c84a58b6bc1c30c97c209b1a392c9c92abb7494307ccd138358674e7a984cf4766c2889ec9cee069546 SHA512 be70279f9cf6bdccf0bb3436b13cabca61e6360eae2d33e576f408ef2d32ed3bbb449083b0a84c31f98328ddda68b587f689487fe8346df41e83ecdaf702063e DIST genpatches-5.15-128.extras.tar.xz 3932 BLAKE2B 64d34eee4a4ee36c8d2431d8341723eb0ec32be703fbb3927e7984e9ea365b7907f38b2f013e725221bfb7d867eb63da4e784506615e1cacf9018c58981a2ce3 SHA512 b735304d7990925485ca45f1cd0f6434a96af45269bb3e10b9b67a41f84440654f62831a5160125f8d0c1ff4587ab00294caa1fa5223e8daf86dc0393bc8a695 +DIST genpatches-5.15-129.base.tar.xz 5079636 BLAKE2B 9dc533ca9995f272c9f69c277e02f028cf04a1161b6ff18082dc132861549bf9a297a99768bd779ccf0c5ccd26e2bae321e8e233986c23123b3fa549f47a4c35 SHA512 43fd5a4739883915187fa04a5c04e106233ce8e76492240585b6b7dca8f74687c8326117383f84f8d4b8fc1de602b2a9aedfa596ce5a1275777fd15ae0f7a142 +DIST genpatches-5.15-129.extras.tar.xz 3932 BLAKE2B 899d47c7df1aa674c6438d2e0e5f70aae7ff0be55ab663d533191721791673f60c90a00b8b42167d99e750a428a65604af84f47aa385049ac91b6599db547b72 SHA512 ff342b8a47ccea5ae86bc4a499a145a331e9c5c52f2ea84b1baa8b17e11d5aa6504fca9d594960c903cbaea65cdd53aa6e634128296b0c76cdb6d4e9bc9c1ca5 DIST genpatches-5.4-257.base.tar.xz 5959056 BLAKE2B c3c4f47328f4e3ade669e1cb4586a2420618b647fe6cb5d96210cdb8d5baf767d6eb6d9efd4ac48eadaf0f2b108569656c43b2b43a687b635daf9c91475491a1 SHA512 1231ad3f7ceb0451d9aa5a96be803eb48a5656fe63476ec55ccb71a96eadd2c12d2e44074b302b9c2770569abda60275c0ed161b3786d2dd7be6b0a49d4e4f55 DIST genpatches-5.4-257.extras.tar.xz 1812 BLAKE2B 480e82ea79feb52785fc6643c883093f42240395a1d953cd1e5331c012cf64c6f4b292e878a938a9c5bb297e96ab9f80656839de6044c9f1e76c668c2c8e1ec9 SHA512 5322116802c6c0a44abc81911bb83fd7d4aa5b5f7fb4bb35ca78c47c6c0afb188e21a24cc5ac4e2810affa13689c902e97062d66a751630cf0722a2b28b1d83b DIST genpatches-6.1-47.base.tar.xz 2915344 BLAKE2B 7fd49099198e9af926911b3a8831208d6c0ecb5047e8bc7563aceb23516328a1829c33b912f52d1175440770ed0394aa6bb3438ad92a9a81ed28ca6fdc6ee928 SHA512 5c0841c92d0f2bcbc81599568d882bef066f132b670334fe7728797b76665aaae170ee2acaf942228d5065fc95493fe33fb2ec2268f9d2bb54739b463b346b33 @@ -20,6 +22,10 @@ DIST gentoo-kernel-5.15.122-1.amd64.gpkg.tar 69550080 BLAKE2B 19e838d91b771456a2 DIST gentoo-kernel-5.15.122-1.arm64.gpkg.tar 62504960 BLAKE2B 7fa1d232e86175bc06fc26bf4bde90c3170e724566779697a8153f14d8c0a38f6a2b31900f02ea5de95cf122b5f955914aadfbd8061ad3d0a0d6d8c0ef23e988 SHA512 09591edcdca3c29e5f78a51a65a7e5169d55094de627be73973c6302b62454f18d28996a72a667814b2cbd8dbfeaac3ea642d6092d6d296c63b077ee979c0fc5 DIST gentoo-kernel-5.15.122-1.ppc64le.gpkg.tar 57118720 BLAKE2B ad11ad53e8e42220d1efc9948f72e72e41353e73357670f33ca30c8157b6d8e859b05d77ad31a033032134ea74a63bc3de53723ba118c566d4268a9c7d18c203 SHA512 377124529e69e09de0a4f0760d0500bb3550f5bf6752b6264a37dd320f6b99e3aad6636074d8189c4e2f437281d3e2ed7cca76ffdbdb77cd92b19852448d36a8 DIST gentoo-kernel-5.15.122-1.x86.gpkg.tar 59136000 BLAKE2B 1730477ff339c6852dbe00fafc07caf6a249e65ff7b478c7bfe8e5b3bd14f6e09803b0e64641a1eb280990dddbea948f19f293898547688670b4a3ce69a83d8b SHA512 d00d6fb69946c8fe44a7561e14fb2276326fa365d6e78a31bbf425ee4ba696b17c42a0f1ac412ecfbc40a02fe588e5635bbe0f436d4820c5ca0854a37715a983 +DIST gentoo-kernel-5.15.123-1.amd64.gpkg.tar 69519360 BLAKE2B b644beb7b232d754618fa09ddf793d465aa1861cc31b1a9568e8c77c36852e7f019066ab572a543243fa5bb09bfdc6976498142dd16df23a16125734b426bf09 SHA512 b3efb3c7565b4d9a594e9f27d80f73daae00ad06242b3b9f1765c13d14d5647678b63293221d01a89aa1f503656c670a72f33017b37c1f081a464a73803d7382 +DIST gentoo-kernel-5.15.123-1.arm64.gpkg.tar 62525440 BLAKE2B 1288329713e7e16c2550bceb36ff0348fdd9f83414adf6947ee809eebc2a5ff705c7929fa9c6c43a1029ef1428778ce77579d99c80e53d236cae4daa334cff1f SHA512 a3fb7669608bc296973ae6533fde19f2f11f2c8dfd0c6c438d683a82a41f5e3cdab7fd9969e49274d81f78a0c27aa838a0355f82307312151ba61194a2f3607f +DIST gentoo-kernel-5.15.123-1.ppc64le.gpkg.tar 57108480 BLAKE2B 8ac937c177a64c368e6bd1f0581c7eb584638f2b583c6fc17dcb41dbed5e8c4827d718de3b0ad16c4e4fb25b143154b9867e8649bc0311c5717c98a560327d74 SHA512 52df73e38c062d53cdfe279df592c09731599639a154004727bcd8138aaf89235c50a5ede6fd470c920f4570ea48e24d657bfc055e7472d3f1919993f6061d59 +DIST gentoo-kernel-5.15.123-1.x86.gpkg.tar 59136000 BLAKE2B 85fd5f0bbe476749cf195b145fe6c04b38b60f3bcbcf93b74d25ca080519361d535f70bdd5687af2dfdc655f935098ec4c9a724ab4ab3a1d84b7557fba3ff6e3 SHA512 2c0d5a15af2dfe9da7aff5fbc9984c92bdb85974e7a5660f6217d33faaae4b74073bd381c051d7948d53aed8677d4e8c64f71903edeba850ea61c9b06636ad9d DIST gentoo-kernel-5.4.250-1.amd64.gpkg.tar 60508160 BLAKE2B 053d8d9b0749cf81edaec06ddb8cb9a48bb2ad7c3648e08504253e24a8365e2882e09abf0cab2f8a667e99a348b652aac79050e54c8d0e074b53cd5a159573c5 SHA512 50a07346595729a8ad462c36423724a3e74c2496892764be54034b4318ea7f1a4aa1a6bd7fdb0401b78e48fee6755f603e59bdf10a22fa810f371fe472877f8b DIST gentoo-kernel-5.4.250-1.arm64.gpkg.tar 56524800 BLAKE2B 7a170a4f462ffeb2a17e394857581d3fba3dad5fb4f48bf6c891ecbf7eb73c7c6b03e3e7164c90af6944bc055d43dcd1431192e310c54c4b28aed1f652666e92 SHA512 875dde5172de80ac27a53b8a4e38e7744f7ca6361ffbd80fdaa6a6491c1d5d44064bfe010a0ef5ca638f9bbc58c1e1bef7b32f087a4aceb672c9ffb1892c3921 DIST gentoo-kernel-5.4.250-1.ppc64le.gpkg.tar 54200320 BLAKE2B 5e18420429060f5f2c58ceacc570bfbc715f4d76fb80efe6544fc7a2924f37ec4d8739edc2a49a607f89d4243c1aed714fddd8f6ff9bf1283fa673281cbcfa6a SHA512 aacebe370ee7187945db2ee8481d633f6f41da9c045c7a5a4f8cbb1407efb2fd1cd1ad1abe881c54bcc706610d50f3ee0c4ab1f2f039c951e98cc26f158c0f93 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.123.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.123.ebuild new file mode 100644 index 000000000000..83c6a5e4fa8f --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.123.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##*.} + 6 )) +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 +}