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 6D3DC15800A for ; Wed, 30 Aug 2023 18:20:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 208922BC03E; Wed, 30 Aug 2023 18:20:26 +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 0638F2BC03E for ; Wed, 30 Aug 2023 18:20:26 +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 2736B340B54 for ; Wed, 30 Aug 2023 18:20:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 642481103 for ; Wed, 30 Aug 2023 18:20:21 +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: <1693419614.e7c4e423a9f4885f412925bce0898548cd4d803a.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.129.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e7c4e423a9f4885f412925bce0898548cd4d803a X-VCS-Branch: master Date: Wed, 30 Aug 2023 18:20:21 +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: e93428b9-9d88-4bef-b6b9-048edad81650 X-Archives-Hash: ece2b851f6097232dee27037aded2dd0 commit: e7c4e423a9f4885f412925bce0898548cd4d803a Author: Michał Górny gentoo org> AuthorDate: Wed Aug 30 18:10:59 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Aug 30 18:20:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7c4e423 sys-kernel/gentoo-kernel-bin: Bump to 5.15.129 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.15.129.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 342f17bc6df1..10b05e4133d1 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -4,6 +4,8 @@ DIST genpatches-5.15-133.base.tar.xz 5249652 BLAKE2B 309acc807e07bfcbb34e0ae8761 DIST genpatches-5.15-133.extras.tar.xz 3932 BLAKE2B b99e279af41ad1d19a58e8f9b1bbf392c805a46c371d7a022a65c0090b5824c6ce26280525a0c21feda2a5a5cfffcafc690a2194d29af6a44e10a9d4c923db8b SHA512 7cd772a6feed01543305417ff03b834bb002821ccf254e7f5481623a7f16b0b54da5fc72c21f4ae3481308eaab08fcca8fc5103ffbed58dc4355cfb661f04f8e DIST genpatches-5.15-134.base.tar.xz 5282056 BLAKE2B f973657ec1cafc1e6cfa44b3fb2d8d07b33dedf7118811ff44afcd369991864667635aaaffd9d4abc9cfde5308bc32dcbf44097c1989511a9cd4ae4bd4392190 SHA512 e6d2fba989cc1d67a0d77526b9498f9d1214b2b3fa2210b17c58d7a4d47630a7d1ef1788d255082acd17e475997c12a007d8411ae5478f2cb2a34c7d4e2ffc60 DIST genpatches-5.15-134.extras.tar.xz 3932 BLAKE2B e6d0b37360f85c3672cb4f56fcca5f649b3a5f9f81e64c7fca1b1e4691f2de4258fda7a262b44fa4a7b37e6af93d8f6869ad6b3b03d5184df25ed5aab24f2655 SHA512 677b4a0448bb8c618127c3fcd34ea752b788deb26f3e3a843847baf9c3396a3fbf10a8cfe105c825877e02e5fb13e81e6bef0c697180a5ade644b61e7d60e24d +DIST genpatches-5.15-135.base.tar.xz 5311072 BLAKE2B e7ad491771a4602a9f8d6786ba38b76ae7bddf1917a6fa530cae361d9385f19f4779441626d8a2fef93802956ff5db1698a5cffed76c474f609b6567832c4a73 SHA512 a7f4afee966e914c9831555cc0ebf8cc8ba3d2d9929f7b5f8358d4f64d61fe85dc7f637efb889d5529f7b04f8e79a228109e0c0d9a298d04a3718a640bfedc56 +DIST genpatches-5.15-135.extras.tar.xz 3932 BLAKE2B fbb46341209dfb76d7a3ed7555de53de48dac947bfc993567afb6d0c2f8e23907d1fbb831a35c274b22ce34a31d6b805d30e727c59fbf63de7095500357ffcae SHA512 796ad4fd5ea1d84b066acff3b56d8df87575a584925c8487e97fb3b056ac46622670e06ce4c5511541c037ae84a566e9fa2304f5555050c96efe97da37126e9d DIST genpatches-5.4-261.base.tar.xz 6100368 BLAKE2B 1333f1a5aae4faabe031192eee4e491ab80c1e6291e542a99cf308295ed2301c93d74cd41e34fa10e1110710d26edcb9b4b132ee635cde5711b6474557601866 SHA512 4083c69df7ce9aa2e57eb69be4132689d10c95155c7608d6fc52f661abc1f0f9077f546016b3df32b8252777fff78af347af7022d18203aa8416ed83b68ef88b DIST genpatches-5.4-261.extras.tar.xz 1812 BLAKE2B fcc06d16147422b0ea123b116644539b3527e44bca78d46cf5795d44e42575c7017ec3b5c9dd566c5523e3b23f14b4d817846502d4ef353180c3a3c79caa4c2b SHA512 5cc879a4333aa3e162a5da4bf118a12ae5694c2fb98f11f9e1eee57f91b707974d735c290790942a14b2df5bdf092f58d1cf03f7058aea6f8e588700ec185dbf DIST genpatches-6.1-52.base.tar.xz 3173368 BLAKE2B 429b5bc3af457d91b9c178737e573d150e337859c0f07a25043c86b834829e749b92c57fa2d80b2acfe9864f916ebe77c830249be23391d6553f5469b1934708 SHA512 0f003893b6c24fa9bb79722d6d83edb25e77fff11a526f86052980ee175d6dd599784cfcc7ad82055de9663a178fb9de38a766cfe61fe17fbde696a5292f023f @@ -34,6 +36,10 @@ DIST gentoo-kernel-5.15.128-1.amd64.gpkg.tar 66304000 BLAKE2B b7672b2e0f5e0e63c1 DIST gentoo-kernel-5.15.128-1.arm64.gpkg.tar 59392000 BLAKE2B 22cc696c48159b1b2f3812703d74e291341985f346af516a167c9db4ca0f98e8ed9b764fadde660e548edafc8dc26f3a00798b454aff56365ce9d0377e33edec SHA512 d60475056143ac5178f44218f70c2c61e8272cab9eef7d46288459afd4b291d3304513f212f50dbea08a0f901910b2d99c1eadb69036f0e5bdf0002d38849931 DIST gentoo-kernel-5.15.128-1.ppc64le.gpkg.tar 54917120 BLAKE2B b1ef1c09e4ed1a328ee5b19ffbd9a32a914d4503f8774e98a1430f4f4638da99834879adf385a038ca71cd63f6538f9759656a8dcd4129c6f1de71157fde9e73 SHA512 38883a879b32735f7d62a1fc9f7baef80b19ccb14c295159924e03b264738c50c2a6d731762d075412d3f46c106f10b5f6722bacaa866f665aac1637b1b13ebc DIST gentoo-kernel-5.15.128-1.x86.gpkg.tar 55961600 BLAKE2B b81259efdb2422b31c223cde16facbf656b828f4c27898d9c61d44d83656619405220701f49bd052d79852cd6837307ab156638dfe4dbee381b0f572d3b8a20f SHA512 d09d1959f0a7644e8861e86538f692d0844e6bd8a035f224919cb7e7005ccba7dda58b69358d63517fbc2e909851445268ae7d29f904fc8fe9f4cf85038db425 +DIST gentoo-kernel-5.15.129-1.amd64.gpkg.tar 66304000 BLAKE2B a9dd041da1ef5548111365f04da98c732dfe766afb72565d037e39f13cfb2fe531cb99d7238dd506682042f62f7a4902a8c04de8814650416863b8897e13d384 SHA512 3880ac044d1e7eaabeab01e4663e15651169d8ef53c7f5bd5b363f51143d50dfa0250732458df565d5cc78643c898e411a8fff25566a8f4ab907fd3475d4f977 +DIST gentoo-kernel-5.15.129-1.arm64.gpkg.tar 59392000 BLAKE2B 2dd4ad3e74b18b8dfa0a27d291d2a6fe76ad6cca7c1677ca80ad1100fccd31d8dbd5f497cbda4706c704cd8a62744c72fa28e8622489a1b366a0316d5d01e7c9 SHA512 1120358c30138259537316dca7ef577dfaff318c791bb2be0f798b547bd327894defec9a40379ff459ec05f18de1d1a71b63a6d53854e2983993cccae1214af7 +DIST gentoo-kernel-5.15.129-1.ppc64le.gpkg.tar 54917120 BLAKE2B 128e5b6b9981ff67cfae92b3e8279b10eb7dc862f34965332e13e1af8aea2325435e2dd1002a3f1609b1146f4a21327d7c4096e8cd2f5aa41c62dfb6e0850caa SHA512 c14383cd3b8af4aae0f493adb66125c2f543dbb49e0c6bf19914597923c83b69ea40fe982ee5b37ff0e6424c2709f0ee67ad5add6f6dc12d0a41a70403d1dea3 +DIST gentoo-kernel-5.15.129-1.x86.gpkg.tar 55961600 BLAKE2B bcb0b4f3692e026d7975e48541766b7581763459ca6464c936cc7e17599495c63a3364ee0906d865a96fcc933f4c997e07b74e0a28c8726fcdf0d1bfe3882671 SHA512 df4b4cd691fc6c8443362096e5127a748c5dd11557feef0ed2059658a3a0b103d8d1580c51369840da0ebc3dc584b280d924d7c69e4bc636662339de7d299d66 DIST gentoo-kernel-5.4.254-1.amd64.gpkg.tar 60528640 BLAKE2B 33d0479796b153b5769c16cb0c5626b17596a6e987248e7e91f2e5c9d3d9ca752c625face60b8562a9045cf4318b2c366e8acef39f0bc534ef5d3f816169e76b SHA512 773914a4a4f568d889dafe56103a21893e7037123642be23fcddf49e7050ed414ec359b971b667373fd6184eb58dbec10168cfae6ad933af726feb6d9f89f040 DIST gentoo-kernel-5.4.254-1.arm64.gpkg.tar 56535040 BLAKE2B 86e83e47aec900303f01b94f770106c0a70476604efca854699cf2d7ccd335ed2ff4714f6896153782a64f5a06cf19718ca6271994be936406648fded9f95a59 SHA512 0077acd5556f992f0cd3059cb866d164970a71e9c646467d85b4058a00a15b2089b8d102f0e3f9c17dee64cea4b8bbd1e265a528b91a9428eefbbf5cd9ab8bf8 DIST gentoo-kernel-5.4.254-1.ppc64le.gpkg.tar 54210560 BLAKE2B c8fef1a42e4479c9eef68d492ce5030e0e5cf73abaa2bb42fee008589091f2390227746608b099e0df7db5cdd2734950a66c320156afa302a5283dd21e534d1a SHA512 ef378426c2774ec3911b0fde86a7cb25bd9ca142ad9d3cd33d4dd698344655cf3d7d98c3ade40a2ef4edad7d4c1cad2daa580b1602066e6abe7ff4cbdf5d6bd1 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.129.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.129.ebuild new file mode 100644 index 000000000000..83c6a5e4fa8f --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.129.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##*.} + 6 )) +BINPKG=${PF/-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 +}