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 B698C15800F for ; Tue, 24 Jan 2023 15:31:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A53C3E0894; Tue, 24 Jan 2023 15:31:06 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 8DAADE0894 for ; Tue, 24 Jan 2023 15:31:06 +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 CE3FE340DE2 for ; Tue, 24 Jan 2023 15:31:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1A6B589F for ; Tue, 24 Jan 2023 15:31:02 +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: <1674574256.0fd09f677b3262becef4cbf720fb9498f2da3993.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.15.90.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0fd09f677b3262becef4cbf720fb9498f2da3993 X-VCS-Branch: master Date: Tue, 24 Jan 2023 15:31:02 +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: 51ddaf31-4c5c-49e9-9e35-85fe6607b5d0 X-Archives-Hash: 1acf1b46bd37d7d2ae5572ed38d94bde commit: 0fd09f677b3262becef4cbf720fb9498f2da3993 Author: Michał Górny gentoo org> AuthorDate: Tue Jan 24 15:16:17 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jan 24 15:30:56 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fd09f67 sys-kernel/gentoo-kernel-bin: Bump to 5.15.90 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.15.90.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index d5cf3eccbb0e..51dabc213fde 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -8,6 +8,8 @@ DIST genpatches-5.15-92.base.tar.xz 3843196 BLAKE2B 1a70c672f4ceda221611ba1bad20 DIST genpatches-5.15-92.extras.tar.xz 3932 BLAKE2B 12936d0ac139d69f2e5947436ffd34add80625aa383aa23e51b4419a5e2ad3c38ace4d69c9e7066bfeae32ab727013e602c3a1c3424e128562597c517c7e5903 SHA512 6595eca7525db97672a15275228dbb9b14e7e234514b549e0fc17daeda4b48d298f6dbcde46e5862fe02bac9f50ffd7b05d82a174541469456289bdc6eb7f4b1 DIST genpatches-5.15-93.base.tar.xz 3874100 BLAKE2B 3f9bd1a90de22824db823bead22ae777ebea551ebd183184ecd039f33def8db603694acbe3757352cff228eb2a28a8c31d362f2185b32f88edd19c4de6eedad1 SHA512 1d5c83f5f44ccee701755dc7732f80baa00e5b3f4137c9da8d81cd7fad0055df6b09dddb1cdd6287db6a43cd1b673aef3a543086138af72cad5218d2fef31860 DIST genpatches-5.15-93.extras.tar.xz 3932 BLAKE2B 5bf45ac0d03e9fce3fad0ff4fa378cd3f29b903305e0e9119fab0304354764e5553aaa8a7c6af27af303243956b315a6d8275e9fb6cb59e365979dbdcfa7502f SHA512 42d9b8132903221eae0b0cf830d53e4f7783ecac00df31ec021d953a92759ab3b284d4e3867934453d973006d15ad9c40fd73069d073797b18a756acae6f963e +DIST genpatches-5.15-94.base.tar.xz 3895440 BLAKE2B 20c0f62124507de410d5a7c08b68d10a8ccae7be39588de1fa6b0e6b314fac937c0a47583a56cca4cfbcc658a0dcc57fbc3398bf601bb14897f89254db9379b4 SHA512 3843809ed14d94199945bf748bcf817a9b474b063c53e4652c3d4a1e87ca2c077de18c58f69fca0954e5e5c2ad614cb119dbc659ed100a36abd758711bd02b74 +DIST genpatches-5.15-94.extras.tar.xz 3932 BLAKE2B d29c5514f83ebc748f4187c255e985aabab31bb6a64bd0124ec1b9655fa183f5ac1cf173dfaf1a3cf1a7f9ee2bc5c10bdf83524af312778197a6e4879250432c SHA512 15346f1d3aadb0481bcc0e521a4e335a6d3ff00ec45f0386577efb6c9798b871f17b47af77880bb7d8a8b2b530dc1b4c79047f916c87d1babba103b8a61e5efd DIST genpatches-5.4-233.base.tar.xz 5294692 BLAKE2B 357046687c6f2797d5d7090dad357e00675eed329ccef44223dd476551cf04e9f711f1020144cfc59796657cb5b1e6d76b607ecb164e27636869a8bc8984f567 SHA512 45f6b35dbca12e8b9e6a9f99d12c44e47a6e471e5091ab75c42346f1d8bc12dc454cbb335f1549b497842c2d9f13a5930c80b5000cb86bd3db7b03347dfebcf4 DIST genpatches-5.4-233.extras.tar.xz 1812 BLAKE2B abedf631da893391a98a98cf48d264f9eaf9f9f7811bf595c36a774c8dde21f105afaf6f4e113e04de472bd6ce0c759bd41fd95aa980b7e05499d8571f3e8a44 SHA512 16b09d0a4465123079360ef9f070e0c163f45f9784714e98fe53f7174e836fe7b2562af01e5c2dc932571bb3eafe2d9afedfd60b5c8467bd8410de651ab82473 DIST genpatches-5.4-234.base.tar.xz 5429360 BLAKE2B 48e1199775c5174a4e25f9611f410f8c3959920b3af6d4a5639497560f9a7ca34210c3f7db7c5e279432e1562956528690f5360dfeaaf7f99227f74d8e8d04c9 SHA512 c41fefd72aea785fb40ae95e47019d07c73bb4a07c286e732f7bbaa4b1cc3eca0dc53cf088387998ba1a9bb791e9e021d6246d8ceb9b87dc6d7fc6cbecc6dce9 @@ -38,6 +40,10 @@ DIST gentoo-kernel-5.15.89-1.amd64.gpkg.tar 69806080 BLAKE2B 13a34f6f744565f07ce DIST gentoo-kernel-5.15.89-1.arm64.gpkg.tar 62638080 BLAKE2B 975d9ba03f53907e68665e87ed123a72a5f6507e2694fb398a948eeb29cd5d55d70f16224a8fd0739425c4f6cb074339ddd2766431c21fa3ed56a97efea715cf SHA512 7290c46d20daca36a365c9290d0307e5a49125e18f69614846ebcb8024b52693a2a22b2e64723c2ece435296a8387d79d84e42e829adca377d07e408a7b2cec9 DIST gentoo-kernel-5.15.89-1.ppc64le.gpkg.tar 57251840 BLAKE2B 3ee871d5b6984618cacc13dbf4c3b5f067bd49505f4920924fe74d5d25bd252c55a7b13b4e1f1e1c77c7cb3f0ef25de884bf96cb822dd444135634bbfb5dcaf5 SHA512 bc10ca9810e799c169eeb200ac11779ccd4f2b64be89994c0c897980ccf03caa9d460dcac9c33777c600a91f241e869625ead416eeb24b4ffbf2e590306825f1 DIST gentoo-kernel-5.15.89-1.x86.gpkg.tar 59187200 BLAKE2B 45db7d829d1ec13ffcdda2c37351a139ab67547993e899a1f088947447f1d6be9126ffdfb2ed7fcdf30e0d22f0214436b951bee884929d777ddb235aba993ec8 SHA512 421768cc899fe957393d461cc047693a537d1636371667b32144411633ad8c70e75755deb7f048aa63125692c3a370103c9b5f6fefdaef3bcc4c9028e9730a6e +DIST gentoo-kernel-5.15.90-1.amd64.gpkg.tar 69806080 BLAKE2B cbcf64e233b6ae393cd844c4448df46512de35a42e0e8c3533e051eea56656172862e186493357f63a3ab501ee37c4669ee9a4812eb243b3f9276ec3a399e929 SHA512 75db8b46422cb86c0fcd8a354bcf8139a758dc817512a8939397180997026207e1b9c8dc3f4bf4ed1c85ef9f4e4cad8eeb8d19583bb1e825f7814cb9afb63fcb +DIST gentoo-kernel-5.15.90-1.arm64.gpkg.tar 62638080 BLAKE2B 15db43ee5763c3565c393ba7351b786034bd7cc77d5a91d5a8d0cc6b28687df5d9322539deae855bee1aa475d5d4e8b2c346c36256477d9d30ff220d42372cae SHA512 0a24801d2b7c9720f5c3bd69ae7f681bc89b2f634c4f919df904a5625f975e0a2409c76c3d328fe931f78fe734e2463dfa9e9f5cc083e81ec8dd321d844c3cd7 +DIST gentoo-kernel-5.15.90-1.ppc64le.gpkg.tar 57262080 BLAKE2B 0c8d803a75c8a99637360932593b85c142d44c1f5870c3ccb034770aa30b991e931697f339038f53a1be2af3bd43ee3100201e527ae11c810bc4807c7ca3aa76 SHA512 7322744f78e3fe181bfb58b144f798cee676aa6beb08acfddeafb03983a8e21b8d5f7f3c30df843353b44af22622c2b0861c196ae1b5c85cdcb6ae61bd1beb01 +DIST gentoo-kernel-5.15.90-1.x86.gpkg.tar 59156480 BLAKE2B 42f0ec87df5dfe5efa95b27928762a38a11b8a4fb6a3dbf9a7d4afda672b7c744075efc584406491d1f450df8351ff9fd70973ae406a4da01eb0677a0921d8f8 SHA512 fbab2be09402b778f939b7657724f0d5887a0596f75f84ea11761ffb8391a54801dcccfa831fa86f5354b999539dcc2e3531e16f46b759f9c94ce62e29d2ec10 DIST gentoo-kernel-5.4.228-1.amd64.gpkg.tar 60620800 BLAKE2B 99531b57d6e1135e239c1b392c475dadd2e5cca94e05921a529c0b7ed8246c23087f9fa2d7a3b21d316b3dc5dfeb6f49aff492b1b7d112cfd1478dab8467d21a SHA512 50803fb2b45891c6ce342e16d7b3968587f5dadbe26f3937eadee59678ebf23db1e1add37f3bd1d7dfab27d270a0f403b09b279790091a24fa81ce99a490112b DIST gentoo-kernel-5.4.228-1.arm64.gpkg.tar 56821760 BLAKE2B 554bb0c19cc971551647a7d7189264808e2cb8145fa091ae16758ab7593d6c3707e23cc88501c1ec5e86170c1d91d94a080eed7dbdec2210640af8ff4b2cc7eb SHA512 e20226c43556b0fd33b267833de5ced1d3b7e8b6b8ffa060c5b61c5a96957b5a0825d569ea6a662dc8d4368b1dd69ab9fa2a42ee57d53e8456be1e927f766fec DIST gentoo-kernel-5.4.228-1.ppc64le.gpkg.tar 54343680 BLAKE2B f85a074a1b492655d14cd95b1c966b1bdc4dd997288475204810a693361f9dd17ee3d3c519a413dc157a3e5a2f47ad79c4d596a9b7b1144f6c62c4ca4dd8f577 SHA512 1025fd90c6b32f165fa37b2d27db25b1c5295f14fe55865104431bd512e2c22de58824b309382e6b6445401ec43168e4ecec31fcc052df78854333fe58ca9f71 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.90.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.90.ebuild new file mode 100644 index 000000000000..d46d51864fd9 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.90.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##*.} + 4 )) +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 + 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 +}