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 12352158013 for ; Thu, 14 Dec 2023 04:12:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43E4F2BC062; Thu, 14 Dec 2023 04:12:33 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 258DF2BC05F for ; Thu, 14 Dec 2023 04:12:33 +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 6FD1633D0AF for ; Thu, 14 Dec 2023 04:12:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DF32414CB for ; Thu, 14 Dec 2023 04:12:28 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1702527106.8d913902ee83dc792eb3d7e06bbb7c908534871a.sam@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.204.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8d913902ee83dc792eb3d7e06bbb7c908534871a X-VCS-Branch: master Date: Thu, 14 Dec 2023 04:12:28 +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: 4bd9a0ce-94cb-404c-9593-b767de1fc2fa X-Archives-Hash: 7f3ce523d6a99e3d4451dbdbe33744ff commit: 8d913902ee83dc792eb3d7e06bbb7c908534871a Author: Sam James gentoo org> AuthorDate: Thu Dec 14 04:11:46 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Dec 14 04:11:46 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d913902 sys-kernel/gentoo-kernel-bin: Bump to 5.10.204 Signed-off-by: Sam James gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.10.204.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 5ebd1caaeb30..11b38f67c956 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -1,5 +1,7 @@ DIST genpatches-5.10-213.base.tar.xz 6247856 BLAKE2B 8decc2789f586d6c91cee876713e76dfb15d2df1191deab54d8c656859561e29b7516693d46b9922c69cc20572c0c79cac02088b9e85d5c2fa0cf72ad78f1210 SHA512 9c2e5f12baeed7d57c6730f458ce32ff01ff3120d4f11e524e14062b449ea43a0e467950171cbe912de0c64e6b16ce1193d7e8e56e190d6abc1a8adc9a7b9f1d DIST genpatches-5.10-213.extras.tar.xz 3876 BLAKE2B b852d4e7759f8f3f6adb9789df694f083f3a8b26cc0f44dcfc30b45f0b0b1099a1af6495df7a5ca8da8b3c4d1e83dd9f493cefe8787d80e45843a64dbf72d045 SHA512 3d6ddd8c9bc36cea25dd778924b2f2577f6b62d773ff1e3b847a604b9558e7614bdd805860b3efa0a2fd22fee3363a8f64cf8e9be24da65a8e132a447d09d9eb +DIST genpatches-5.10-214.base.tar.xz 6277292 BLAKE2B c048bb8187cad0d22c7aed931949338b08fd4fb20cec2f1ef8ca940632d1b9beb60cf6c5ae98b537c8a9d25b86de9d4a35e771b8cbb8cc5d3569b5dcaf79454d SHA512 88745e2abe59e6c41243fe05946cd82d53c85844f3c0e5e162f616f80c46243b2bbb510dec2f837ed677129d27f4678bfbdadacbfc1977ddfa142493a2c24ca6 +DIST genpatches-5.10-214.extras.tar.xz 3876 BLAKE2B d3d2b1b6b2b3d4574300a7a84ed449733bcde3a1aa855a54f10d484ab0dfb1b381ad7d9ae4551993515a8af2747aa42e830c39039803e0fccbe9a06be011a819 SHA512 34f83560c6ae888feabe56906bbda4e5b68ca36f418341ef2200018a79bcfacd0c30e8535c3684fbfe2b0557fdd59383b33a7e57e7cfbaacb81d94ddbb12afb7 DIST genpatches-5.15-151.base.tar.xz 5817984 BLAKE2B 182b52b69171a07dc6333c139f570d1f50e2c7351150d32bd0d32d268750cbc5f548a25b07111b2fc754de920dc78bf6add2cefb233ec5601e57efb9c516c24d SHA512 364c32d0ac7372367e343292e28b4325b6529fb6b46eb84296e4622b6f1d1d1c2496865aca89c447eff113a56780ea06d94cee3f90570d4b012f3aedfbab70ef DIST genpatches-5.15-151.extras.tar.xz 3936 BLAKE2B 290c41b3f8c750f82d6fb8ae4542a64ff395c8def74c6f3c3d4752b57d1725bf1947beb626d8ee413a4ff50fcc74bad7f1efbc1bfb29b67a35e4b5ea396427f0 SHA512 a3d22a5decba9d24e65239a96b3133af07e126c7e0dd733eae61de48644bc31b012eb6595a15ac82ff763bf39e9f7c91c0153badcc2e9c83604a64f27e0ea43b DIST genpatches-5.15-152.base.tar.xz 5859680 BLAKE2B f07d522838bae14efdba3399a9e4ad0a442537b1a9942477600660df2f71cd8d17774dff0ce563a7c46595c6a5390048994be0f894f84c255ebac2f9ef885220 SHA512 bb6d744e075f6d7e380f78be870c64a14595da3b24ae217db9e69778d1f65326ade92e7fa9edbedbc6b6825ff8a83f08725d0ad165e4165047720a4f72985089 @@ -20,6 +22,10 @@ DIST gentoo-kernel-5.10.203-1.amd64.gpkg.tar 63232000 BLAKE2B f59a1414569c6d09a0 DIST gentoo-kernel-5.10.203-1.arm64.gpkg.tar 56719360 BLAKE2B fc20a53d9280a4af29959f57f2613e25812229e26ab6a52f436064f73ee7f9131ca6aa0da293af471bc882d8cb1d075cbba2a357903546ef9c6d62aa061e4c66 SHA512 4638b0434965262e9dd1029481262f90650335f195ae38d0168e3643e4fdbbaa29b100966601bb9e7dae0ec91a8e4124dd902282c3aa89071d3561f44631b7f1 DIST gentoo-kernel-5.10.203-1.ppc64le.gpkg.tar 52858880 BLAKE2B 311524d8799daffb3499dfb8b7814bca9598152fed3e81b74e18b7300babd93966b7894039eee91746e61d7dde3e21723be3dd8d59d9e2df07b4a4298bc9b84c SHA512 d3f840b2b412163b898d512b50ce97e908d0522c8d580198fe096846464e7cd189cc7515287b209f613d4a55bf6038320c035b1cadce643ca7d71d8b83b08607 DIST gentoo-kernel-5.10.203-1.x86.gpkg.tar 53555200 BLAKE2B a4e500374e3c7182e25564ffa6ae9559fdabc4dea5d33d3c0167529aea015936d3dc07b50226f1d14c77e21db39bec1542f163c28aa3fe1b85549551b7c7dcbb SHA512 09098bf1d524030e9430c46a9296e08e0708a75c04facadaa6dedca424a67d1a0e4303b635b46b8e2cbecb16dd8af3e55d425b76bfa5fac0e120ddd11c090889 +DIST gentoo-kernel-5.10.204-1.amd64.gpkg.tar 63221760 BLAKE2B e07fdcd6df6570cf436b052a445d5ffb9c74cf8dde388fc68d31d1952df879caefde202cf3ed3e6ce393daadb8a8bd1fb08ef5e4033c7fd8179d437f22a5ccff SHA512 cbab40d18c1d6e0e3e6ed6be32eb2586949a72d14247d3dc3be075592a8b7cd25671c5b448976e8d6dd8897767d7bd9e1a761af609420a044502938811bb69c2 +DIST gentoo-kernel-5.10.204-1.arm64.gpkg.tar 56709120 BLAKE2B 076bb4cee47a02b2244956b77800f0da781749e8edb890c49a2d0e573678ab6e7227a92471d16753fe1e4c129b3742b76e6d13f4b4c2f9f0fbeb5eece3a91fb5 SHA512 52dd636d2f3d48966cf01b57ff79939620990ae6d66bc23c9110df2932548f00f1073909c59fe8d1c8cb61970ff792bde4d619e8a78ec8102dee308b8932f44f +DIST gentoo-kernel-5.10.204-1.ppc64le.gpkg.tar 52879360 BLAKE2B 88a9f0c516bb7a2325929bfc05a31feecd7e9a0e2fd436dcb214f50dbc3e14fa0d26b352d61897506f9b9e45073ed1cae7d37b5c3cdfa1f7d19056ddd370dcdf SHA512 143370215320a5a6e8f19aaaaf026e7987202c5ebca8c8d810e1f31cec57297db2071dc35f4cadff161654ad03a010de8901c1d59533bd915f5d06093e49c88c +DIST gentoo-kernel-5.10.204-1.x86.gpkg.tar 53534720 BLAKE2B 884c0f19631e53d95183197432351800ab35c3015d5545fa18257592069079a13bf060441910126605a71f81c0cd251d39fe4c7fdd3b581f5375e7f9ffdc9c57 SHA512 061006fc4e6b0f135850ebcd87ccae9a40748f2b2d7e8384d90182fb0e4f032b8e55721c5b82a068904d898ade90c405da589bbba0be1fcee96d9bb17a530296 DIST gentoo-kernel-5.15.142-1.amd64.gpkg.tar 66324480 BLAKE2B 3d6073f7d51a417e94c215f513f175de10601cdde4f2afb9637c441cc4a724773c7f11067c8e995142225072d093c0f61fabb676b8a185fdf394e221005c3eab SHA512 688237e02c84bb08dc284dd497fdbcf0303f027c94e5b32e0b0449c9ae342418414bb2b4a977842e27e263b8e6402d2fb8b5d490379931e5c37beb0deee7ffc6 DIST gentoo-kernel-5.15.142-1.arm64.gpkg.tar 59729920 BLAKE2B 094b7bfd51087e3c9582128ac87939d191ae6bae3058485a27d53b5843e6091b425f28134ce021cc5a7e14f3b38ff933c81d36fd1c36276172866da2860cb759 SHA512 a26f95e961cf0534c4b321bdd9ab8f95b50691c10fe0434c10539684bd4716b44f861405f367845ccb0b8b954621a54a128b02f1e3c97fb2f60bdcc049af763c DIST gentoo-kernel-5.15.142-1.ppc64le.gpkg.tar 54958080 BLAKE2B 2f028a0baee324a1224785c046e52da052198e6ceecaa6fdb418ee913d3e619e362d6f7e112ad39eb0c3033de1e714a1822006bfd030fb09f9a4934e31e5d07c SHA512 ca3a91ed2cde51eae08790651c09480c69590f36869939e3e38e551b6d0305979caba212e96a24e23c048167c79d2712fe9c05c9f28f4a807e1d4640c1037808 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.204.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.204.ebuild new file mode 100644 index 000000000000..fb165f3f0e91 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.204.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##*.} + 10 )) +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 +}