summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-05-17 18:20:03 +0200
committerMichał Górny <mgorny@gentoo.org>2024-05-17 18:21:12 +0200
commitbd99bf73beb96cb2e5138f9861b7e1b914f2d4a0 (patch)
tree989c6d3494c295a3d30328081df6538c63a8c4a4 /sys-kernel
parentvirtual/dist-kernel: Bump to 6.8.10 (diff)
downloadgentoo-bd99bf73beb96cb2e5138f9861b7e1b914f2d4a0.tar.gz
gentoo-bd99bf73beb96cb2e5138f9861b7e1b914f2d4a0.tar.bz2
gentoo-bd99bf73beb96cb2e5138f9861b7e1b914f2d4a0.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.10.217
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/gentoo-kernel-bin/Manifest6
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.217.ebuild127
2 files changed, 133 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index 7e04ff311609..44322fdc5b30 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -1,5 +1,7 @@
DIST genpatches-5.10-227.base.tar.xz 6772808 BLAKE2B c026e8b9a2de5ed827e2027c80bda5e1f5c30fdffd82644d5c3001449263142dd6cda9937c4ad5afb63276b4c072ce72dfdb061bc3be432ba89f9aa98c5214d0 SHA512 69cc93e9c8f09443d9d1fc999ba8b9c1d2c2fb5182520a7d1530723ab4797f113c69ad0ed9b05743e8062441af0290e16dce3cd4eb4bdd1f805b43c54932c8f3
DIST genpatches-5.10-227.extras.tar.xz 3912 BLAKE2B bf7fb2754d5ff315fae18f3b82b2b9df80038bbac9a8fdeccb6cd567df6efbb41ba1c16440bbd839ca63f27218d0721016b016d4521b98ed04ecbac80c5ac0aa SHA512 c5b62dd417f727062ca73ff379fc8aac95a393931a379fa7aa83207d3b98128fd89f282a2454620a5a695db7dc3ca9ecb77e57c37f81bdec5abaa8fa84485766
+DIST genpatches-5.10-228.base.tar.xz 6796152 BLAKE2B ef28b957aac198478ba620253b1f3d85b723f0e47924cbc090d07a8ee28515c58cccc1c45494519e0dfddbd4e03a5c292273db84b46def70f7e38530dbbf3ebf SHA512 d090e87db62dd0e3c0bcab6ead66ba4380db2ef6d9b143e0632260c66ab245d459685226f30f721a51b5a45e9e24f66aa70b4783281b21c45cb29fce13d85d3f
+DIST genpatches-5.10-228.extras.tar.xz 4052 BLAKE2B 09c4b743daf726c89054d5e1ae0127e9d22dc23b167a3a6b387cc6ffd84a47d2ba70387869990ccd510bdcd5eea5f13a5579cd0c98432076a9a7ac7f6c944157 SHA512 634705678dc6693421e8ea3e985c4fbbd14b97b962e1b4aa50daa42ce47531b8e07b4255cd3e85429b1eccf103f74267e448c072771a195d39b4b6b8b52e099b
DIST genpatches-5.15-168.base.tar.xz 6757748 BLAKE2B 32b6ebb14ed20864b51fef7cf5e81bee96e4b634829d10b0f29172c41129caf856442cb7c116a4982c6ec92324661daca1a0644febac00d2d39ddd43fe1902b9 SHA512 62b37104e6ac0c9eb09de4fd1657e945be70e90d4682537e762f63ca8ef34da713619d518bf6a0fb35aac4b1541a44d91ee18d806211c7e4cc4124449de49bfc
DIST genpatches-5.15-168.extras.tar.xz 3972 BLAKE2B 6cde986105f72e9282c78f59c8bb82bd3ac7c5c03adb3b3c1c657204624df2a28048ac0fe095759d5906bcd6677831d9962894b76390c2861482440120e72fe5 SHA512 6e067603b8e0e318703a59347d38d7aeb44a3097c39df07881c0f5250207b05442053a8ddf32069ead729ab4c36ccc1177ee8d82417ae2dbe16014b221d0d1ad
DIST genpatches-6.1-99.base.tar.xz 5167668 BLAKE2B 0dfd80fa50e373b99b3ec8c2adcc80eabaa0df9606831465c2afbca34cc195f41902a5ad4472b822eb2e011356c51b257a39294ae1d123c7384f915bd0a6249a SHA512 39116b71b7da155596a158ebb1aeafb029bf5c0d1ec983efbbdb323af61fc505c3a67beac4e6f888b3b673cdc271ef1dbc3090580aa89f573a652ebe0d501ccf
@@ -12,6 +14,10 @@ DIST gentoo-kernel-5.10.216-1.amd64.gpkg.tar 63252480 BLAKE2B 787a17da61971c776a
DIST gentoo-kernel-5.10.216-1.arm64.gpkg.tar 56719360 BLAKE2B 61a5d2a3eb4dc5434646cea9103f34c8b228c6eb337fd031e669836996e3f28dd718106138af1bfc6f8c9e193e6976a0380e20146ba9f131c876255a9e513ea8 SHA512 848b340e05a9be6cca74c5f1e0f876c74836929f84a1bee43bdac53bb65723da4fc6b56d6c02cc2179b01cd97a62199aa971e6d3169c25fdca6f8603e0639884
DIST gentoo-kernel-5.10.216-1.ppc64le.gpkg.tar 52869120 BLAKE2B 3f5eb4bb82b76321988baf7187fb550794fc246fc369d2006a2337c24c5793ad3e2f9afa1c57b5121e43283d3195e1042f2ec35dec25593c0c7a14d74ad0acd2 SHA512 dfa92819e87f23d37cd51efae717837f3a08300f9a3bc7b7f7a6860178e5b87ec8203087f6d3120565c32589fcba9a70a473e3c708fd5522f45eda8bcdd1003a
DIST gentoo-kernel-5.10.216-1.x86.gpkg.tar 53575680 BLAKE2B c7aae1005321a3def579e5ed67cc053d5b4ecbe318a7625639f64491fa08c752cb022af13b8d28c8caf5ea3e83e921cd765f61d5bea7de986f2d99a18787db5a SHA512 63fcb2e81c0264f6e4c05727ab7a5badf4656a59f4b0df86b7c14332a3799dafd52b2ede228746fcf1621f0c1c731394664be90462d7fe90fff96f9328909f00
+DIST gentoo-kernel-5.10.217-1.amd64.gpkg.tar 63242240 BLAKE2B 0a7dc1f3fdaa14a990579ce55f741c779044efe839ff49a49acaffe3173521039e97389c3f2b80c1e1e8158fb2afc1e8a15032b38eb449bc3f78d7c1626577b7 SHA512 cbb58f6dc692c2b01085dc06edcb1609a4fbb524e2c4df4efc17320b1c7ebfdc027644391dc2520aa50f7919b06a1084239ccaca26d57e2881b52a3f84a3171b
+DIST gentoo-kernel-5.10.217-1.arm64.gpkg.tar 56709120 BLAKE2B 3fb6dd01acf9165955ad6cc9920c1f3bbfc4c2e67e89d21d772eaf4eb5dc1033654a9ebf6907ba2aed3847f7e3d5ac7d0a47d165f2cb3743f50f87e3f44c70e8 SHA512 1f36390ee779889636f92124f72fef47f2810cc6e16beb599a3865c4208637831f92b72cc5c2065bb69a22011a28c9dff1c83866df82ac59567bdc2baa15b2a7
+DIST gentoo-kernel-5.10.217-1.ppc64le.gpkg.tar 52869120 BLAKE2B 57a1d1917f13835765829ee4b5c88fabd34c7ebe1ac6443132a39727112c7d2afdc8dae9062cf8aad53fde2444ba36844a9a939cb8d4178bc484b596f22890a9 SHA512 6184e216d289b32450d8b2c354329d98d64ae54c95107aa48df1c83ebbb8a7162ff7740f721c0ebbe75a5cf522e69851fa8f13cff0f0e85b2be676eb658bf143
+DIST gentoo-kernel-5.10.217-1.x86.gpkg.tar 53565440 BLAKE2B 8261626c8937445fbef07c551259f2c626a229764c838300340050ce03b2bbb3b8bd8bcff1ed8945cde338aff458bceb3e975c6c301093c1c40776cd9cb8f953 SHA512 14ebdaa7f08d0b7426c9a947cc5ee3f24d72f2a16dc4cc05582831e353070e03a9e483a7f5a842bfcf01956247693fc4a1cb0bff405be3edcd57c2ed8ac9935a
DIST gentoo-kernel-5.15.158-1.amd64.gpkg.tar 66334720 BLAKE2B 054aa0baf29da57881e4c00531a3ad1554d35c174b7e5be89269734045daf23dad8ed19782c7cb313e4f5a41481d1f78920b71266aedd9cd89fa25cf69d2133b SHA512 ef9b138c73071eccb483327b9677b0162c17d4d38e2056a0ef0a2f4780e9a4cf3969567dde9bc6b6a5176912f63b1bfa5f36311b5b9f068410eb538448e01b4b
DIST gentoo-kernel-5.15.158-1.arm64.gpkg.tar 59740160 BLAKE2B b1da63e9085ed1b899f41d6a142f6882dcab9f66bec90a772eaa53ad72b4ffb3822356286a93d07ae522b56ded61f04344b511b3e2892a6475db5b4da7f818cb SHA512 d808b1a493935e537b72d7d0c7655fd50eb5488a3e1e73b5bda81031828b8c6c9155d20d66ca56f6b1dd2c595459149053f5ad06fcc050ce44037c13ac03a3ef
DIST gentoo-kernel-5.15.158-1.ppc64le.gpkg.tar 54978560 BLAKE2B 63c1ce29e1c261032df9622bba0fc80ef1d9de09518be7f10f5b40ff264c0ee794893803dc49dd9f290f6831e66309d48c3f9de40b924dcfe924d27a12bdf774 SHA512 6fd9500b64670486c8cca45b63e5a0d74871d35f3bc3ff20c20db2e41c80da61fd0309e07728b624ef9cbe4a6adaa3b8eeb2a26f43564233bd97f41ce9eeba90
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.217.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.217.ebuild
new file mode 100644
index 000000000000..1a44f330be18
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.217.ebuild
@@ -0,0 +1,127 @@
+# Copyright 2020-2024 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##*.} + 11 ))
+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="
+ app-alternatives/bc
+ app-alternatives/lex
+ 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
+}