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 39C56158008 for ; Wed, 14 Jun 2023 15:06:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7B2BE099C; Wed, 14 Jun 2023 15:05:58 +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 C4AE9E099C for ; Wed, 14 Jun 2023 15:05:58 +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 AC41833E695 for ; Wed, 14 Jun 2023 15:05:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6E3C5AA5 for ; Wed, 14 Jun 2023 15:05:54 +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: <1686755148.9077ac3db6e6a209c3075038d076291a422e78b1.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.247.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9077ac3db6e6a209c3075038d076291a422e78b1 X-VCS-Branch: master Date: Wed, 14 Jun 2023 15:05:54 +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: e8b04ad3-b677-42d1-8c2c-b5b1d1345d77 X-Archives-Hash: a1eec354f969532c6561a0b348ca6def commit: 9077ac3db6e6a209c3075038d076291a422e78b1 Author: Michał Górny gentoo org> AuthorDate: Wed Jun 14 15:01:16 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jun 14 15:05:48 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9077ac3d sys-kernel/gentoo-kernel-bin: Bump to 5.4.247 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.4.247.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 78758074969a..47b61b377cc8 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -20,6 +20,8 @@ DIST genpatches-5.4-252.base.tar.xz 5808300 BLAKE2B d5cb4fe312f469a331269eca8604 DIST genpatches-5.4-252.extras.tar.xz 1812 BLAKE2B 07013e9aa5c8a2380424df700ac7ce592732316b97d6605ffb0e75270b9b08716030a56ae78b9f09b9e314fdd78ab8a8bf986ab767eadfe0a58cf2906be52b17 SHA512 3070acc7127a372f02479f4eee5f465dc3c1fe1ac3b4c2ce0af61d2fe091c509f7e7ef2af8564eb178efe031ac5fbf2f23f48bce4ea54d4500e1b1eaccea6340 DIST genpatches-5.4-253.base.tar.xz 5855284 BLAKE2B af86d19abc80339eb77bad98df5f404ef5db39584955094c54726d33f6a825c495d835c1f809123903debb2c31c6ad3f07d077978d10c6dafe8170cb60087c7a SHA512 5b9895d2ec8b5080802675912ea8419ed892693f82a4098e997fb3b6ce92844d605a865b31a2f06272248ec2386e36a0e9f74c163ef28e4157f29788c0e7eb5f 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-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 @@ -80,6 +82,10 @@ DIST gentoo-kernel-5.4.246-1.amd64.gpkg.tar 60508160 BLAKE2B 7c06588ca709e0e06bd DIST gentoo-kernel-5.4.246-1.arm64.gpkg.tar 56524800 BLAKE2B 9f5a7eb079283e511e8548b7ef3ac15bee69a5ad7c42e9f1c0f4c80e5a74864df81077a7c28927c3bc280869e6902ae8d10cade7992462c4434187725d23549c SHA512 b04e797cf24c514ef89411cf79fd5e288ffd716ff44dedf345aae82fb4d3df4771d43bcf1cc67f3bf1133fb223802147cb672edc955a6816e39026025a53e9fa DIST gentoo-kernel-5.4.246-1.ppc64le.gpkg.tar 54220800 BLAKE2B 637dbe8310f9dfdfaa84bcc21ca62aa4af9d0b32ea932890e61815256673aab9afc1c7515a35ebb4f983c5f02cf25eaea9657c13e5052b1b0d30e4ff2d98566e SHA512 271d968e9712d1fd9f5a2b7cebf4275e448629d0f3128f730004e9a99a4759e0c709ec706805c7590696f55e3a890a4ad681dc2ff2bc0f261e05e828322176ad DIST gentoo-kernel-5.4.246-1.x86.gpkg.tar 52480000 BLAKE2B 16abf62566af53f3aad2c4cd7eb4003848eb5fc3bdf299295caa189c5f2212055d3e49385b653174e57a004907ac55cb55125ace3a02783d63ea44f0b0791467 SHA512 d1f61160ff3e109db01dedcdbcd26a618c1b766921947394aaa28342aa9ba2cbb35c5055920b5b34a8d45fa35ce3d75ff565a213ede519cc857f5daa01af603b +DIST gentoo-kernel-5.4.247-1.amd64.gpkg.tar 60538880 BLAKE2B 0191ec718549c6807ffc56a90e5dcc5a4f31d6e37146ab2274bdce0257c91c79dcf43f9b0a87b934969a4291a72243aa08f62bdf7d22c78d2d942895f9baf4e6 SHA512 b6b3d6f93b36323283aeb64b4e25f342bd5c4fab9f47548a92a3ce2b90eb1f940b044299831a72b7476f4a30142c70166559f088484644ad1cf9f4c1fcc8e51a +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-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.247.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.247.ebuild new file mode 100644 index 000000000000..70e2f755ed95 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.247.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/~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 +}