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 8933A158009 for ; Thu, 22 Jun 2023 05:08:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7630FE097D; Thu, 22 Jun 2023 05:08:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 5CE7EE097D for ; Thu, 22 Jun 2023 05:08:24 +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 A29FE34104A for ; Thu, 22 Jun 2023 05:08:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1A903AAA for ; Thu, 22 Jun 2023 05:08:20 +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: <1687410495.b428a6e5f5dcffd013a16f8d2ec52c57f781c284.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.4.248.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b428a6e5f5dcffd013a16f8d2ec52c57f781c284 X-VCS-Branch: master Date: Thu, 22 Jun 2023 05:08:20 +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: 9878af22-429c-40ad-a969-6e350919aa7e X-Archives-Hash: 39bcf292bfeca424838674dd63957180 commit: b428a6e5f5dcffd013a16f8d2ec52c57f781c284 Author: Michał Górny gentoo org> AuthorDate: Thu Jun 22 05:03:24 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jun 22 05:08:15 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b428a6e5 sys-kernel/gentoo-kernel-bin: Bump to 5.4.248 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.4.248.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 89daa276f02c..b346e180e528 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -26,6 +26,8 @@ DIST genpatches-5.4-253.base.tar.xz 5855284 BLAKE2B af86d19abc80339eb77bad98df5f DIST genpatches-5.4-253.extras.tar.xz 1816 BLAKE2B 2d3492cefc1abb1b5f35c375afb99892eaab0b90f2b5624560b5dfa4b89bc6eff729ed81737e04e33f78e66b74835a8dee260cca14261c5d2a88644b1b30f8c5 SHA512 31a201024441c55f5477b431aa94a2fe4c98977bb9c1a359af07519b8a204f16189f0595bf71aaddbb88c88e73ef918dc3943bc0a17a2a573cf34dd68dcbb211 DIST genpatches-5.4-254.base.tar.xz 5863304 BLAKE2B 5f2004de314bb1d7d029eace7ff48b66c2109ff8f8aadb66f1919c04ac008da386a9a79909d8e27713269282ea4e9f72995712f8ff360fdd865061276fdfe4e1 SHA512 c9466b35a804cdc483f7cfe111d4da24c7baceeae240ac3cb803a93f59fde9d2f8782c839cdea2bb09c111e66438ce13ae920be8b1e00a06c705c6c9fc342ed3 DIST genpatches-5.4-254.extras.tar.xz 1812 BLAKE2B 74d4d513b336aa79c8062560f24ef96638f2fe2d9aedca7dcb0ebfe5b202d0acbe848508c98dacc13d7ac11113b36ba73347f71b63ee6fd8e08706b3246bea5f SHA512 ec766f11f8dbfc63fec33cb3287bc103a8db0857124650f0e99a8f24ec46348e8938b9c70d7d24c3d528eb82df4f8c60959d6f5650c420446172cbf6932f7207 +DIST genpatches-5.4-255.base.tar.xz 5936432 BLAKE2B 2e9211cf49ea349f00ed7aebf0af3ff36a858359a20d4691898ecbe2c7b3158ef81d7c2b4ba133d19aca0cc5b986196a5ea1ea6d3ac83aa6176a2aa36f8f3410 SHA512 1c2fa60f1de83ece831d9c553c81c2c798f3c3d6507d054d35e6be207819daa3b1137176ad39fff9ba148d99e1fbeb1b33f422e44e362bf489c1e70b952474c6 +DIST genpatches-5.4-255.extras.tar.xz 1812 BLAKE2B 0587b02c09b3a70503fd3025ffea3b014e8d4020fb1b765c874dca27369282537f1a42562e1f12c7bc5e303bf8c7b6548750ced89743447007d04f3ec07d2a86 SHA512 884978d503a02f21ab2f5d9463c7efb9cd8c5db410dc6c3e18100fcb03b49543722947bb49119026cfff543308c5d0f3098e9a7c5647defb92486798522dec21 DIST genpatches-6.1-36.base.tar.xz 1892196 BLAKE2B 21e7b006889ce39d3b2afaa981cb04c1229050d13b944086ac2c51add6c63dc96c3ac2dda188dfa11a45343904e26589684ffea3a22c235738c1c6d8c38a11cd SHA512 b4de4f6db586a9aafddf639ae914b35ffb0e2340ef312c64a48f4a0bfc02c573437595fc61596245dec2eac7add9f62925e575e2f621d2cf2e80262096f64df9 DIST genpatches-6.1-36.extras.tar.xz 3808 BLAKE2B ba99390043e4a62ea1322364ba601440fd70079ffb98dea924f91aeb00a7add4d2402e16589e0406e66ff9e0ec7a9d0d76e0a14276fe486507345c8ebeb82bde SHA512 ab4170a7b75c2617ccd5c08b7c5d84e68e593cacdca70dd59ed0b738639ddf3bbbaf6a4758728ff74026478a341782eb0e73a6a40ef9a7158f9c6221703afc55 DIST genpatches-6.1-37.base.tar.xz 1905836 BLAKE2B da087dc0f3e1f683b025c16f9fc4c60fb041d9b1a7c886f6b235dbf28afedda1283780298add52e211d4bde198247413c633908f891f6d1464bf0caeaff76f26 SHA512 528ac52eb398dc272a0011384c6ca4af72cd7e0b4a75f5c81d71c8aa7b04a11b58ab5445b99bfb53bc559e99e5aeb42dd9479aa8c8b2d42510709614de75872a @@ -102,6 +104,10 @@ DIST gentoo-kernel-5.4.247-1.amd64.gpkg.tar 60538880 BLAKE2B 0191ec718549c6807ff DIST gentoo-kernel-5.4.247-1.arm64.gpkg.tar 56535040 BLAKE2B 913dd91eef5d3063e5fb188e9b62eaba960e9e022523642a33dc8ade90058f9d5498ba669eb04a845fdf0a8b72d1b14342287b16bf0211b0c095738e87f2f32e SHA512 0121902f96994f0ff6bd918eedf3a42bcfbceef104d7baee583305c5c7569391f8379a0efef8ff1141dead91c69a10fd68315a23836563fbca19453026c6662f DIST gentoo-kernel-5.4.247-1.ppc64le.gpkg.tar 54210560 BLAKE2B 346820cdd427ed48c2514de8b4c8562c21f9520c8b5a6bbf454b673f3234974d4cc1574bf162832abda1fddb9149cc2d7d235e9b5bf2f39ad9f4a816762374c2 SHA512 176c1bfeb0348336daad35a375371619c6f0815cd2e780a82431ac966fb11fc6ce23ed00eb8dfd192999564f0b8f3713f5b58bb5a22044f6a75ba36c1a6a76d1 DIST gentoo-kernel-5.4.247-1.x86.gpkg.tar 52490240 BLAKE2B d0276d11d02df5f167d1b791b5da0d1bf8b78c5a6cb2f55728f2846aab3d0495b074e6c949d52b240f42c36c080ff43b78398a4e0a2a9fbd5c6adc62cbc50fd8 SHA512 27096487860c41750a4f4d707982527479cfd8a95208a7a801ce6a53de4d21dac24d6d9063eb1e9f24c35e23a6d9329b830736398a553ae9708d880d52ce456d +DIST gentoo-kernel-5.4.248-1.amd64.gpkg.tar 60528640 BLAKE2B 7ffc03b9faf456fa74d2aaf21dde13164448fa778781f47cc35b01fc692fba6f3201baf31b60a82aad9e99a924f1513773c834ec1f5d56e5b82526daad9bb358 SHA512 7ce43dd8fa7113e17d60fa1b2f32d6317791b9269e6acece8693ddf1d7bcf1e0eaca5e74785616cb038c0973825e8c94836ad222e22db13230bff51732d90838 +DIST gentoo-kernel-5.4.248-1.arm64.gpkg.tar 56524800 BLAKE2B 8c6189c00c4316fbcac32a59ea1c8087024cbd0398704604a6dc32f1dd00de535b32a976dbc5c476c3775793ff680cbbc0d2c2b2f121b2778dbabddcd041284d SHA512 424bffd216f1cba312b22274f8373b0148950eb18cb6a3f5e6fcb7985f8ab5d93afc0f27796f6804f255457ff04c8d69ef99f0cf824ab1c431d691aa52643824 +DIST gentoo-kernel-5.4.248-1.ppc64le.gpkg.tar 54210560 BLAKE2B 21976ae8913e84cd2f153c5516b3224384ffab0127f568b1282b197a03695a913196bb9d9fff84b3cd4d1e6051b6211d5537f4c244d9e66958d8bd8bc0543ce3 SHA512 ffd0b40f1c3b68620f74becfbe9e6fb305693fa95a30cf5e0e864b15d3a413e5ea75a5edbce2ab65d3436c4b9f885f3eb739d229a7cb3574ed2c9cc9a7172bb7 +DIST gentoo-kernel-5.4.248-1.x86.gpkg.tar 52480000 BLAKE2B bae88d3e28a055f798fa80d7171951e579211c28e8fe430e570ae0e653fcedfc87ede623a4e089de4f06b499d02ba25ce7ac7eec91bd799d4f687707a6588a42 SHA512 280ec18640dc94e3a485147d7ae053b7120904b0139d29fb8bd204a7027a992240e3afb74fcc359a097d2e3fb7175b9e59b1415ba427360a28eb07d71b889207 DIST gentoo-kernel-6.1.31-1.amd64.gpkg.tar 76656640 BLAKE2B 7bf643f5c46e77546e300ef4aa58fe67d9ebfad8a6404dbf3fd166af1f9980f473b70dfc03d1ea7589f02e59c1538627a0f5fa1731331b95c76fa44ee9f51a5b SHA512 109eda5dbfa28f42d8308208bc2240f604965b21a8a2c76ce76331c9dd85823fb666b04d5113677616cd385d928d5d916e73e10fd99995019a1c91394ac92a32 DIST gentoo-kernel-6.1.31-1.arm64.gpkg.tar 69324800 BLAKE2B 57169ac151443e6eba0b83a7973e154eb8b43175c5ff44c796ce85726cc1684470e77a77968b46937dd44cfad789053acbe04c2886bc39375c8b652b46f06abb SHA512 4a453f8a22c8bc99c6bb83377139e8d9a37e540a3ccac494762a7a49c93fee0d3c842aabcfa8e8df7a88db1a2439ca5b5165d9dfb889e5ee0780003b972f185a DIST gentoo-kernel-6.1.31-1.ppc64le.gpkg.tar 62720000 BLAKE2B de2262a2d4192e3002eb61ef6eeff85424684b3ff4f1f67ac9fd05c7bd33daa7d6b3576c5436a1ab7a7e9bfa741306e6c6f1a215f4b5a6aa939a5df9bfecd5d2 SHA512 f1675afd84a62c4f1552dbcdf6dd108ef5d4b11a1f7af695ae263f9c40976fcca678532a4c2b4c34485ee463e6f7c7ca7668c0ea8dd825f3a3e362839d19a455 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.248.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.248.ebuild new file mode 100644 index 000000000000..c1f1842a6ca1 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.248.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##*.} + 7 )) +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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/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 +}