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 6AA03158020 for ; Wed, 16 Nov 2022 16:28:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F2892E092B; Wed, 16 Nov 2022 16:28:29 +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 D397FE0929 for ; Wed, 16 Nov 2022 16:28:29 +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 B4057340F58 for ; Wed, 16 Nov 2022 16:28:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 05AB6759 for ; Wed, 16 Nov 2022 16:28:26 +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: <1668616100.8d40258550fc84ff8eefe36cd5e1386e5ff72265.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.155.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 8d40258550fc84ff8eefe36cd5e1386e5ff72265 X-VCS-Branch: master Date: Wed, 16 Nov 2022 16:28:26 +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: 7a70986c-19ab-49b2-88b2-c58a076d2c89 X-Archives-Hash: 056467ddad096d8f95bcb58d54a3907f commit: 8d40258550fc84ff8eefe36cd5e1386e5ff72265 Author: Michał Górny gentoo org> AuthorDate: Wed Nov 16 15:53:15 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Nov 16 16:28:20 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d402585 sys-kernel/gentoo-kernel-bin: Bump to 5.10.155 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.10.155.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 5b7c192e5869..8dad2160e3be 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -8,6 +8,8 @@ DIST genpatches-5.10-162.base.tar.xz 4335364 BLAKE2B 588c43e616bbdc27c3c52d7039b DIST genpatches-5.10-162.extras.tar.xz 3872 BLAKE2B bda73f31c374f68e41139a18bd8adb5694aec96ff8abcbe9d8f69cdb3a3a997faacf4eeaa94319f77659717ef0574e5194cec247bb758cef769b0f6016c77a65 SHA512 1adbd07d1af22cb4e202be5f246035550746b2aa72a6aa834a162342d29bc3649f90894d4e6b39bee1f78fc666bfb742c9194fc1b0ffacbd1064ff613ba02d86 DIST genpatches-5.10-163.base.tar.xz 4367636 BLAKE2B 88dc5e125a09cf25abeb68378c99b5fc759d8bd29944d96e1597cf05489ed4ea4ff0630a17a835b4d282476d6941d078395505462da1a9c143ff9ede9beaf9fe SHA512 d3bc16d8405ce934707c161ee5de9ea82dd29848d7051b190f0d70d08da21606392b22d3e74d878f8764a54a9da936c452744a1888b1574e105e1ebaca3100bf DIST genpatches-5.10-163.extras.tar.xz 3868 BLAKE2B 68203dba0a18bb4e170f9e79abed707d0a521b3be0589435b659d2a9d291f16366569cd8e81d52848a4b53d92fd4df782b4a7eb2875a0bfc540553e85bbb9844 SHA512 375d5f17eed5030413143e067e0eb5c131451a45025c5506371b09aa6dac417dcce2cc941d5cc194f9ed394e2f3d1fd175fc46b97d373b988fb4c919371b65cb +DIST genpatches-5.10-164.base.tar.xz 4386332 BLAKE2B 88887f7d89de037788c0a5d2bd3b3a61da549f16939cdbaf04520097b4cf935683bdefab3c0e9884362b879f3b863d0cfdb495c662f9872386a1b6d3be267c73 SHA512 486b56560d144597032c777c7ff1bfc6c828598d9ec81c46b1ef8c91dac6e451525f62136e5e96d53bf4e7862e1a8d86d716fba7eaad55e60240ce4611e658b5 +DIST genpatches-5.10-164.extras.tar.xz 3868 BLAKE2B df5c97a2e0caf890fdcbc564b67226b66e1a789bb8c972761ccb912a7c1d3f0678381fec5da17f73661e302bc3cbcb3a9cbd755696e5c8a94ab9ddb9e6c8c89d SHA512 4355ad2bfb6e0d706346df3bda7bba4c7d3c6145b6707df1536db2588d72a3c0e6c42487296272149d05c06c99f5524bdf724bfdeafce250719f696cd566d43b DIST genpatches-5.15-79.base.tar.xz 3195612 BLAKE2B bf8edc209ecc99da4f4c05b575b095992e64ca421e9848a75ef1ff7bca84377eec93ac3bc7d23bfd4c91d529cbf1693e231b606b27ba2ead46e9c3037db10c21 SHA512 c8cdadb66f904f2083f713a58bce743e56e27440f01fe98b3ddf82aaa43401c2fabad029060e7c01590dc294edcdfa8ec6c784f24ca87a1b9fa8703ed626e4f3 DIST genpatches-5.15-79.extras.tar.xz 3932 BLAKE2B df50c7ce655f1f81d46ab6f077963afb0997ed2f6c0b70aa49c34a445d3f8938cce7201b75221705fe27c0a6f699dc553f932eeee7960a21dd89e3c55dde9306 SHA512 31e8c8aeb98e01dd1e0b25c51cfe48d5b6bc98617833229b283d35da6d7572b95dd8141592a2350ff01554bf80d918d2137ef2eb248c483ab22fc3db20a11fe3 DIST genpatches-5.15-80.base.tar.xz 3218432 BLAKE2B f2478969a4e7a24bd7a30328e2d17d5daafa9fbd741dd7eb295c025f27c08ccf8efbde13003e084c509a8bcf5f1d28f45189a28467b31c48c2a4d344a726ec4f SHA512 60737de4d0f8e3acc02ed07a82853d9226daf54b3b5a1b990d94e78b3dcd9fae26b9e6cf8854e5074b88dd826d286440155b70c4fc19f271ce795b2bbcc61b1a @@ -54,6 +56,10 @@ DIST gentoo-kernel-5.10.154-1.amd64.gpkg.tar 66498560 BLAKE2B e12e1682a71b241e33 DIST gentoo-kernel-5.10.154-1.arm64.gpkg.tar 59658240 BLAKE2B 5f72fdb9edaf46d70e20dc04dc63e5d78273fb31a6240ebe105f68f17892aaae177b22c4709d850c404432753bd96834eb274c07a99ce55e6d9dbd0fed492cfb SHA512 087cf5bfd1d7aa5d2b9966e76cb95e8f319a0a72a5ba7b1b505d95e5db1d36f010557b4e5d2c493d0e475a5167f46f79776031cf2d4e6100f47533a8f9c5b6b1 DIST gentoo-kernel-5.10.154-1.ppc64le.gpkg.tar 55029760 BLAKE2B d45bfa6e12a49b6b21b4d4775488e4ca0ae47274a43e761215174b11cf340c289d81091ca1b8a7c5f4c7c3bb7287bace6d23ef5bcbc9ea53e640a5e4df1156db SHA512 85fd336c1deeb07be66ce2ba20b4dd60c3e9f27cfb0ffe4b6af288247abda0f5ed04f2d4c2853ba2028c461aa6c3e46592b28e1e73e563a8c847b470fb51a7dd DIST gentoo-kernel-5.10.154-1.x86.gpkg.tar 56401920 BLAKE2B 09f558477cd35f67a4fbeef6b39fc119a5a85a7a2ad4161cae554523ef6c80873ce4137bf2cac64d896f429fe3fc5af354f8f640e424e29b14a0cc10d5ac810a SHA512 0f8c286cfbc0ca7ab9fa0fe30619fb7fdd5bd327ca361245e9e7f5d2f6bb86487ccfff80f7250eadd586802ce074ef2a8c3d934829fd14b2972a7297433d52ef +DIST gentoo-kernel-5.10.155-1.amd64.gpkg.tar 66529280 BLAKE2B 04407528385fb6bd51d981fbc93e03d58769967071a87401fb73746c45542914d1453f69bda37dd3ca639f00424de01463041d6a5279d29c99b0b402cf040511 SHA512 9a232827620f24230b0ad81caa00a9f1616eb22b21dcb09994465ac496faa90f69b4b20d1f1cdfeaba646580061000592840671774c193ad1c2f0b47cf964b9b +DIST gentoo-kernel-5.10.155-1.arm64.gpkg.tar 59668480 BLAKE2B 3decbc324ab1bf9433e11e0c3321a63c6b9c5cc1ff321e592483f9e07378d23b7810934c26ceae300fe22c78fc365248456fb79acacf3ef0d6eed53126c0a49d SHA512 abc9ae89dbb1131584329eb064a568152ec8dd7f26af9025b68fb3816301e29a723eac719da4722ef9712c3383cd248d1106c9b84cdaba90ac3c4b3f42ccfcc8 +DIST gentoo-kernel-5.10.155-1.ppc64le.gpkg.tar 55050240 BLAKE2B 3ddca1091ffa524ed1bc1d08b64f1038fb6664d6d754097f9472d04003aee62f274ce51c680067ab47445e0fd100feb3dbc233cd7272a77d2358f6fc4238d1e0 SHA512 0efc36b9d9fc85dd2715d0b49a08685d3b3bc6cb297e5b1b1a82706382af1db7da27d533240f7e1de8a8b714ab1a08340ad0c9b2f6e53282875531cad36373da +DIST gentoo-kernel-5.10.155-1.x86.gpkg.tar 56422400 BLAKE2B f8a4e4b56b5f77944ec456f5a5684d16967f0c2af67988a2ba7ce26b6deea7d8e2e4b94bee39c6783377dd6aecfd7bdbdbd3e3eb200bf7e02c3f0fc9664ed3da SHA512 00c948da4149f68e23fbda21a1946321f2ae059b5094c09ba5dcbfcd39a311ae3b4656499c3f38dd0b518f25cad055aec5ea9e176246fd2da38527558ec56892 DIST gentoo-kernel-5.15.75-1.amd64.gpkg.tar 69816320 BLAKE2B 738b6bc811c9af719007d4333c90751117281d2dc7db5722c289dd5d44ffe52381510e927c6e48e35f6204f67049b0962ffd1e4406401f0d712baaebd8f79511 SHA512 c732f731e0d9438305142ff6f8ca1deb2935ad23b694892e0885ac40a08265e40fc134cf31351fd0602d43276d8d08dda777a6baf2492589fa0ae50b1ebe8070 DIST gentoo-kernel-5.15.75-1.arm64.gpkg.tar 62873600 BLAKE2B 823661948b075c438dff583c5b19602d2a7faa9f1e05bd5d8f036d034d468f91605600c15bbe62970ee436510ac1898afaec6d58461749a5eb34b4175a63f1db SHA512 9e9a19bd2c2120bf77918047a4ae728074a88d29d207628c077b0c4ee425ae0b9c266dfcd22dc1204e7c3871927d797aa7bbfc759fca0efd484edeeee1a2f637 DIST gentoo-kernel-5.15.75-1.ppc64le.gpkg.tar 57241600 BLAKE2B ba82e45ea411b343c92fdc8d9c06565694e12955287451bb148d34a374004f68f9e32cfe1535dcdbc3e574018d8a3119e7d8c97c2d5f2b3ccbd0acf8ce497669 SHA512 c3a6d0a85d227608d5b2416360b9d597176b83643160b6b4a61f8a6bcdbe15c89ac9b6f0aa13cd4edb9100fdb666ddeb09de765b1faf5970360bed2546e93898 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.155.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.155.ebuild new file mode 100644 index 000000000000..68c76733c6d6 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.155.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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/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 +}