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 00A7F158013 for ; Fri, 8 Dec 2023 16:49:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69C312BC040; Fri, 8 Dec 2023 16:49:41 +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 526792BC040 for ; Fri, 8 Dec 2023 16:49:41 +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 8F4D23406F2 for ; Fri, 8 Dec 2023 16:49:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 480171489 for ; Fri, 8 Dec 2023 16:49:36 +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: <1702054169.d6db2a667d0ba548e8e368b7a1ff44f98f5b5b6e.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-6.1.66.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d6db2a667d0ba548e8e368b7a1ff44f98f5b5b6e X-VCS-Branch: master Date: Fri, 8 Dec 2023 16:49:36 +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: 33137478-996e-41ce-ae03-2c4b00ea182c X-Archives-Hash: f2bce4534da1232ff67e9c9d548124ab commit: d6db2a667d0ba548e8e368b7a1ff44f98f5b5b6e Author: Michał Górny gentoo org> AuthorDate: Fri Dec 8 16:48:27 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Dec 8 16:49:29 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6db2a66 sys-kernel/gentoo-kernel-bin: Bump to 6.1.66 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-6.1.66.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 0a6d838e6c0a..63a16d1b5f42 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -32,6 +32,8 @@ DIST genpatches-6.1-72.base.tar.xz 4057544 BLAKE2B 7af6ca30c523e00f1f30f97cf29c4 DIST genpatches-6.1-72.extras.tar.xz 3816 BLAKE2B a6de63bb21ba7a7f5ff88dde6eda62b6af5a2d205cf8072c88027f877b96f44c02465e825dfd13f503a636706f34d4fc0a11c0c71fa8a3c4059deca6f49da539 SHA512 736cc3baa53c31b8f93746677ec1e72616df48d58fb28d5e59b58c0004c484cfe1400bb5b23aa2c696923beeb1661bbbaf0fd8326e925ad486a0278e6b35f5e0 DIST genpatches-6.1-73.base.tar.xz 4082244 BLAKE2B 890c267dc12fc2f62046b3e1ef0b4f26756a7de873994d91ce837105c5d36b3dcff081089a10218a608e134e6e4b072beb812c90bba8c9458a29505f88a79def SHA512 566b1437311cb24cfd6c0f0e3a22a792a2fa0bcdfd2a71e45a8b59eadf5f8bfa6618ce3e7654c513f4bcaa99f65b8154f3d6025ec7a7fb2a708acc7751e6cb6d DIST genpatches-6.1-73.extras.tar.xz 3812 BLAKE2B efc027ab0bd21caafbc7c2706b066b3486f9acd93cac964ae00e1aba543d5a92bc00b4f6cde82beed2a0d72c1aafc16a8e168d139a365463d8c6d170718627e1 SHA512 b74da4e894bf615705fa0396c09d32d6e34aad81f3114119a3dbefa94ffb47f91017c2b551b80c289c607a29ff8efa8db1000d89534d8cd4e75d88024270f7ae +DIST genpatches-6.1-74.base.tar.xz 4113880 BLAKE2B 26d9abc23f66346e376b78bb687ae7bc955447093641abe0bf736ff9e1c4e7ca70a0bd26b581f295b168ecd94c6f84603f13f5d097cd8b05b9373ea03a9d0426 SHA512 4ec9211030d1d1cf8e412b46f6cc101768418a177d0113b58f3aa0c4468536faa45a0615483baec378eae7995a91b86da1c06af167a1dbc6eca9ff853ae838f3 +DIST genpatches-6.1-74.extras.tar.xz 3812 BLAKE2B 52488fe7154cf6e0153a05184699dd1597a078a7a376e2866b68b923e7f82300757d1c70e7bc44920ab7813d500fb3d4677d49428261308e4b6b59a552381a9f SHA512 dd04bf075792824bf65cf349f6bc921d0c36cc66c878b8dfdd95c27f3a82de426d6725d79c02374e7372b74b68b9c0123875476de434f85646dd9aa8382d8de9 DIST genpatches-6.5-12.base.tar.xz 720508 BLAKE2B 429f4fbc3292ab46250bc1716212f369f888ee0219ab19baaf8a7e3634c012bcaa64820639b5650b5346cc93fffb3b00c8ba5ad48c3f0030e5db6102646ca60f SHA512 1b5de16a305f7cddc3125be3786347a037e25b8b53ad05c35c8efd57e624dbd7cf152898c3084847d6c9b77f5bc6df378644434e877434d40ad4fb0d08d6a37d DIST genpatches-6.5-12.extras.tar.xz 3704 BLAKE2B 3d18f544a455d1184eb9687a5c53c7dd348b12f736313a3bb9d3417e0f4458a8e7f962451ede58f45016af700014fea87cc3336b30ede9f899dd75369eaadc57 SHA512 0a8c8a23d99962e5f0028ef1ee8ba79cd20af0ccf6b08e554405ee964cf542b6758d0e2456612a410d7fdfca5572e4af7c4d1c3b65a9b426412c1b480b2d6475 DIST genpatches-6.5-13.base.tar.xz 741136 BLAKE2B 3e13a5bb6effb4005e2c1e604722cffb27583aa78ba0642ae2eacb2f5905fc19fd16212b502196e58d0ee4064779623b44af03e34c6bef0635104bbdfa49253d SHA512 5b63c998dfe984b5435e7e951889dbd1bf4cab2d8db41e89978ffd06ca58ba3e8687e740bb42514e0da5e5ae19998234f87e8220d5eb550e21fb6bd7c665e139 @@ -118,6 +120,10 @@ DIST gentoo-kernel-6.1.65-1.amd64.gpkg.tar 72601600 BLAKE2B d5edf85f66a6b2deed16 DIST gentoo-kernel-6.1.65-1.arm64.gpkg.tar 65607680 BLAKE2B 8605fd891e2715753dc9e275d70e5fa65260eded9a8bfe40dc75baae031d0af176c76773bb850dc77ab586b9f772c2dbd1c5e5aef5f3d93e0b012cb12af6746f SHA512 51a875a3ba870843ca6f7e88e9c1bb805c68d8a5596756f60df199b0a120fa820989dec8a9230754881611604b3ecc9b77250cb367493c7b86568a4077662d8f DIST gentoo-kernel-6.1.65-1.ppc64le.gpkg.tar 59863040 BLAKE2B 9b29ffdb63a3ac441e807f83b20b0670818c901a76cf034cdc5a4752834a4654d0fd486eebfa24cd09694afd49dd6df8282cc023254e59debcee857108af7a13 SHA512 d501de7a053aacdaa026c83c96ca5903596d67eb2c8807340d4b22810f93b3bd105ae8589d39b604a74b2c0022136d289ebd201e522c9c4ce7ad4a4aaca8d71b DIST gentoo-kernel-6.1.65-1.x86.gpkg.tar 62136320 BLAKE2B cd93af05a5bf78c4ea46eaac635488631298de2ba6d31d7c63ce13da324c06204f7909852848fea4005c70ff3678d8dce4bd9f2f14ff8ba0de1b645e79cfd357 SHA512 4330498caaec644d7d4fec71e69486295fb5d3d5a823447d32f55dd2e1bb56c4119028aaa3a0c5bb4a4dafbf953e16923762be55352799088f4010044e7c1b00 +DIST gentoo-kernel-6.1.66-1.amd64.gpkg.tar 72601600 BLAKE2B 9c0b0b33ebd396ffc23a9f3346db128444d327bd150ab42812ba497bb65d2f2c67816d6c611f86679e6a264340177e3fe958411cc3ded1566c77f84cc23765d9 SHA512 dd9853b3c494990c1ba840489e8cf248a17f709dfed556b5444f59569d36f27ad6469eeaedbac3d6afd83f103a5599cee16bceca98c2c66fc3710741b832b0b8 +DIST gentoo-kernel-6.1.66-1.arm64.gpkg.tar 65597440 BLAKE2B 189d7818f5d18c26a5b6d7518a39f1155c0c1e2fe29220f486383d2c7ddca6dc8743439ba86033395a42937f40eb1f8a15503ede58638c39016daa1a39faf1cb SHA512 22585a92a9793b3ed655f9488226cd757e227b1250f6e66b6190f1202e400c8215df4f62a7f2475f4e03924a91c4028a2afa46a746c2bcb0d3f8aefc54154143 +DIST gentoo-kernel-6.1.66-1.ppc64le.gpkg.tar 59852800 BLAKE2B 1eeba1ccfa7c1b3a2843e01d01fbf0bd870fd61f09c1437b98f03e8e8bd89a761063837b1922d6de0f638293ec9f9614f05342094ca3a01e5fe69cf99f7d1a67 SHA512 330e430f22184ec193598d37977d440fa04b269d43786e137d1564ac11a98aa9898f6446b129d8df7bafce041c1db7e86688a4f0e39c66826eab7dc09065f1a9 +DIST gentoo-kernel-6.1.66-1.x86.gpkg.tar 62146560 BLAKE2B 337fef78afdc800d90f154ae559f7b59d82617b34db38b010649a1bfc68f0d276d8fb1e22c14bc627bf90c32b752c5afad37eda71e05aa6635d6c0b6cbc6202b SHA512 30f50f1150206db518884999ce0dd2f85574518fb9ef09b9f982b8380993c5023d58f873def531e63037ef681bb0f4826c433ae3ba5844bbd5343830b97ff046 DIST gentoo-kernel-6.5.10-1.amd64.gpkg.tar 83722240 BLAKE2B cc31076b25edf689f7976a679fc5fdfb25d7f21c18562f32c47bb2d852b922dc50a4ab5d813725fdb64e2d06ab55ea22643cde733fac0d9379ed58b187a3d93b SHA512 7d689b10af6b471048e172be41d090e35774ba9b7cab5fd79cda489cd6224b47b16497cb73f840cdd4de8577096b734abddcc89f990f32d17473968a326db0fc DIST gentoo-kernel-6.5.10-1.arm64.gpkg.tar 73635840 BLAKE2B d7b0dd04cfed53281d679e6687d581d0d12c9096da1d36ecdbc38f83287a18b55bfa335fb8dabb623bb356df76321a61db147aa2a499a40072adffa210bc0a25 SHA512 ec9b958d660768dabdd26c633ed39b37f6264231849f7bd86d65a60938f496f69b0cb2cb1afe9d3a95987b8ca5c495507f5ca9d6e6df9f95ac87ccf46e0bd914 DIST gentoo-kernel-6.5.10-1.ppc64le.gpkg.tar 64532480 BLAKE2B 5c6e81f5ee141dd958671aca5aaa10314198b3fc38d025f36263c1d1086e09b723b3c96688c2175ffc94f8e3a93316a47b2b8d185499e6fea31a9aeb36fce24c SHA512 ababeaa3f298d5503c6db664c67fbc73e32e0efca4cf14c00399808e86c0a3346b6304eb36264541d5a9ccc7e84091f63348d296442c09abce8f74951e360d55 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.66.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.66.ebuild new file mode 100644 index 000000000000..726e0ef534f8 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.66.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##*.} + 8 )) +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 +}