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 A2D34158020 for ; Fri, 2 Dec 2022 21:29:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48419E0E74; Fri, 2 Dec 2022 21:29:10 +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 2DBD4E0E74 for ; Fri, 2 Dec 2022 21:29:10 +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 D7A83341352 for ; Fri, 2 Dec 2022 21:29:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 730B877B for ; Fri, 2 Dec 2022 21:29:06 +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: <1670016542.2b0df69d88e38e01c133636d82b9fd20c5de10ef.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.157.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2b0df69d88e38e01c133636d82b9fd20c5de10ef X-VCS-Branch: master Date: Fri, 2 Dec 2022 21:29:06 +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: 52797e5f-1070-4aa2-b15b-8d443e10d93b X-Archives-Hash: 81dadca32a54d401e0dfc9556c2f92cd commit: 2b0df69d88e38e01c133636d82b9fd20c5de10ef Author: Michał Górny gentoo org> AuthorDate: Fri Dec 2 21:28:16 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Dec 2 21:29:02 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b0df69d sys-kernel/gentoo-kernel-bin: Bump to 5.10.157 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.10.157.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 6d28cc8d4a8c..cfb43888b908 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -4,6 +4,8 @@ DIST genpatches-5.10-164.base.tar.xz 4386332 BLAKE2B 88887f7d89de037788c0a5d2bd3 DIST genpatches-5.10-164.extras.tar.xz 3868 BLAKE2B df5c97a2e0caf890fdcbc564b67226b66e1a789bb8c972761ccb912a7c1d3f0678381fec5da17f73661e302bc3cbcb3a9cbd755696e5c8a94ab9ddb9e6c8c89d SHA512 4355ad2bfb6e0d706346df3bda7bba4c7d3c6145b6707df1536db2588d72a3c0e6c42487296272149d05c06c99f5524bdf724bfdeafce250719f696cd566d43b DIST genpatches-5.10-165.base.tar.xz 4410392 BLAKE2B 67300432c6ae3009843c2dbdb514228296716b3fe884cec9307ae75c1848839633e504d287fb059f7766f7ff545fdab0566b79938d06053b1c82d2aa6f928f7d SHA512 208dc3840efce5d0c2e57926ea7a29890f3998b56fa2def90046cdc1358dbd22a8a597aacca754f60b7b742c65a9e541fdbc5b57b9838fec287eec8131fa2023 DIST genpatches-5.10-165.extras.tar.xz 3868 BLAKE2B 1cf0214ea5d61c180a97e99697889bb0ab5b1e7a3a7c0f3c3492e9de424af586975dde56e9d8d24c0222f88872d27cdb763c02cdb64e293e755a6ea107e22a23 SHA512 b1a18819991cbc9265bd0aafe0ad4d20402efd6e96c7d68f509bdec0177cc4509d9f71b8dc41b906643498ebb9f51721df31fdaee6dd69652c01237fcb69717d +DIST genpatches-5.10-166.base.tar.xz 4458748 BLAKE2B 6bd32230b72d16a642c85296918f467d181389087aea84dc1b6fc922c3091f444169f15461a438480e90de59806e0f0cb50f51ca40a590369fb1ae28d48018d1 SHA512 8897cb2a53f226e40193ef67c498f48270c1833986be3668e47da426b8d4c37ef59ea2d09b3582f457017780059db2430d42202e48e55bdfa697ecbc64f19183 +DIST genpatches-5.10-166.extras.tar.xz 3868 BLAKE2B 9de0bf3ec8b5d3cedf60f39ee1daba0ad24c23a3f43b9a35faa9b3bbc874b9fca5a6273f79ab840ced2f3880f779e0c4acc2f02c581d75618747f7c51dff6cd9 SHA512 6dfa61ebb4b6c08dfe42d3fa58def0adce6864ca2a8609bcf57720035b345f238aed22725a7e371e3ae562424049fd22da6c4c2dc5535da4b6820f645d832059 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 @@ -36,6 +38,10 @@ DIST gentoo-kernel-5.10.156-1.amd64.gpkg.tar 66508800 BLAKE2B 6a7d41f7aebaa3e6fd DIST gentoo-kernel-5.10.156-1.arm64.gpkg.tar 59658240 BLAKE2B caaef2dcff1b5d0a573f10ed886d9348217d63f4e7a90988ea5b52cc0c0bbd91502fc3eba4318d9268147adc45fe9048cddb385c8566a32050380c8d214498be SHA512 d37b405cf7d1ca24f3a9f425cd3c12717e2287f057e00e74f6fe32ba141d428fced6ee0d44b926f80f109ea3efae0146871f00052737cebe51f777435a411cfb DIST gentoo-kernel-5.10.156-1.ppc64le.gpkg.tar 55040000 BLAKE2B 9439a94d8924afd508b114b466198d32a63c16ceeebf7430daaea1592bfcca2260bf0cc30e08e190fa8a667718014981204d2f4d8808b0ab82127b0f9004c0fa SHA512 7068e8a72a418dc80d4a0dc9f9573cd4b3d9c427fec053ad57ccae62ed5a954c8b41239006376dcc8ef238ed3b39566e4f50e60f3b013d5ae92be81538e16de7 DIST gentoo-kernel-5.10.156-1.x86.gpkg.tar 56412160 BLAKE2B c3cc6154b24aa7b9d7c9dfff2cbc7acc56170a49dc8e5ae87bfa182ca4e73b69b35af3412c25832efac0a7681c83bb20fd9768f61dd299a9bcb894d3bdaed68b SHA512 4a04f043713fc3ff6dc23da3c78eb995c310c4bb8c31bea46b0c23f50188047d9a5e8a84fd8ce26b72b4d5b4542c6f5d166e9395b0342bbe3e879e34514217b8 +DIST gentoo-kernel-5.10.157-1.amd64.gpkg.tar 66508800 BLAKE2B 30175508771f21799c425c6dfce78f5d05234799c1cf603c60f9a86029e7f573f22e894349b754aefb92110c637e07a3dc5bca2c9c3039bc1eb994603671f4d3 SHA512 81add2f05b09f3c83c80a9a65436d6ea8b734cd9eb679cf2c29c995e7b020e30ee642f13799b705efcd598735e3e9f3ca5e3561f756dbc7985fe65a5c125a0ef +DIST gentoo-kernel-5.10.157-1.arm64.gpkg.tar 59668480 BLAKE2B bbb5b9cab59fe63c23d0c6f9eaf37c2eedfe758eac152fc02651bcce00097db93c86a28e4a02b3366b96c279afef5de7563bafbd45f985b9126ea58a5b3ad529 SHA512 fef03b3a55e46c07b3b3e9f9ec52c0477d703e7a36fe6304b2967af13e45186bf6f7c573334eec117a863ff0aeeb06957d98f3483007f6e2d0ca35bc8f232042 +DIST gentoo-kernel-5.10.157-1.ppc64le.gpkg.tar 55040000 BLAKE2B 3a83a54ad2a184eebaa718e0f56d5c0d4a4a60a87c36a8e74492e1d37cd491af541053540ec65e9d57314c420f323ac0fa4e1f12b4f3d365f060f7d6795e1f2d SHA512 ebaf6e10252c8958c1d404c283c1d134c44aabfbd4d0206875613ffbb0714ff988f24d1c17e1991bb20b28668bb214574d43a09166c733ae5a643e4d98a8544d +DIST gentoo-kernel-5.10.157-1.x86.gpkg.tar 56422400 BLAKE2B f09b937fbf1cccf29e873567c3f8de8d5bf5e3fd1c9f3ab1c75ef3f27fbaf00b635139ec22f6dfc6ebde5bcdce0049f1d01404132e9fa0aea394373caaa0a32f SHA512 ee35534c4b1892d4342f2b294ef9c7da5c5e3ff217bba17b8b0b6d61c8e43f9ad7607ce509a36ab63041d9e3a0de5596095f790bb2b79d27375f782d9fa1c4e1 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.157.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.157.ebuild new file mode 100644 index 000000000000..26eed75d6c06 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.157.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 + virtual/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 +}