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 97D78158041 for ; Sat, 16 Mar 2024 08:30:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F2EFDE2A09; Sat, 16 Mar 2024 08:30:14 +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 CCA0CE2A0A for ; Sat, 16 Mar 2024 08:30:14 +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 C0AA9335D77 for ; Sat, 16 Mar 2024 08:30:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 377E01527 for ; Sat, 16 Mar 2024 08:30:10 +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: <1710577742.ba63021e27998223991677b4f87efe922b77bd00.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.152.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ba63021e27998223991677b4f87efe922b77bd00 X-VCS-Branch: master Date: Sat, 16 Mar 2024 08:30:10 +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: 65d37ab6-cce1-448e-9ad6-2967bf28d387 X-Archives-Hash: 06412f3fe93a066053c74ff72501134a commit: ba63021e27998223991677b4f87efe922b77bd00 Author: Michał Górny gentoo org> AuthorDate: Sat Mar 16 08:22:08 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Mar 16 08:29:02 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba63021e sys-kernel/gentoo-kernel-bin: Bump to 5.15.152 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.15.152.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index b6e3bc332799..85a914f4c1c0 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -16,6 +16,8 @@ DIST genpatches-5.15-159.base.tar.xz 6297632 BLAKE2B 104b3e6ccc068842ab71997f342 DIST genpatches-5.15-159.extras.tar.xz 3936 BLAKE2B adb536a978a0ae1a2327142d7e7bde2871b1b42017d04b3302d40138b80a6fe72faa957c30437bc71c7eaaea1da0ccce1baa244ff62e71581c7775ff066dede9 SHA512 452d9370dc10481e2274261c01a5f9ec75086906158bd30f93314e2af8c095060d5a6760524c21412aa4752ca77d4818e1879c5d3bbd9378a63d56ab2cb9b3f2 DIST genpatches-5.15-160.base.tar.xz 6317352 BLAKE2B ccee78c3ccba8755f0e9de9e62c870d7f85d5302d2cdafd178184bbbec51d1a69be990c49f58fe1a1f897ed7e59bba1cc5eacc7589b4476ee6fcac19a90b0e78 SHA512 e36a435f9e353cd48ee12322f998a2fb4e9cf29eeb9e6f6f95534a48524db17b6eb654aa514ddba1108135eb92da7ef6af54f532bf29ca89b566d8903c1456e6 DIST genpatches-5.15-160.extras.tar.xz 3936 BLAKE2B 7b4d7802346372f862321837b1b554dcc5cd666be0a39fb56c6a6364060c3c5b5fe37d77d131beff6f0ed4c6290d9c9f9eafc58e9a923e268cafd2814ea9d18e SHA512 4ff242b000ce5969dd50c424ebe94a417271a2af081584e91d155ef11c3b11536fc8a242b0e536491396317ead92a825590208c5f317dc6a8975bbfae28a17a1 +DIST genpatches-5.15-161.base.tar.xz 6394340 BLAKE2B 9b30c56e1efcc866985caa448061cf8fb8973ee99a65c55787df122518bafa358760222944420add65ec777ad3012f06f74e0b8a4c2ecef32d5b882e78735ba2 SHA512 63cc6a96813f197a0d37e8a98a603ee594244cc6d18fd2e0fd566ea4a72866c425abbf847e9389472a7a3ceaa6118eb72e2c09d838db4698e0402f3a92bf229d +DIST genpatches-5.15-161.extras.tar.xz 3936 BLAKE2B 3bbf29d5ff26051c5f115439f42a07a3af47a681065e00561f8636aae51142b82b87d7e2879839d5abc7bec944b193aac31d2eed543275b94f47dca2eda38090 SHA512 20e5ac4f8e8903a86cefa2cbb3a4962f3dd60ab56f71397208622230ea1f4d481d703d6594fa9269e46d2369514d1c6deacfcfdbd97cd50ad9ee63c220f289b4 DIST genpatches-6.1-86.base.tar.xz 4574456 BLAKE2B 905d051daa077a0aa697ae78187ccb149c5e14dd2d171e451d85559b68ac0a4e8a80a3b13332bc2c8b58d8be182b12853b9e784adb307987faaac5d2ef43ebf3 SHA512 7d28fedd6a157a680de9c69d11f5d243c02b5714e0570bbac9d429ed1e5937bf7250cf5825d6365debb0b0621301cd4999dafd0680e4815e47ea1452ace3e406 DIST genpatches-6.1-86.extras.tar.xz 3812 BLAKE2B 6e0dfca04eea9e737e68e8bd94f246628ac5a3e1ad911c41c7c61ce33baaf27b42805af53b0e7969d902078fe989e2b3122d92445b721f92209f5fa5a79eddbc SHA512 4daa5eeccb39c9c033541bb5dd123f16358f0a67f0b087ed0ed22243d46d429a7695f05bdaf84a229f3f483eb73b688b5dcb18110a87f9ad22b84eff24f765fa DIST genpatches-6.1-87.base.tar.xz 4590376 BLAKE2B 03810f1354881a70c49256a9b71651016c78aadf9d29e82e6077fec4d3a46487c530a987ef6785e78b149fe7f9c1f235f877382cacee59f6239366d4ac3bc5b2 SHA512 dd828b301272d8d0d80a9f51ce0b9b31f493b482af2cac7ab66b1307e3df44d88c7df4b968178d876bb6770b8408346a307aa5f22118f2bac7a35a045659a195 @@ -80,6 +82,10 @@ DIST gentoo-kernel-5.15.151-1.amd64.gpkg.tar 66324480 BLAKE2B a49b5f13a99aebe2f8 DIST gentoo-kernel-5.15.151-1.arm64.gpkg.tar 59719680 BLAKE2B 4488bdd73f1a27a54c194871d78543d9bd48eae4ba5f6ac0c3f992a1ea669adaf8a857fcfab0a29f9aad1fda42e2568ec4c3a37ea50d559f98d7c98812868815 SHA512 95a035422eeae6953156e7aa57af1066280ebbc24dce5175f6c6ac50ac785cb5b270d24e2f555734a63bdef55545153c1440789cefb5baf3062530bd3161a553 DIST gentoo-kernel-5.15.151-1.ppc64le.gpkg.tar 54968320 BLAKE2B 42cdc2028c35aae7d67e713315aa80f5711d43ab7efb74e9c77e884968aebcc73011231738b347e69cd053fd0e371bf7d19b6b4face59ef31a003ce7705a6f2e SHA512 2d928323e6f33e4f2c483b7ab60c543af5c6d9175f88bbd33285cb8ac4a78d94c84bf15dec416dc5519c6d6ba4e54530ed6af2bec3198e318034258ee7fd4f68 DIST gentoo-kernel-5.15.151-1.x86.gpkg.tar 56074240 BLAKE2B 1e3a49f14f3bcf8340ecd4163c46a71b9dab8fc5caea9baf7af5e3c89597e12ce8c8bc0ab928b2455678a0ce5cac328baf5b502c8595ee2f7a72e8c39f6c1b6a SHA512 33fc6ece7083e30d8d0e77cecc31f22124ad1d52dd0669249514d2ce8790d67a06a47c00e5b821df982070f2d1ca12aef48a43730692130d71918c937d9872e5 +DIST gentoo-kernel-5.15.152-1.amd64.gpkg.tar 66324480 BLAKE2B e6e42934b24cc094e1ef30ee7b258f0e74c6c9899fd170128b4388157d33c36b013dfa9f9a80a3f505ede2c884ed58bb1232cc3225c4ec089d0e2bea9e4ec214 SHA512 6ad507badef8756322abb30ef2d9b24355018fee218e46cae23c1457c5f29db1131f72fe76bc2bcd53bed09be3354ca80d441ddd143467681ba1838f4e5aba99 +DIST gentoo-kernel-5.15.152-1.arm64.gpkg.tar 59719680 BLAKE2B 49b083624cc421f3f8a4e24418c2b6090858a9448de9df953aa5469ff5f3a05f8966372d6715af715a9ae3b94e84e203de1808c0a71f88f6918d9aa8adfbd61a SHA512 4407e5e2d8c993d9ca07c5138680c69f18c69872fdaf5907464ad5534f0b99501a18ef82784fc22882d96b7c0e58a58bb6c10cdab1965e960b6b7772c09b6305 +DIST gentoo-kernel-5.15.152-1.ppc64le.gpkg.tar 54988800 BLAKE2B 1d4ad8e5c11baa1dea591af9fed9aefde142b8c998bc6f7d25f8bbec3582490c4b9ae7c888936d80c24336c3ae0d5f760d7dc92f5bc1bbf78c9a8ae9d31fb78e SHA512 f61b9fd93041dbb6becfab48b7a2d056fe4110ccc3b0f42b9d00c09649df2eaf324abe5be81fe0b34d171ea53c6c29b2362dbc2e3df860ae1652232ebaa30d5d +DIST gentoo-kernel-5.15.152-1.x86.gpkg.tar 56084480 BLAKE2B e62cf0e712e73f5a047e62158a3d57451c6c9ccb493077b8589712d43b1d91d45e726797849e3897d7c5a1cf78081ab416b5e603cf475eb1e2551f59e9d77c9c SHA512 161376038f72e2ec42c69c859d481835c9347d45b3662e1ab215b704cdc78bddb6c58b81d36dfe6e13ca363e7e9d51e8bbd8391ee44810cffb88a982df8dfb15 DIST gentoo-kernel-6.1.77-1.amd64.gpkg.tar 72632320 BLAKE2B 4bc5a2b7c969810da7155d1896ce30659da7449e010a492e75b57e028ec953f21891bc74311253d18b52cb549386a7880f937854f4da56d312e4ecf2eb602708 SHA512 19ca3b15c6843946101f9e805a8d53db4b89bbf72661f19734cacae378242d8f5879b53607f950cc170018647d023a76d52fe3234bb6f0f5518ef9c113bc17b8 DIST gentoo-kernel-6.1.77-1.arm64.gpkg.tar 65628160 BLAKE2B f13604a7c67a352b94096108fbfdf3255f810232ec8d48a7fd70ae9b6781639b663d5576ecc2987f3396f27955c6a8e6e59cc544cd41118a58b793d4ea6e7c73 SHA512 32ac9abdd2387de084dc600a257891727b1ff9193cba082ffa77b8499e05e122c32ad7ec21fab84756b36f33e005345b7e943f29e673d6167f7922a8e6750650 DIST gentoo-kernel-6.1.77-1.ppc64le.gpkg.tar 59873280 BLAKE2B 1ed005ae52827ae28f14d093f6647e4bf50893f773fad910c0abfed7eb50d458495bb658dc51179acaffba972d42f9fd855955cfe86d0f80734a5e504d6f8510 SHA512 80b6c17aa5fc61b727a3bb20171e928e904ddf8bf475098761c8abebb3835cd39d3f94986b1ba551faf84c60b2b6a59757d9b635c0bd5658b77037d99dfba1ee diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.152.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.152.ebuild new file mode 100644 index 000000000000..1a845828a60b --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.152.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2024 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##*.} + 9 )) +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=" + app-alternatives/bc + app-alternatives/lex + 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 +}