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 2519115800A for ; Tue, 25 Jul 2023 11:21:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C5EA7E091B; Tue, 25 Jul 2023 11:21:20 +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 2A343E091D for ; Tue, 25 Jul 2023 11:21:20 +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 1187D3411C0 for ; Tue, 25 Jul 2023 11:21:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7C304DD8 for ; Tue, 25 Jul 2023 11:21:15 +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: <1690283892.26807bf28d616e8738d97cc24e042042e7c4bd97.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.187.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 26807bf28d616e8738d97cc24e042042e7c4bd97 X-VCS-Branch: master Date: Tue, 25 Jul 2023 11:21:15 +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: 8cdaff2b-e4f5-45f2-be4b-fedceb67e0a0 X-Archives-Hash: 5d16283ae800103cf79c1a52c00031e2 commit: 26807bf28d616e8738d97cc24e042042e7c4bd97 Author: Michał Górny gentoo org> AuthorDate: Tue Jul 25 11:18:12 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jul 25 11:18:12 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26807bf2 sys-kernel/gentoo-kernel-bin: Bump to 5.10.187 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.10.187.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index ca887b8a35cd..eb1f6306bde0 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -1,5 +1,7 @@ DIST genpatches-5.10-196.base.tar.xz 5560912 BLAKE2B 3ea2ff034bce2b1a5b42080393a43148f9421a059c6db3ccd8062c9443ac66e63c21d870e01a0af2c06c071fd0f52f5270149da794fd34a4da43e6d2f6ae2026 SHA512 e41eebf76fc7349063e318c547869f546378fed3078db553e90bce654460b5baf08b6b328761a17ddd47515080e4801fca49b39d35f999e54a963e8066660a50 DIST genpatches-5.10-196.extras.tar.xz 3868 BLAKE2B f027bd1bbb5a706efd42d205324820aeefba91a7f6098d726b7e4abb0778f4b48601b045cd3c329fb76b5d1fc365caa6d43696008454166c6cb6ec21d58bfa02 SHA512 1016e558435900761b6e64b094f617ba3900b027ac178497195744e0954bc8e9adc6de9e73718fb0ed6b5fc9e774e44df0403a667d03deedc01ef31230f0579d +DIST genpatches-5.10-197.base.tar.xz 5562876 BLAKE2B 17ce7ef2e11371ef7c4cababf7405079b8c64ff64847baba9aac5e6db6531d129ec48ad3bea995dec23694248d8dfd1067d0ca9d77295fece36f4f6c003e4d58 SHA512 44a6d3ba9989c458570feb9334988fcbba3fd5448936379310a7649497a2bb9f86462bbb23b0e04c6cfd2474d88d20190aa0b93fb482c0a19e3320a6e7a8111d +DIST genpatches-5.10-197.extras.tar.xz 3868 BLAKE2B 349894aeb8c6cde8ca01b7b12249c492a67b9d8e1329f2e93ef14fcb1e643bc6f24613ef1f1cbedd7cd67cec6c7dcbfa4b00cc66ae157b2b9503587ef025e17c SHA512 4979e464dd29590915baaade081035c523ffaae061acb4b0d5948daa450ae6e7993e0bb0acb82d414b1388fe804555cdb59d84f0eedbc466ae64e76bd5b79d28 DIST genpatches-5.15-126.base.tar.xz 4920632 BLAKE2B b35059e13c2c9fab04f23fd8b41ad37dc1eae2d7e8e505c87506109471e0546f68428c06065da496be3a9213a4e3ad288dd507d7b71b5d9549d7f1c60c378ab2 SHA512 3bcce914eaffcae0f732267f3d4cbef1592a4cbce4ed7277e6aa1b791f006fbbd0858e788ebdaba9502b871c0c9750e74df7b05e98f68318932090f7a9cbfb38 DIST genpatches-5.15-126.extras.tar.xz 3936 BLAKE2B 7bc9d712efe225829760abd48dfac3bf1556750189f99dd77590fdac8d4f5aa1491a49da029e9faf6dcabeb32aa0b2b725223566bddd3d43a41ca0432348420e SHA512 f196a93dc976eba4bf3a8fe5d52229de0e4a4cde31c58be63be35ab65c4753969e4f0ff86b77ef0d7375392b55cfecfa93a4d963d79f3c5753efbfede6a19a17 DIST genpatches-5.15-127.base.tar.xz 5054384 BLAKE2B d6f7f2c26d4cc35c62243d3e59a6f7c6a03243dcdaba6abc76d36d35f83f2f38618f821a6c42a34563043e1382a448c2d53d6fb52b71195a4913fb80fc602a7a SHA512 e73bfbff7218f9d5ce2ce82ec04b401cf013b8ba58fb08b0fc6a8c35fd146e1e1a899a291b2eb5c2100721f95def82aa2294fb67032143371bd9a4f2cbd0a0d7 @@ -28,6 +30,10 @@ DIST gentoo-kernel-5.10.186-1.amd64.gpkg.tar 66334720 BLAKE2B 5f07b2c712e93102be DIST gentoo-kernel-5.10.186-1.arm64.gpkg.tar 59361280 BLAKE2B 34ca97dd35463808171049926f98c2404f8459a6f993514479a1e0f74f3b02b550c8d981d98c3a150606e21fc87046221783da48a6652bd2dfc58200f290de79 SHA512 39afaf4bc802f51923b7ca452f1712130b9040c05f75e8b473764ba68f72d37da1a197bbd81711083306fbd66161a3e1d1f3cb230af6c39ad6cf30c0e84615f8 DIST gentoo-kernel-5.10.186-1.ppc64le.gpkg.tar 54927360 BLAKE2B ead0cd95b3c4fe0620a6d3f5fb9dace4404f0a5f58b60f4dab2395fda349db2926a810cb20a491b80b43d0bbd19ec6044f88ce588c543915cc6549ea625b30ae SHA512 fc48e77238b293aae29398544421c2167609d201e8fddebe41f47e7cb8e3554d1ea350da1b801169bfed75fbc4223e55613a9313bc63b98d60818804558fa0bf DIST gentoo-kernel-5.10.186-1.x86.gpkg.tar 56473600 BLAKE2B 9032dc6d721240ac819654f313ae1e68adaff0349ddccae68c939d96c5d0d670f489336cc9c0f16a892d67ae97e5fbf89ec158d3e98487c7564e8626d8e20219 SHA512 c86604d20abe5987fe23f6e9e2800e5e82e9a658b7886dbf39b3c69cf403441dc4bfb5e02249e93b092b9d311bfccf637151966e65e3111a5783f08bfddbdc9d +DIST gentoo-kernel-5.10.187-1.amd64.gpkg.tar 66324480 BLAKE2B 34e3883ba58d1c8dc18c28b1d2e25cab0384a49962ce52de94c5b18050ef52ecdac18e9e70a0d513bcc05d2de8c18ccbf4794e7f3092829b9e0c93128cba993c SHA512 f3c36c48ac3068e7be3efc25147c14febda69150738f5e01a9a7f61a18171f48fea86a3af78c664eea3cfde37345ba939e22cc51a46caa8da538c60b142b0539 +DIST gentoo-kernel-5.10.187-1.arm64.gpkg.tar 59351040 BLAKE2B 62820819de5205c9ce636231c0e944447c6ee10720434292e190684a2b0cb585051291c443cccc14dba621d1e64f0ae52623b734427c895e01f896967d646a51 SHA512 eb9f12a981415c8e30e77245647e445bdc7810922164ee3d59c9da72feded7a0ffeb465db889fceeffc77b83768b83505917c8960b1d64dced167ff8c999415a +DIST gentoo-kernel-5.10.187-1.ppc64le.gpkg.tar 54927360 BLAKE2B d47a826ba61dd62cded236b2d81270824dac47c993e0a5f8c2cfa5a95293236a9f2f608ce0c7c2c3425f5d5b482c96c39514c9e5c27dfa7b1e45213a2dfeef34 SHA512 2a0d197f13778eb47da5622eb3d2a38b8189534df390e8efd096827afef919fd51ad51d107f32194e7a7dfd0da37d7414b395621665aa8b0337bfbc797c0175e +DIST gentoo-kernel-5.10.187-1.x86.gpkg.tar 56463360 BLAKE2B ead3ff30c54dfb68d5d5b3b826690ab94d3846bb9609b7417890ccb04ef68f3e24021d3c16745b747195256c064150a9b12627af45df53bd3d0a1eda2d14aec9 SHA512 bfac813dc2aba6cd7894d00bf5976cfd8670248e84db399bafe9869edf89f2fb81caafc5f9455971528e4c15e42f2f1cc519d18fad1e75bee3f9bd4559fe12c2 DIST gentoo-kernel-5.15.120-1.amd64.gpkg.tar 69509120 BLAKE2B 7836d1b163b803fa52d1a59d9dced20b5ed0ba6cf0b7cbd828e1ac03af095d9a0e1867ef72c6f093b4a74cb8b2e793c87df31b05ce1a1d187359cf3199afdf84 SHA512 935579730ccc367b0afbfeab5f54334a738fc4c4b5ceeaefae9f59bced8107d941ea712fd072370eb718f74e56bea51b03e7fa6d87a6e751f95b906f81d636fe DIST gentoo-kernel-5.15.120-1.arm64.gpkg.tar 62515200 BLAKE2B 37e13308537e4f99e44ccd7c334a60e3d9e037772bcf86302af868f307a65819b72f053eaa7cee5891280afaf5e579accb73d2e9ad4fed1310ec1574d9aedbdb SHA512 fa11558fcfeec38932215d9ce83fdfcb364c7f3be15f93668c8c5d493d7f44f38c624396575f498c1330f0ed565854c22f85e04334dab65e0c1d402841aa91e8 DIST gentoo-kernel-5.15.120-1.ppc64le.gpkg.tar 57098240 BLAKE2B d322c95ef94c89116dc51dbc348016b3868c002aba1fec13707fe2d4bf7781043ff0d68b1bc833106c9a347b02f732c5912d5719f8a98c4742ddde59b851a3c7 SHA512 a8197ba844047722f758a464cca25c3ae1d32df5952c29aa33a5da65e25972667931c75442ae61bf9c8dee149b39b074da3dd32d74bcc19f5df8f7e5376a4471 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.187.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.187.ebuild new file mode 100644 index 000000000000..fb165f3f0e91 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.187.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 +}