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 1986D158021 for ; Wed, 14 Dec 2022 18:28:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A431CE07D8; Wed, 14 Dec 2022 18:28:13 +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 8BF04E07D8 for ; Wed, 14 Dec 2022 18:28:13 +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 84E86340FFE for ; Wed, 14 Dec 2022 18:28:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 899B77DE for ; Wed, 14 Dec 2022 18:28:09 +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: <1671042484.47afbbbb64bb9e5216f6ff9fa7540de31eaef385.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.159.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 47afbbbb64bb9e5216f6ff9fa7540de31eaef385 X-VCS-Branch: master Date: Wed, 14 Dec 2022 18:28:09 +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: 4c20551a-2905-404c-92c2-dc856d661b0f X-Archives-Hash: 1d8fa28f8e267e12806649047e1d09fc commit: 47afbbbb64bb9e5216f6ff9fa7540de31eaef385 Author: Michał Górny gentoo org> AuthorDate: Wed Dec 14 18:23:10 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Dec 14 18:28:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47afbbbb sys-kernel/gentoo-kernel-bin: Bump to 5.10.159 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.10.159.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index d7ccee62ee6d..0d0d49824676 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -8,6 +8,8 @@ DIST genpatches-5.10-166.base.tar.xz 4458748 BLAKE2B 6bd32230b72d16a642c85296918 DIST genpatches-5.10-166.extras.tar.xz 3868 BLAKE2B 9de0bf3ec8b5d3cedf60f39ee1daba0ad24c23a3f43b9a35faa9b3bbc874b9fca5a6273f79ab840ced2f3880f779e0c4acc2f02c581d75618747f7c51dff6cd9 SHA512 6dfa61ebb4b6c08dfe42d3fa58def0adce6864ca2a8609bcf57720035b345f238aed22725a7e371e3ae562424049fd22da6c4c2dc5535da4b6820f645d832059 DIST genpatches-5.10-167.base.tar.xz 4477064 BLAKE2B 35b2dccc482e167393c2aca9fb23dc2ae9fbbef9c4061cfb3cab2e3081a3d129a6c9ac5db2d4119dff624481e43174032e451ba1879831cf1fbd198baf092f50 SHA512 174df1ca9edef297bc727540edf820b18f9fcfce702bab3da7aefb8f1378e810267a368fa6a7742300588a3e36a709e09144383501507bd012753b45a342d994 DIST genpatches-5.10-167.extras.tar.xz 3868 BLAKE2B 31508844298f272c02ce06f341597d4e75013488ea35409ee51f2af6dcebb14b2e3c17b7e27ccb766b051f618107aab113a6174959313d504a40456ca6910dc2 SHA512 808de5319a1dae4c6297a9aa6b249d02476870d9b929a2e7528d709cfc49d14e5bed78bc13167ce8d203f3e7ebb580d86382550de97690c7ae5ffb7d0fa0f777 +DIST genpatches-5.10-168.base.tar.xz 4500132 BLAKE2B c613cf38336ac3ba3b51af3308d111ffce729694ce3e5d6730c20c97c9b5f5a6d88d1c2d6a6d86ed66522e9617fc4cd94db99b7c02e695c4bcd1a19fcfb00634 SHA512 23c394c27a97129e24ebb46a85f52fae3b31e50d279970fd5af3081b6df275f9471d5513a5fe302ca8c7001d09b83af5fa7a17ea41db6652fb434859a257f0a7 +DIST genpatches-5.10-168.extras.tar.xz 3868 BLAKE2B 86fdf10638b04700b3cf4fbd6ca570ba6fed2db16cc8b447f3661589c779ea25c0400538d79834814236f463c923f754033bef963a6f886ea447ce82349d5a86 SHA512 12f20ceb292d0f347778f6b65174ffbe0420e58857671fde768e1d14c7712cb2ca14f84f2e615ca8a2c2981495f2939f843d82dbf9172bef0e3bb7ac3257602c DIST genpatches-5.15-81.base.tar.xz 3257712 BLAKE2B 66e0d129053b2cf3ba59681318be5c6a62d469d6014535bd4b47d5368a7718db7015ec1dfab34e4db324b4d626f8f8a9219231b2908c3fc2c2d51a3f99db999a SHA512 f43d637c799216e2bb99cfbab9c51b935d02f2dadaa0f2fad238f14393340420523c25927c10fd6b69745972cdf4e7f3e23cd56eea799626c69f4fb7d44b8e49 DIST genpatches-5.15-81.extras.tar.xz 3932 BLAKE2B 0783c48eab8d9f53d07770a3df525df2ffdab8f36d3d7db2d22e2fc5b0d1fe904644b013a3d1a5ea3d967636d4ff91b3f208ea8f004adf310134b98ec5cdd0fd SHA512 be4b557066d8d2327724c8be440ebcedb01d0eadab7bfa0f9f230111cba76a2623bec0945fc887b91d6e5c73eec3eec4fa29b2e76606e7871e81a91fdc4b2bf9 DIST genpatches-5.15-83.base.tar.xz 3328188 BLAKE2B 5d8da81e1c5f936ce49589d1dd10f41246a6059c410c0215b495ca7401eb618aa6c87d2ae23b08f27e3be5dd6b7f88e5d4e90ec9950924db9a08375d45cb2da3 SHA512 fdcbf6bc1e17f04df9d8334c1c75f21e5ca60fb99157708a4c599e43ed20a58664fe54fe8467924623d612ba2ddd409af4840195369fe274a4f55a84fce12ade @@ -58,6 +60,10 @@ DIST gentoo-kernel-5.10.158-1.amd64.gpkg.tar 66498560 BLAKE2B d42bea7e8dcd498c0f DIST gentoo-kernel-5.10.158-1.arm64.gpkg.tar 59648000 BLAKE2B bb2d0e3eb832d8dae1de4e3b84fefe45deaf30c9109aa5fed2dbace4ccaed6b415d490bc034af4377308aef93e1b496261fdb61e5c13198cd5e9943010244e36 SHA512 9607e4389a3f8e02aab08b79cf7585626335d026ac64cb69cc7d656d5034828d4f411291a52ef40f9e97174ee71fa5ec37efb1c9d94e25f40a8d18e459a49008 DIST gentoo-kernel-5.10.158-1.ppc64le.gpkg.tar 55050240 BLAKE2B eee1b51740418ea0beb1493540bb85d649484f4be5adc063718f6eed5db61221951cc310edae947d4e164cba6b2f2217b73e44e3f29855aa43e8d5665a9e6d69 SHA512 7991322220f81d994a1843c770c885e65e6bd8d8ee92ee6ef85d1cbfc6f203ce149281629782ff695d0be792c68cd79407fad9c06b5661f20642d5cc7c2dd09c DIST gentoo-kernel-5.10.158-1.x86.gpkg.tar 56432640 BLAKE2B 5fad5c01ee50205af811139804c022a92f0419c1941e8fdab87ba0756430895eeb6b33ca605ae7ce1c4ec56e890d808163eb2da0ad8ff518a5d4294dc0e5d1a0 SHA512 9c911c64b12d0df1bb3d7176905887d23528f4792522efd9a89c953c060e82be7aea3bb954cb5875b52370bd3415dbd367a970506b83367717e72144cf386b07 +DIST gentoo-kernel-5.10.159-1.amd64.gpkg.tar 66498560 BLAKE2B 5efc48f3421b994563e3ce18b030f3efa35cacd2bde2387b533b79c46ca94bd23d8bb60df76f7692457a5a5ec6e550dc68182059dd98758953fe28a0a76e6cb2 SHA512 ca0377adad52d0c64f3762bdc7dd749cb1733221fd0b711397dfc1323d307e216dcf0ab66053fd58c0b70a6696f2b1bab47b220670cc3268625d609da0bf233b +DIST gentoo-kernel-5.10.159-1.arm64.gpkg.tar 59658240 BLAKE2B d827003d70911c5517bd4f95cab3db91933dabc4d6361daadab7e4ed394b43d7eafbe3934e641d89321b28eb6fa15ba162eff6100f9a8f1c12951a6ac331b35b SHA512 2584f568f0191d417e1366b815ac57e2e35636fdaf50e6bc1281552e1cf1c61d1efdd31f3f2c3e00f6ec062a97b940c2421eff51ab948e8f73134fbd03f5f926 +DIST gentoo-kernel-5.10.159-1.ppc64le.gpkg.tar 55019520 BLAKE2B 77d2850555df170f737d23fd5ea09ee6782be404d25c69fe52ab8dcecb26ce2be96c8d43bba5e70e666fbe103a23b209b355601410cdeb12d688698a22c6d259 SHA512 15c4a7281db9f86ea4bcfdf734429b5a182db1381fd1df75799140f4a2d341888cd9fe0ba1507b2810a329f1ed2c8f659264d25920628cbe5c8674adc87c2369 +DIST gentoo-kernel-5.10.159-1.x86.gpkg.tar 56432640 BLAKE2B eeb5cbea77c5bb557ae5d27bf1bc02d27e20a7783635b831c2a16ef863076be98c93ca990c789997f070406bdf6f9d166c31f3d7b43f71794dcc7e3ee0ef172e SHA512 c184b6642d5158aef504645c45ade648d93de01e8a96c622292e1f0611e6eecb72f51bbf9d6282b9e82fa6c8ca215eb2b46cafc5b341ef9c96ba785679cda522 DIST gentoo-kernel-5.15.77-1.amd64.gpkg.tar 69806080 BLAKE2B bf5bd50028af7efb16dd50669486f265af7be14b603a32d0957f7630fca2c68a151152e62eb62c5050fb4b22b9f3084d2ddcd263b4b34fb1e6f29a468c7a0b93 SHA512 b8fa25be9b0bc56a7ca160407414e13ef0b0a369797baee743cbf00514ced83edd0ac0f97698d899b80f015629cf02f2ca6b81905ed59a320be865305e2b7cde DIST gentoo-kernel-5.15.77-1.arm64.gpkg.tar 62873600 BLAKE2B 1a12189a1e45c2663686fc00da11e411d9682cadd4a90e64961b81da73e7e5b4f2d82e8f90c1ac34a1a66fd7df14946e4ec5c4bae422736d05095bb9be527518 SHA512 b2fcabeadcc74557ddc8e0f732103e234df218fb07cb508638c57536d478e6fa1c545fa92608742a0e074242123f3e726e7a3e6e1de5eda912855d274236c27a DIST gentoo-kernel-5.15.77-1.ppc64le.gpkg.tar 57221120 BLAKE2B 82833222c08fbfd9fab8255e9ccd768bed260d59b0b93b852fa0022cf207817b2bc774b34926ea6331d5d0ab6b7c09619036d76506bff87d231bbc98b1845dc0 SHA512 1fc6be941d361e41e5560744ab38c8c124ed2fe32ad99320764564c892be346fadd85a4d0e4a4bcb264102e1db7d617101329661386deaf2356929b9b61af3dc diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.159.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.159.ebuild new file mode 100644 index 000000000000..68f5f261e1e8 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.159.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2022 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##*.} + 9 )) +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 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 +}