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 F130C15800F for ; Mon, 6 Feb 2023 19:04:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93078E0875; Mon, 6 Feb 2023 19:04: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 73E9CE0875 for ; Mon, 6 Feb 2023 19:04: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 96897340C15 for ; Mon, 6 Feb 2023 19:04:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BBED58B3 for ; Mon, 6 Feb 2023 19:04:35 +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: <1675710110.47f6aa3f22b5d7c912504bceda1ec14910f28ae4.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.231.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 47f6aa3f22b5d7c912504bceda1ec14910f28ae4 X-VCS-Branch: master Date: Mon, 6 Feb 2023 19:04:35 +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: 46edcf85-5420-41e1-b664-dc36f899922c X-Archives-Hash: a51b2d4fd16309c7efebab512e07f2fb commit: 47f6aa3f22b5d7c912504bceda1ec14910f28ae4 Author: Michał Górny gentoo org> AuthorDate: Mon Feb 6 19:01:50 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Feb 6 19:01:50 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47f6aa3f sys-kernel/gentoo-kernel-bin: Bump to 5.4.231 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.4.231.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 4bf6db3163e0..9ab4c30b19d1 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -24,6 +24,8 @@ DIST genpatches-5.4-234.base.tar.xz 5429360 BLAKE2B 48e1199775c5174a4e25f9611f41 DIST genpatches-5.4-234.extras.tar.xz 1812 BLAKE2B 7f95873ce78883b4bb1e4d7769688565c5b5574e86417a8f11d822fe5d971f7e0948a08e83af6a35c0cd8d52cdd5fbfb5fa3abf03c233fa3711b3fdf19fa3dda SHA512 2e49f3f75089ed6ff55c007529218b5b68712e64785cb06dcd5b0f1276a3fe3b6a2ebe2f807b586f954698bfd2c73554a462ee592e89b234e6d25c614ecfcf49 DIST genpatches-5.4-235.base.tar.xz 5437324 BLAKE2B 16a5f67224b3bc10792945ef379825c96a2e97faa48444b047da90e36a341b1b04930e64b8e4bd457d3ab9ef842aec1e2334dee273c4279f72eb6745b2dc4b83 SHA512 461ecc356eaeca967112e69d8cbadbe8d84ede7b2a3d199ba11620f9b405d5fa0506c133d15599713b74b3b5bcb000f7cca27351b8ad628c81ceae64d339d385 DIST genpatches-5.4-235.extras.tar.xz 1812 BLAKE2B bc1b83082a60463da80236c4eb42590981905e35f653ab2976c9f31f4879446f65d0f123f11e45bd583fc0ef788898f38a6534e66d1a028716954020427736f4 SHA512 515331c1ce6d7ce76f946ab6b8443afdf47f829bdf8e486ca733854d5c984c0c99a36611cc82418b0155f9ce1276b702affec04b65c4699cd4bf796d3ef6a7d9 +DIST genpatches-5.4-236.base.tar.xz 5467512 BLAKE2B 5c2ec5abee963eda0373e04d4f0da94d7e49b7a1fdc05f7a2f7cafba61771124503f1294289f79629afb62075855c176887f525a95a73bef4247b57915dd4877 SHA512 0a3ba2742ab21407ccc9060f37d528cdbe64dade85927aa1908613221973f14765a78ef6a71e157a71defcf1ee9158ffa1c2e7c082f508fc1140792e2311a073 +DIST genpatches-5.4-236.extras.tar.xz 1812 BLAKE2B acc781fb099315e4716cdddc4a7f7ec88bcfae2228fd63c6f8bc99b3f562baf75339129f6d8e5970f5a812f6523fbe316992e1bb1606d6e06e5ca769ea1b5535 SHA512 5d772754922bf7eb2e21eac8fd597ba8c6211565a4d96a7bda6df68e089654b908bc09cd884c6e570836814ee75c84252d26228a20d138577e7717c498edad86 DIST genpatches-6.1-10.base.tar.xz 591388 BLAKE2B 5352d923a1df59c38cd1061ea9454041143a9786e4c81c195edb0e50ae9490f9629f2806482246c417db294a2ad9b643c9a6b38403c46c1b135c73a94506e6f2 SHA512 5ed3ea65e2ad63f4d59241b8e11f4de068564e5079c7fd6d511e9636867843e517b662f744577b615cbd572fa7313af260fb07c5c4e39e0cd114e4f315d3d777 DIST genpatches-6.1-10.extras.tar.xz 3804 BLAKE2B 2a713dcd63d5946368d0bf88fee904b05f3fceac266173aa3016c528cfb40eff98f7aeaca2fd67e52a02a39b80b430fd55c8abd65ff5e61dbb6e6cd6ee757282 SHA512 152c134efcd7ceeb233bd7d9211a871d6b4f633e4782ac73657d583e4f149763e37ad7cf0f19efbf1c4c25fc50f3c67167b15f024eabfcfcb016b1cb23c36ae0 DIST genpatches-6.1-11.base.tar.xz 672088 BLAKE2B 29cabedf32ea3f8cb1ca75bde23955e4cc23c54ac93f8dbe66adbca1b1af4e5c6b54e60b84ee95bf48f9432a844aea279e89acb3a15cd8ab67e5453fb179c9d4 SHA512 a840a15204d1f1fd9f809cabe01cb0e37756cf1ac89181b29306e6a3b0ea3ce5e8b48b2402804b096106d0c4a0eb2b318e4ad3eadfeee4f266e6c3b6c259a6d2 @@ -86,6 +88,10 @@ DIST gentoo-kernel-5.4.230-1.amd64.gpkg.tar 60579840 BLAKE2B b6d3672ce00b0ee2070 DIST gentoo-kernel-5.4.230-1.arm64.gpkg.tar 56586240 BLAKE2B ae6efc0ed40a44833f4476c467ef02d990837a45c2e3e9e9a7ca1233b194369900f9dd237905fd62ec7744fc4888c9f0c8a7fc55f27b59f30cf70afb28bf85c3 SHA512 43ea305924941fa7818533d7c64146d1a306906d8e509e5cf357b55c1b5d95afd7eee4c61ef6ff701f94bd6426d1426228634db9c46ec2e1b44935b0d83d4793 DIST gentoo-kernel-5.4.230-1.ppc64le.gpkg.tar 54343680 BLAKE2B 1970c2ebe2f22c60c27beaee53117ead282e904ab18e60182181d1e0aef404ab32d09cc1f700915186bdfde7aa09428934048c8d140a27b3ca5c23745cc74708 SHA512 462c00684fb0214396cf0013842b0c80b6df620e943ef8ca2a7ca003cca323a4ee696436b0764a38cf86250af5bd56f14ceec6e6cbc8d11fa870e1cc08fe2541 DIST gentoo-kernel-5.4.230-1.x86.gpkg.tar 52408320 BLAKE2B f2c262b1334444a998a7d057f333a1f8d0698c30f0c547a4a209a8f4e9265050de1fe2daa70b5de8e6a5dc604427bda91cf6b7a5c906dc3657c48bec47a6dbd3 SHA512 d3cf980e721e691d194635cc27bf074b297df7fcfa9979622e672864706bb30bb575862fab28c8cde6a9d98480510db985d6902d41b35cc2cc24a82febe92e6c +DIST gentoo-kernel-5.4.231-1.amd64.gpkg.tar 60497920 BLAKE2B f04ff277248f94e20395d885af5487633dec1217d806110a7476ffec71bb8650d4c7911671ef71b48abac9cbe45efbd4ccba2fa023631ffcf500b03f2b584d3e SHA512 d442f59916f41cbe4a59f20db9ed183887566f4d060fd374660fdf2703d0ae1772942721a78407f3363b3017721041be449ce20cd1849b99a5f3258b37b65abd +DIST gentoo-kernel-5.4.231-1.arm64.gpkg.tar 56514560 BLAKE2B dfdb0f036162843b839f37e28d2276fa073c8ce1c56a8016ff816410933217f46118da0c94c73ff2d917b696034a8d3f6b3188ff597425fa0c0af0b152abb5b5 SHA512 7b8efae1e45028332ecd0e3229492a4a577e352bee3b91a1ba6d356183d12e7c98c4293ec432d48fd23a24a3d558f0d543406143d9c9e4eafba0065a446fbca7 +DIST gentoo-kernel-5.4.231-1.ppc64le.gpkg.tar 54200320 BLAKE2B f987fcfb24e2b75de94f831673c6128b7c943b5be328fff880de5d2a862445dc6f36fce8e6fbfdd8f9be98acd97d3c9640b5979114f49069b0333a19e0950af8 SHA512 7b1b9cd22583802c0c9531d1e36a34634e8a0b17b2b23394e54e7c1b38d3019934bddd281e9bda8f5c97320e46dc2893c002b1259c47f7f6b1e67852ea43ccd0 +DIST gentoo-kernel-5.4.231-1.x86.gpkg.tar 52408320 BLAKE2B 5d1fe8ed14f155c27d21595ed037ab3afd70fc7b42329ee235210c9f91ac9ab644b57276700b73053b952007a7ea647a82483b05843de05b426f8244066a4331 SHA512 1342b96ad37c224158faad7843b03b83cfff2b54bb77842309ff1ede6a0473a6b951c0b8f830e81ae41ae3867011c52efb6b999dc46606e6b298e8a98be72764 DIST gentoo-kernel-6.1.10-1.amd64.gpkg.tar 76779520 BLAKE2B f5b3dad23778cdfc2092522dd7fce752466fd5751e59a46e11d55f049bf44776b0d9c0010f2a948f5c29ae187931529dae4fe2673a23c57efd1f0d31c309dfeb SHA512 e2261457caea64fe1d50567d3a89512c9af8450128d29b6b4db57b89dcd00f057a847158efbc8ec6834b304b019b93b33279e400c7f5e3d95bb224371735db59 DIST gentoo-kernel-6.1.10-1.arm64.gpkg.tar 69447680 BLAKE2B 1217237f5225399146382f08c246f0c90e60f3c4fca41bfecc21203a418cd0d595a9f8e4275b9110efc6d04b6b6929d5a31c94122b72cc5822ae55672f21d4d0 SHA512 b8c94263ba70bce31e1a85784575a9c1086f49a0ed2fb94e230d736e081451df0229643ece9e5c7992949b82cfb32e6a957f99d32182dd89092873bcdf2d6092 DIST gentoo-kernel-6.1.10-1.ppc64le.gpkg.tar 62781440 BLAKE2B 806bd79abaabcb96fc33ac8d4700d5ad9bc8b86822ec30080530038d4d255110acf1747bbbb665f7abe1fc0d435a5ee530f2c510f9e23ffdfc255a3d07922780 SHA512 dcec07bcd6b888d4204cea847249b9d2b4f16405d79a2e4d21907229274d664fa75be5f438d86f80a772f64cab7e22c5c1fee3f3d33f41f16b63c7aaa4244be6 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.231.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.231.ebuild new file mode 100644 index 000000000000..64a82c2b8323 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.231.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##*.} + 5 )) +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 +}