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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DC8E81581AF for ; Sun, 17 Nov 2024 21:02:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CBDB9E0EC6; Sun, 17 Nov 2024 21:02:40 +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 75828E0EC6 for ; Sun, 17 Nov 2024 21:02:40 +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 EE205342F92 for ; Sun, 17 Nov 2024 21:02:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 57E992215 for ; Sun, 17 Nov 2024 21:02:29 +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: <1731877344.aa507728014808c9a2de8e1804714c59431ec640.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.10.230.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: aa507728014808c9a2de8e1804714c59431ec640 X-VCS-Branch: master Date: Sun, 17 Nov 2024 21:02:29 +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: 6efa266d-05c4-48d5-b724-a3f1d334c649 X-Archives-Hash: 104ecaef946d9d6240a535d5317bbc19 commit: aa507728014808c9a2de8e1804714c59431ec640 Author: Michał Górny gentoo org> AuthorDate: Sun Nov 17 21:01:31 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Nov 17 21:02:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa507728 sys-kernel/gentoo-kernel-bin: Bump to 5.10.230 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.10.230.ebuild | 138 +++++++++++++++++++++ 2 files changed, 144 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 175a0dc2eb4d..3373fb67c545 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -2,6 +2,8 @@ DIST genpatches-5.10-240.base.tar.xz 7605364 BLAKE2B 2ab206d398eea9704f90f348544 DIST genpatches-5.10-240.extras.tar.xz 4056 BLAKE2B daa6ee7552a0f30598c4fd1c264509698017b64199ca993000bd6d226355c60b4d570c942a1b7e254d32eb941e2b873a4ed8b7a8f976b16cd93dea07727b8d15 SHA512 c01c07819c65357eb83ad9446b24cd2398c3ce8c4ba038ed726cba220145cf013d544b6442bcc65f7c916b5dbf85008bc638ddfee26f33c115e2c929d650db7f DIST genpatches-5.10-241.base.tar.xz 7627800 BLAKE2B fe3fbe6a2d1129f41cefd063750b7c2c737dd19f12ecd2dcf8ea764f155ba52f68504b6870ee2084287763b8b5743255b9d5d0b85705cf3ba693e1f25f3dbe6b SHA512 6514e763cada5d06c3869d81c2ff88a86f4540166a87b15f3749a4872e76c0ae30fc97a1c85e0e607d810775ebcc393869f139607bff80b45df619abf2cf3e3d DIST genpatches-5.10-241.extras.tar.xz 4060 BLAKE2B 342f265241e9f07f594feb34f5442f9a5975d4bd4f0c464104c12f300f0ab0609703e4f9b0b14611fbc0ac3511f9a8c15caa1161812524e08b8258445b195f56 SHA512 94dcb8bc67202dd010562c9bb15c0fa0c0c0732425e30bf8e400a9b06bf558453481c77863797d4accb5e5a8eccdff13a9239b1af86f0959fe008ed096522347 +DIST genpatches-5.10-242.base.tar.xz 7643240 BLAKE2B 53f852e2bb9c745051b4aa727643d696245e711756c20da983dd115eb40215e39ac445932c7b13b11bf37beaba9d0c98b4ba403d0113f4838e365081e11dfdc7 SHA512 cc8a85382291a61aa4c6f8009a58cfc4faa2f6aeca42e13c72fb7404f0983d238b98493e10ae753149a8aed8421e34a6d1d0895cff8e728f4dd228a16d88c2b6 +DIST genpatches-5.10-242.extras.tar.xz 4060 BLAKE2B 9e52b0061daaa25a31b6a80fb9ef0a27b7113c324dc9a16cea15b2f5d9b8c1de68544b6e499a5e5397c93a8353f4ea15cfc71ee5a0e3b9d45c5bc5da0ecf8767 SHA512 042fefb3ae1d7ce342c8667c3a415d260d5638d0b5758b4e00d65af33a343701a540f253459f0043fc859a8bfb0d6f6ef2f7a551c4868e347e395dc0a9316323 DIST genpatches-5.15-179.base.tar.xz 7600676 BLAKE2B 5654c1db636059018715b1ec3ae0c3f7b5f7cf9e88e4ccb1df9843eb6fc130b204d5e7aa76f77ad21502030ed5050df760b59f2af59fe2074fd9e16e3703d7da SHA512 0900b71b1c43d507a06463a657bb5739964a3badcd189c7aadacfb43758da529a07215cda9fc66fec1e9e25e07ed3d8c0053cb37b0779a01a545a3993cca516a DIST genpatches-5.15-179.extras.tar.xz 4060 BLAKE2B d8f7885fac420f6f64dafcd5edf3500c8745fc076a382a9c62cfe1a5fd86a2c1d880ff8fdd0bd12649760ba115abc43de9da76e559330c0272f88c43926fa990 SHA512 01a08098524bf56987a55707b767911270b19b7e7ba032ad84ed3942fcdd073c0bf92443fc7cfe24ce1e88ec065f37f1a5c5c20adf3594151bc933a71c92f9d9 DIST genpatches-5.15-180.base.tar.xz 7622872 BLAKE2B bdbfebd8160b3851b67c1bba86c8f0c7f7dff79f2304c9b297755043067575a14982d0e79f2aa0e3f42994520e8bc50cbff11651ad1d546d314f01d50a33e0f3 SHA512 606659b93b9782141434313a634fd648f5f934caa2016091693039035de0fe96e6c3a88075aefde18aaf323eed0d8a4188bef64f990f20fa9d06e4bc8d7e1079 @@ -50,6 +52,10 @@ DIST gentoo-kernel-5.10.229-1.amd64.gpkg.tar 63324160 BLAKE2B 8691af17987fb88b6f DIST gentoo-kernel-5.10.229-1.arm64.gpkg.tar 56750080 BLAKE2B d2b1881db80de1969d0b972b8cb4c1eeadb486307813fee06ba263593912282c8a5871801f72db731ac5dec6fcb4545c4c49bba5402964e2704200f5d925e132 SHA512 5cd8e800a8640207ec5a535bdd9c5e173c780b3c7b2ae5f437d5a4efd29bbfcbb919160546e519327f9fe66f632eb195b389c0de5062f5d3f0a870aaccfafdb7 DIST gentoo-kernel-5.10.229-1.ppc64le.gpkg.tar 52787200 BLAKE2B 22e28a1a9c72259d198d2df47bea454dafe73217c1e610a246b3a3e094b4081ec887340abfea3eea16dc8280af23e90cf48cea6682748ea459a5f0c9ca975851 SHA512 7c88b3441725f71a5163545cb59720f1de0ebe38afef4f97f89750476b1a3497d33b4978f753ccb98478e5d5a4ef73fbe08d805ae23287fce7a135410f80714a DIST gentoo-kernel-5.10.229-1.x86.gpkg.tar 53626880 BLAKE2B 16e1517646a36c5cd2d5a2eaaf8a91a9358a5744e430459f4d4fa193836ceed6cef4cc32040c5e7f567a0296d41fb6a3a48f8685be109810d53d674411341b1e SHA512 9e7f0ddb395b4d8944a884711006cade09d66cd483822097e5fecf4eae3bdf5dcc6b8a93dc666564014d3fa44262ca159f5c19c804e43724d51b55508bd1df20 +DIST gentoo-kernel-5.10.230-1.amd64.gpkg.tar 63324160 BLAKE2B 62af76878c2adad51cbdfa4f7fe6b508ac77d58490c807b8d800e971a6c60d32a0f6d8478bfb6d3a167e118d8a928a4da5c338a00d4bab3fae59a391d4a74cc3 SHA512 5a8eed28b0e8d49d5a45a4aca5e11c5f39eda93ed854fd9237c3cd6b90a511bc0426383b0a65293d6a5910bcbd27e67a26626e7df6844ee41797de527e2d2144 +DIST gentoo-kernel-5.10.230-1.arm64.gpkg.tar 56780800 BLAKE2B 5e294f0fc44a4df76c251be2232b85ec94a613bf59a116b7753373532d7d45f845809df0d379108ac6c75a8ecf290da47abbb574453a5595a05fcfc3d143fa0b SHA512 ecaac1adf2e5727edf3d1a0dc4c3cbbebc9fb6f8d574749c8a2c2bca7b0a57b6d66d4f28b9ee7378052cab4e7f671affd7f24d777f978b55396470ee071fe842 +DIST gentoo-kernel-5.10.230-1.ppc64le.gpkg.tar 52797440 BLAKE2B da3ae36a895bf2b8135098be61b6b1712dda4ad0ce241306b65d877bf48494f71d84ac209895dc73054846e23623c77144fdfdc6cfdc43cec9516f0be78c125e SHA512 b352e0e7df9e1ac907b840348b3c341be45a0dabbd539ddd89bac158c11517164414c73f528c7c9a0a5b6c92404045e1e41ca906a393ff1e2ae8d17f0e6422d4 +DIST gentoo-kernel-5.10.230-1.x86.gpkg.tar 53637120 BLAKE2B 0ec15aeab1519932551fd6adf6408e894afb3753507529d4570349d0f0c1e2fae99cd6f97c76f9096ca0c5527eeb74d0d6081d58c9f746e01b572ce49035341b SHA512 867eb18a2fc938b69346ecb6826a9c80db9af982bb001ad4b25865c75817e7aeb8bb96ba85e2ddf14b0db011b31dd659886e7db91efa5a63fadda8c4912bf0de DIST gentoo-kernel-5.15.169-1.amd64.gpkg.tar 68474880 BLAKE2B 937f3211465609c1e87ce3b31d49f1cceecf48e7c9c6de7ce2cc6322d7de471281714219a5b82f96207afaad41240c827b079bcfee566e13f10e099ab60fc4c7 SHA512 614e86bc8e794d108b0838f7cd673e90c04cc5aeaf4141879f1737838fac71d73ddae683a80997a692074c8a74a0dc810195315f50b4717cb4d0209e63c5147a DIST gentoo-kernel-5.15.169-1.arm64.gpkg.tar 62423040 BLAKE2B 8788e1f93da7f48385f9533fde291d7ca326f428d21ea53371a3284683dec7186d01ca98e3431a8a41ed0df9323227ab5ef25d140d677772cec036e9ce10ec94 SHA512 616ef3465d5fffdf97af736b951b52d392bc2b9e93f3f46c754c049d088647e4bbd7018b192a13c131441a131f52e1bd86a6f4769dc0ae04961bd4ad0576b301 DIST gentoo-kernel-5.15.169-1.ppc64le.gpkg.tar 56760320 BLAKE2B 09ff26e5e48231bf18396b28c84893c203ed688e5d396ae5b0c29d0aeac24f097afb862bd306e8e332c8ac7a03dda93ab6fdeabad5cefffe14414a0533c97441 SHA512 fe779f7c55503ec8fde62c4afc225728de59cd7ce8be7832fb51581e2f658bceffb9b452d3e7a4dd8f05f87b11103e1c3f5741a37d3eba541c85e9af2276c1c6 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.230.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.230.ebuild new file mode 100644 index 000000000000..a6e656009f81 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.230.ebuild @@ -0,0 +1,138 @@ +# 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##*.} + 12 )) +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=" + 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 HOSTLD="$(tc-getBUILD_LD)" + if type -P "${HOSTLD}.bfd" &>/dev/null; then + HOSTLD+=.bfd + fi + 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)" + HOSTLD="${HOSTLD}" + HOSTAR="$(tc-getBUILD_AR)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP="$(tc-getSTRIP)" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + READELF="$(tc-getREADELF)" + + # 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() { + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + + # Overwrite the identifier in the prebuilt package + echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die + + 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 +}