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 B35AC158649 for ; Fri, 12 May 2023 11:50:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2F7AAE0D2E; Fri, 12 May 2023 11:50:22 +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 E61D9E0D50 for ; Fri, 12 May 2023 11:50:21 +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 87ABC340CEE for ; Fri, 12 May 2023 11:50:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D3AF4A76 for ; Fri, 12 May 2023 11:50:17 +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: <1683892211.1d9144fb0b926fe541a8fa7ad1d167a0b8c5359b.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-6.1.28.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1d9144fb0b926fe541a8fa7ad1d167a0b8c5359b X-VCS-Branch: master Date: Fri, 12 May 2023 11:50:17 +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: 3ec22174-f366-491a-844d-d0b06953a078 X-Archives-Hash: 5db2d6dd8748a1d08018e8f4b6e99dce commit: 1d9144fb0b926fe541a8fa7ad1d167a0b8c5359b Author: Michał Górny gentoo org> AuthorDate: Fri May 12 11:42:56 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri May 12 11:50:11 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d9144fb sys-kernel/gentoo-kernel-bin: Bump to 6.1.28 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-6.1.28.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index afb59cde7a42..57e15ca4f13f 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -28,6 +28,8 @@ DIST genpatches-6.1-31.base.tar.xz 1473456 BLAKE2B 2bee72cc97ba8a27bab8f69ab11ca DIST genpatches-6.1-31.extras.tar.xz 3812 BLAKE2B 2d599eba0488cce5ff711080e61cc94aef9265c710c5b68ca7badb4a13147cf8f19e4660988321a0f929a3d3a9dd78adf30f905d4eeb63de4e45f41bc5063fd3 SHA512 87db9b58bb212c5182927012b95d04628dec1cb884cf52b83c566fc52262a5684dcea298260233f8a02974b30640f538754893b2c87cb34a71b5d7674b482ae2 DIST genpatches-6.1-32.base.tar.xz 1474460 BLAKE2B 43060d16a84ca2c65ef9d7447747e6b857423134fd518e05c3c052bf5c664c9a0f8af97b84e7d911c84766cf478b71695537a3c56a367589bf37adaac032a7e0 SHA512 cf8bd867d09b68a197368c546ffa4c626b1c30f0f7a63138129d3abe8a0479c88717dff6ea0a79c53d7f108d2a1fedc433b7b2088e20f082be921701e5d7d790 DIST genpatches-6.1-32.extras.tar.xz 3808 BLAKE2B b697db5da31e471ab0af978e722c12ca2d8c5cc371f1d4c2d11c5816b34b479e6ac17f1cd9ab26826bacb065e0a254e18b767c9cfcc12fb16c40f9d73aa1e3d9 SHA512 9113f7505f8dd5a535e2550863dc8d69a6961fc4180d5a7b77206a397db570571f083e39f6be87da072b588e4a2d1b9c1e4b2a725172c9a799b3dc8e88542f66 +DIST genpatches-6.1-33.base.tar.xz 1668040 BLAKE2B 60823b42a19d54af313039f75bbd4656414201e11b088c49c3d1c01405da82f9bb933ffbcaecd19a9d2b414553754733059b667f458c4d78fb0e4d46c02157b7 SHA512 2cd6755b1b01fc58a2a4f9a0b5c15c3e2ee5ac74bbf67c01ee4d543e6df30ee35f01bb23aab8e4b7fa0e36fbcb6cbf5e07bae6ab21010d12441d34ea802085fb +DIST genpatches-6.1-33.extras.tar.xz 3812 BLAKE2B 4c0552c0cd447cff8e1725dbcabe9ae02be41f432805b6e5e9fd360c6a0d745b5bb5d0dd5c7b36a3e0468622dcf89d3d7fcf47f0b1b1735f76ca281764c928ed SHA512 fc1efc3695e71daf5d3445758ba0af5a8714c22b9d3788f59bba0e4383dadc91ebb14e3114aa711b270c2734f3bd8355b6b7e98c9b81580b9da8c9ffe6207cae DIST genpatches-6.2-15.base.tar.xz 763032 BLAKE2B b933b63ddc6d19f47ba58d5a5884ffc63f533f9008b22788276d0b096f3f13ab9eeadb82deb1d37de1ac77aef082f2f10f9eded0461d31ad17165712e696d175 SHA512 6f3bb8fb4dcee4539ebf58d99b4c8b42618366b684c202ff4fe60ee3e8581175ac0337290c1ac24e9e3b552145c760ed7a65f405665c437d76f4922efd810fc9 DIST genpatches-6.2-15.extras.tar.xz 3808 BLAKE2B 6134125180afd914169eb329f5d9ec8f3f9fbd3ff61a0266200defdae573a62b39ba557c2a815229344ac762786715a6193ce3cb9c3ed08d07a87d83427ab107 SHA512 857e513619ab77e79461a337c02e9fa9fbb63ee9a837eef438b1e5af3c8c856867c738b0b28f21a8035a5e1b963eb8c13507223ad6a251f5320da67aeaeb595d DIST genpatches-6.2-16.base.tar.xz 768864 BLAKE2B e852e0feb635be67bbf0da77ca6c946abb4fdad1b7b6a6e72c350b7705c4c1edeaa152f8b5ab70e4089bec80de805dc4a506ca60f74f53d3572b3ad0214bcec8 SHA512 2ea683e51835696d825977f65d93b9c25259f59499669bbddbfadc1573e6510b46e916c4e4922d5c62bd64ecda992615fbdb076f5c50648debfe2f9f05e1974f @@ -90,6 +92,10 @@ DIST gentoo-kernel-6.1.27-r2-1.amd64.gpkg.tar 76646400 BLAKE2B e84b065c853d87b8f DIST gentoo-kernel-6.1.27-r2-1.arm64.gpkg.tar 69294080 BLAKE2B fb631219b0a2fffa68d3ec63b3deffd97381dc42f2bc20579e2bacf3db9ce62444bcfaa5fe11ee7b06601203644c814f264d3a15025e436c42b7314dd1651444 SHA512 10f09b96f870309e15a2f1359647a396822a8781bb858843c1fe71ece6455e30c9477cca31522cd4244bca7f2596aefea68fc2b4b452e496f6cefdab0c78c7eb DIST gentoo-kernel-6.1.27-r2-1.ppc64le.gpkg.tar 62709760 BLAKE2B 5cb3a76645115f897ad7d30fce14eea5fd14729c3710eb5bd205fef5ded7e550707f8bbf9116f8eb0271fd0b5150a7cf0b5a383018568fb90c52fc75f17d1468 SHA512 f1febba8cbe2bb9e1f443a6763200d041e85f5a219ed2511a7290f9ceff908762331f87bd9fe9aee0b041e41c39bac5f5f6dc8cc6f600f5dfc8316cce00a95c0 DIST gentoo-kernel-6.1.27-r2-1.x86.gpkg.tar 66058240 BLAKE2B 2492f79853023edcd8739d8ffc70a342c4a011e6f20e2cae39f972bc1989f95ebf614966251d97eb62ffd753d8c0e7391f160f82eb2a0f4ac99935d4db517606 SHA512 c4e9960f930d42517436e5f6e95c792e1ea42008cd3e6b9c3ee463c905d69bb87d661a4ebbbb12120b5fbf1afcf91eef501542ddfdbf0018d1c14ab5c2a13ae2 +DIST gentoo-kernel-6.1.28-1.amd64.gpkg.tar 76666880 BLAKE2B e4861b53699a50165a955b207b713176fb4fbdeb10a818eb4eca81a10dba2323c8017816e399badf6e81ee21aef1b81b04483556dbb6f711b4cd19ce6349c5b1 SHA512 48acaa5f6b4b6d783f1f5e32f3cc0b8a5e7adfd20c2cec12216f577035c6e5eee826ea29d4b7b628e25103d3fd4faa733c3d2971ee467dce2da2a0b436724462 +DIST gentoo-kernel-6.1.28-1.arm64.gpkg.tar 69283840 BLAKE2B fe75979e3c364f4d7bd7102752c7386dbf7223d763f867f870ec24901ff7b458628bed01d714aab9f84bfcea51edac56f869eafa1aa0e4eb2a97a6ca2741c969 SHA512 272a522a4597a14c0ca51e53cd433afd4d7a5ec0d09d6ea06e14e80d92c8c1bce45ab66359fdf7ece3cbbac0e4ff252fb0f0df9c06fbc1bc02f26196ef4b63b6 +DIST gentoo-kernel-6.1.28-1.ppc64le.gpkg.tar 62709760 BLAKE2B 3f001103a494672a3907af8884c576ee14b28c42149fe13065ad25766353661290f51e77799045b11369c1157ea4832acc188fb281bffa6600ce5a1c1b9e5d46 SHA512 e0bae2900471fa776e81d192f09af01efab24f97b3a86b0289a134bc5ecddbb8a924b8d2b8456161ef2a433ff836fc3dcd923a1c541eec7cc6933dbe19d3c2e9 +DIST gentoo-kernel-6.1.28-1.x86.gpkg.tar 66078720 BLAKE2B 817f6a9c9bc05b1519ca4313d780013c25379e86469e999b799a4fd0cb6f7537ca2cf9e03184a259b5d84e641e138d602746ff6579887b56e7c6f4d95a7371da SHA512 b36c84d74209033cc89ff676997c4cfa2c1a702ea148f4f6ef085020ee4bc95a1156f83ff37234658f8468010d554674bb75ce30477b3f0c335a234d4120d3f4 DIST gentoo-kernel-6.2.13-1.amd64.gpkg.tar 82677760 BLAKE2B 543c90aa9a3b2b6958f39ae9b2865c867a39e1ef4f3dcb959ad8f1fe0792b7bfb1d74ac368d988960ae66fd949cedd2d012eef8bcd7254d4face276d92317e72 SHA512 2e9b3c878d31a3139c5dda4c6f6c0b02a967b93ca66be09468e40b85b794e116fe68ca157641c5ad1baeee87a50a8f8b8488778ce098572cf887b13526fcb674 DIST gentoo-kernel-6.2.13-1.arm64.gpkg.tar 71792640 BLAKE2B f004704865c670d1716a03c51575cacfac448792df27122e5c820a53495540b731b2088a778b27a61acfb7e4b5010557b98a8341afef643dbfaa9d8b3447d6b0 SHA512 8c69dcb426c3bb76b720ddda505fc8b3800809c1f4fcc8face738cb39ce0f6188bceb9b136aed732f9cd4617c5b69cc402a9c85726ac43a1f3eaae28fac9c349 DIST gentoo-kernel-6.2.13-1.ppc64le.gpkg.tar 63907840 BLAKE2B ee2c539fe3cd30ba8eecf103bf2d7dd9c1f6650e670b3e9bbc3109d1e77866fbfca900c3172f064699bcd1c0470a1ba98ab34b151d8ca3381b7407cf5a3d9d2a SHA512 3ecea6a4071d9bcef9a6d88fb560e1fb1c6fda59967195a6ee795c3041ba8a423a41c40d53d2a300dcf9a6fc15a55a0953d8de753a67cb300d5f9d8e2d092868 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.28.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.28.ebuild new file mode 100644 index 000000000000..623c8b8ab75f --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.28.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##*.} + 5 )) +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 +}