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 6F253158099 for ; Wed, 29 Nov 2023 04:10:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA9352BC0D5; Wed, 29 Nov 2023 04:10:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 91C2B2BC0D5 for ; Wed, 29 Nov 2023 04:10:16 +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 DA608335D3A for ; Wed, 29 Nov 2023 04:10:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5C94A140B for ; Wed, 29 Nov 2023 04:10:12 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1701230869.7eaea21b24a80daaa2653979ef4a09198fab501a.sam@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.10.202.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7eaea21b24a80daaa2653979ef4a09198fab501a X-VCS-Branch: master Date: Wed, 29 Nov 2023 04:10:12 +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: 0ace01ef-2851-4985-bd1b-7ea951c98382 X-Archives-Hash: f4236822b87e91fbbd2a006d41646775 commit: 7eaea21b24a80daaa2653979ef4a09198fab501a Author: Sam James gentoo org> AuthorDate: Wed Nov 29 04:07:49 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed Nov 29 04:07:49 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eaea21b sys-kernel/gentoo-kernel-bin: Bump to 5.10.202 Signed-off-by: Sam James gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.10.202.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 75556204a876..75ecc8c67896 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -2,6 +2,8 @@ DIST genpatches-5.10-209.base.tar.xz 6144432 BLAKE2B c991e0a2df03e013c15072e7daa DIST genpatches-5.10-209.extras.tar.xz 3876 BLAKE2B 4a85be9a7a00ef23f2d0d7388b328f360f4b1c7b45557bf89428236442945b0519e98687f951cfa3cdcdad6fd11e3ec42067ea26301cb4e6612610792a59a0a9 SHA512 f59ec430d275491fc521f1833d71185e91cc7650de51bdd2de3da90dfe66668520370b83697a35000407d1ada01bc889b1ea089f53be75f3cd8d52840e1399ee DIST genpatches-5.10-210.base.tar.xz 6166764 BLAKE2B d2afcbc4c25f01401b9971ee3548ba9f945e6cb3fed7eed800e4e082d3553edd1991f49eca0eb6df00be09f19c9b85f378546a21439d140ecffab7108c46ce8b SHA512 54fd317bafbc4d04cfc05814b8695967dab324773a76964e86ad018e27b58903f5fd42bf06202aadc2c86582f07be5a83d39620606611ff5806f14460fec0b3b DIST genpatches-5.10-210.extras.tar.xz 3876 BLAKE2B 51ff2998ba7713fd4c7f4cd025b5abd014ef7c8e944841a1b6a6517141aa4b74efb2b017179197b03c82972e1b24bfc3deb9ee4687e551af8b55162e3f73c520 SHA512 24cf5ed8915d9db4ed79e05d07bf95ae499daafb79b15113a917743dd5421467265b47effb356d813165f5d7675213e5d2d4ff9be37b11573e77172ef72c05c5 +DIST genpatches-5.10-212.base.tar.xz 6247964 BLAKE2B 946041f888556cfdce0b20394321eef7a28434b0a99abee389c51f72b6903276376d19e88f0ee8615269b73376667a223cfdc0c2c16f5a43d9fecd4f26d48edd SHA512 b3a67d0adada6c8922a9797a094192def65404ba75db193fd7b92a4389437a0163e259acd271e8a12bcb68867447318411bf85e4280e8bd84d5c105635f8b97d +DIST genpatches-5.10-212.extras.tar.xz 3876 BLAKE2B 0899603bd8419915c49ff71ed423ec39ea5030b648ad9e3a2c25f02265b902e6797171bd58c2ad0be37a62caf0de65bc565dbeba37b0c2336c68edbf7374c932 SHA512 39ac14f636ec9a38968f525fb3aa6aba7c43082fb85cb6995210da93ac932a34e74645c5fefff9c7dbe7c2c27195bb4992caac858252e0ec2b0e2ac2684c3075 DIST genpatches-5.15-143.base.tar.xz 5634608 BLAKE2B a00b2898db47b874fdfe2e2bf0c40edcb4f358765f14aba79c686b8d6f99c6a77792d45dfcce141837ad6d956c6ce417453e53b6ede9db2f4e88b501aeabda21 SHA512 1342f8090f18bd15c44ca11409fc09ee5c406801fc077277682595fd58e8f37a57e022f433a0e8fb132cf6bee64f48dccacdbdbabab776d45634477e195eed67 DIST genpatches-5.15-143.extras.tar.xz 3936 BLAKE2B c942135c9120024effcc516070b81aef19de95969e19c95b7c222ccf9ba515db329735596f3c5dfe81f12ef29165b898de75988f0c632cd228b6d3579e3c5648 SHA512 eb9d0661d81c1acbf5884f3ccc864e0b110a517556bd62020f41f3fad77c32e57da5a7c1f6411a4dc7d9b85ad8fe9af4658613b0a3e9484fb609a7f9ac1a3f39 DIST genpatches-5.15-144.base.tar.xz 5663416 BLAKE2B a4347f6e6f5916a3811ddb7ce19a506f6f4bb691e57ed5229adb55d90aa2fce14656d1a77d63539ef5fba8c0a5ed8c3cd0933c9f286694a83c65898b77015e66 SHA512 8f4a7429a9673cc2aeffe870ac1f742b6d111b0fb72bff74b3407d13eaaa6200ae7b931449b7c5923c215428b2c55352f728d60a09f1ac7907625f37a454a3cf @@ -42,6 +44,10 @@ DIST gentoo-kernel-5.10.200-1.amd64.gpkg.tar 63242240 BLAKE2B 3fc60499b637165fdc DIST gentoo-kernel-5.10.200-1.arm64.gpkg.tar 56719360 BLAKE2B 7377a482b9f04eac91cd6fa28440394ca2b89bb3415d19f8c690c85d873ff03c49d6f6b2b0ba0247833f9dbb0ae2363ef04f1d39f128806ce6ec986cf2feee7a SHA512 cc83ac5bc22cc5699f16f1454c0b2f3c7d5f36df06dac2ce592e3da3b6644d02731e5c7fa105e48168fa79972888cee6a956d733c7e4f663c68dba694a39432c DIST gentoo-kernel-5.10.200-1.ppc64le.gpkg.tar 52858880 BLAKE2B 19008a8fb83f0f15af2a7a216ef9ea92434ad5e30a5e9b75d87a374daac1ebc968006944fb17e3cd47a4aa8882bd87381c1c0c3ba4cd65dcc723f3beb0ed6975 SHA512 372507631fedefe4d7d682bad3229ca29d8d206edf848f2541fd97edb21815baf1c05cb5cf447a0d61afded40ec78c4a2ec9904cf3822ac39c676a594e68da40 DIST gentoo-kernel-5.10.200-1.x86.gpkg.tar 53544960 BLAKE2B 3c1e9bd5533a941162541dbd52c2fe59bf413e6d226c0c6635987bd14271a807fb1a010a3c0dc425ead7361b4dc6f3f261d45c674de3ff41ee627e281a6675a4 SHA512 72bf4fc40d7bd8e1b3b5befb57ce5f1e76a18c22fd1b46ba39438c8cd0df3763304f370cc1dcb4236a5f64a7f73e3ead3332f2d18df7cc298187986cc3d1edf6 +DIST gentoo-kernel-5.10.202-1.amd64.gpkg.tar 63221760 BLAKE2B 893f856b98e59f9ab70727cb715889cde687083c3414f3e3f92e2bbb0f73fd54d5d729941e71fded124272800580df4aa7c3ecdd2bd70cd1bc817ba596ad65b4 SHA512 c129c1c6a0249e14b457f1dec2d1c2c20e2c0ec06d617910616f4ab5dcf646701541deecd2ac9d6b0f6754458c04830f44852f8590546ea605390692f0146ea8 +DIST gentoo-kernel-5.10.202-1.arm64.gpkg.tar 56709120 BLAKE2B 118306cc0e5be38454bd57f26149936777c00b6b1f7eda3c21331cf185ea16ce03e7d2f5ac3008c253e8cb576ce2aaeb7f33ce22c5ba6bb44a2c6aa2b5fff89d SHA512 7c4f09bdd5326ff2d095b16186d756f8e00fe7887bb9318ef6689b8cbdd7bba3bc196f797b00fe819fad0c8cb6b963494e73b0931f68ef3fe7ba3c8de521c195 +DIST gentoo-kernel-5.10.202-1.ppc64le.gpkg.tar 52879360 BLAKE2B b190f13c53d4cdf5c165e17889fe6c7a594b35e31e1ed857782aea9b8390b9391cf06b7b192ab158cb75b38e293f1088f77f917e83d215addf56f342420b56eb SHA512 9dab7797b2068e5e63ee5a0752dc8365c02708178f0a6bd44f0d3ce6a64a44b535ff499b1ad9f95f69db5ca1be68d7356f32a35c6a932c9d1025a237dfe11a72 +DIST gentoo-kernel-5.10.202-1.x86.gpkg.tar 53544960 BLAKE2B 595059e2e66900eae6166b3b3e34901d2a0491ed8dfdd1acfad60e820d7c598337e4624e46646163f297eb66ebeb93d0168fb20c5dda70c35ae4e2660f48f788 SHA512 453bddd1915e7a3aa6e52809a328ac1871c0db1e8cf29695b8640409219394129092519ff672ca6ba7be5df64bb99314baf137e6f6a1d75d283d4a7178fc3d61 DIST gentoo-kernel-5.15.137-1.amd64.gpkg.tar 66283520 BLAKE2B 2d2ea679a04e830f76951b8c8efd374ae9fce8dae97600e7ae33729e6dc6de684b527565f2b16b68c520d4f6a7fb31565ef106a9ae1b99f88e3de7341a3421d6 SHA512 59d5534d80fedb662ab64616a5d77b1bac97af6838bab22e45b469577c2e818089e0d61c829c95c621bc957d6c094b6f914fcdf35248e0174b7f5636af9184d9 DIST gentoo-kernel-5.15.137-1.arm64.gpkg.tar 59709440 BLAKE2B fced7223953d9cd91909e7d9aabb0373a9e2f1337a89d94506bf74cd91d197bf634b9497680dc442024fd0c00a9bc72eb08fbbcf08225cbd25de10f60a057a4a SHA512 71c2f9922a3c44a91da482077dc096b3ecf916d44183226ae90f6e7d78a99f927c221c0b6f8ba3856aaf94c13a35a1edff276a3af3b66e18d8c18ed6b542eaec DIST gentoo-kernel-5.15.137-1.ppc64le.gpkg.tar 54937600 BLAKE2B 8c9e3c1b7faf27de2d568f12ad413682e82cff899bb0dabfc2d5eedab3e3daaa27c5413938f74ab44c8113e0ba9a61df03e768d35ec19f8011180e49de44aa8f SHA512 884004c75a780a7387f5d29d15ffa4827d57f30afc7abedd82390827f0e9d59c8463a756a8bce1c0d57773f8b9394b57a93dd6cff3a7f4065032ba4158988104 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.202.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.202.ebuild new file mode 100644 index 000000000000..fb165f3f0e91 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.202.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##*.} + 10 )) +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 +}