summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-17 18:07:04 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-17 18:17:59 +0100
commit6e591ebcb0eaea6e2f7e6a4c2ba89f99f2e64e46 (patch)
tree3df6e636a4ede81ea91628b957d685686bcc8e3f /sys-kernel
parentsys-kernel/gentoo-kernel-bin: Bump to 5.15.103 (diff)
downloadgentoo-6e591ebcb0eaea6e2f7e6a4c2ba89f99f2e64e46.tar.gz
gentoo-6e591ebcb0eaea6e2f7e6a4c2ba89f99f2e64e46.tar.bz2
gentoo-6e591ebcb0eaea6e2f7e6a4c2ba89f99f2e64e46.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.10.175
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.175.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 4cce68c710d1..ad6bb48125ed 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -4,6 +4,8 @@ DIST genpatches-5.10-181.base.tar.xz 4964488 BLAKE2B 2b05c676da465b1627c92400f12
DIST genpatches-5.10-181.extras.tar.xz 3872 BLAKE2B dd1d27a04cd2215fdf9ae7301d6c90dd0a1e9e4ffe7e295dfe2d6b637de69303d9cd2a00a5adeb33d2c4cc7d984e57e69bd9f998df1da188ae006511fe70302e SHA512 b91ec330f3f87bf7ec5cdc10e6352070161d38d09fea82142b2dc475a0a25d176a262cc0bf24d4a4902e84abea84f6263c3e859f1ebf8f44155e42c5f565dcce
DIST genpatches-5.10-183.base.tar.xz 5092416 BLAKE2B d4c674fdd2891051748ab33257ed3dd1e85c7f15ee2cb5e73932752ab31ce6aee4a5a3b7a68767f9c1b5f0274693a140c3911fff7fd4a5587814861010cf0fb2 SHA512 bed74ee91b86e61bb2bfd02293a2590d0b5b9a7171c794c768970dcdc8cbd004ac6df87a63cbc9f5f6d1d2372e2960e29d68586b84a077275b61dbf80608a365
DIST genpatches-5.10-183.extras.tar.xz 3868 BLAKE2B 4f42863c501d8636ee3d991f2e434123a891446182dfd5c45482e8aa439675f62db9388eac0ab00683001d7a7ae49f576968912a048d4e4a947a5e20f2830ccc SHA512 8c2229286e958d1d88c9d93dc3e6d26d98e91fc67f7040d0a96d35b89da8f15d11b339372a3055eeeb448352372cde839e7fc6fbfb0600d03337d224af4a8178
+DIST genpatches-5.10-184.base.tar.xz 5117468 BLAKE2B 6e8e0781f40b520377a2ce331cf46e9aa5aa41423b49283ae7dfcb727bff4adeb54ecc3cda91a31af36d05a1681c7ca5fc28b58a7ecc93a9b909f55436b9a665 SHA512 9b1cb8aa0f9f576fb8944ecad5cd39c97e6a9b9a97b7c80c9c649ea6590be522f393f2f363cbdd47471d6e5abcc469ee166adfc4d3bcc254207f26bceda29181
+DIST genpatches-5.10-184.extras.tar.xz 3868 BLAKE2B b3fbf5c425fc23d0a80eb7a738b3fcb3c4cd0948c103a2db42f976ebf9ca04e3c10606bbc29dee8816c9812d962aa648a729dc6887ca780adbdbefae1c62b696 SHA512 d1e3a5feda8d135685164bfaef15061751c0ee90e2f66cf36e0d2756a02cac0927f5ea5cd1ad15debc6788978c2afd2f883fc5fe7cc1b7e13200d610d1dd591a
DIST genpatches-5.15-102.base.tar.xz 4041416 BLAKE2B ab6ac9c8d03d41594f1f3c0b59cdeb3d045fdc0bc89926026a7b3f34eef38a869da1c9adfa1ccf465486f885dc4abb6c8d09a8c36f2732bb961b365a749e8985 SHA512 2df353c92659d8f41a45bd3caaf33e21542cb01ab210495a632e65fe71e8bee7c31ae7283827bc7e0683737f3a451b617db95b5a8b559cedc8296496e2fa3302
DIST genpatches-5.15-102.extras.tar.xz 3936 BLAKE2B 4069a121383a58eedd557cfe3c421ca8c033e4b7a976845c557b3faf66b33d9efc6c7b3d4dad20cdeafb7d62588a4c49bb7102abfbd7acb1c98b1afb86e8f87a SHA512 b12c07aa5c9974856482f44ecc39ae03f7ec8879d07bff562d56b0c18752d748455b519f7bd53cde5f22df1787c15d52037ee236c1150edcc20416b9c6c1e272
DIST genpatches-5.15-107.base.tar.xz 4209440 BLAKE2B 48fcb9a837d9f13ffa96194e2ec2209decd2d7c50a8d18ce4dadcd15f720496f5a82b821788bc20631b6ca4679cc3f93e48beae4a0c1c515747086476b5c1d5d SHA512 e66a46e0460dc940a021b37f673953d527d87c92f323d3f49d891339bc0040de492193e7415589b47b15ba37fcb05a7c1aeac31d612904afefaf2f748e1ec173
@@ -42,6 +44,10 @@ DIST gentoo-kernel-5.10.174-1.amd64.gpkg.tar 66355200 BLAKE2B 31420521f1091843dd
DIST gentoo-kernel-5.10.174-1.arm64.gpkg.tar 59351040 BLAKE2B 6bc84035984561e569d61b33dd5c5c9a5ab265539403eac4d298e8766a261c47183b83d46fec4bc637d7769dc242570185e2a49f6e170e87ae1b0bf935b4db58 SHA512 b667b83b3f0b2448609e5a1111da0b56b09df8cf9ad6a6f02770cb11d2505d01d363c3fb9d4fccdefda052332630fde5abcf7a7f15d331ede2141502e8e510a4
DIST gentoo-kernel-5.10.174-1.ppc64le.gpkg.tar 54927360 BLAKE2B 1c8b8f31a695c5c59ffed474513b17654fbbb50bc0302ff5b7da31b08c835e995d98d603a87fedaf14022cb236963156ab8a2d2d24de2e25ee3ee40ae3728546 SHA512 01bc32cd6c832bd9ea53ad096e4b6a6666c662a88990d8dcf72a44d2ba4f0c65e5d3df08e2071c510b76a42d875195aacf699116249b1b8bd6b7b85242725f69
DIST gentoo-kernel-5.10.174-1.x86.gpkg.tar 56442880 BLAKE2B b19ef77aa8f2e3fc56046ab0a060e6a86b4558c279e9af0f323bed13fb20c23a4e45b82822cacae9216e6be1cd403447bcf240f6d9490393746dbc36e806e8f6 SHA512 a05b581a86b2f0759b0bb6327e8dd9b847d71971a923301bfec925bca6cb93ee915369acf825af5dd03f24f12d651453381d3e571835978b2565a734dd5d9bcd
+DIST gentoo-kernel-5.10.175-1.amd64.gpkg.tar 66344960 BLAKE2B 7dfea339fe1beffef8dfceec0ee433f3f42431dc1ad4878d0f2c534df914bc7e86776aa52ad5037aca96b953277126e76c6c530471e415a01edeb0f50bc8188f SHA512 9d61855872c3883e641f0c620e4a3017e9ebd5e3c9fee411b3d7f1d6a204e9069edd2ec378f69c34b35e8c28c4a2ec514eb8094eb463f48e8c7871ef65febbef
+DIST gentoo-kernel-5.10.175-1.arm64.gpkg.tar 59340800 BLAKE2B 406eee035d6fd4e4104dacc935c8738f2c302ba39b6c9f765700a31895e88fcac0fd9faaa02f4261576fe31d518a974ca2c3a40efdc058d119f881084cc6cf06 SHA512 1bb96637b48f9524105b4e6292d54808d8a71cea75c2daf5a83ab97d3fdc2bb0bc1a3cb9d08c623c8fe52afbfc2815d4916a7e5021b454a65e52b0e2196754d0
+DIST gentoo-kernel-5.10.175-1.ppc64le.gpkg.tar 54917120 BLAKE2B 93d28d976d8929ab473488b695a6ffe69dfeb033a27a1ebd9511c1eaf22b22c52d28b2eb3c2b344507c5379718a1ff95b9aa49aabb28419afbc1fd4d81fec2c2 SHA512 e59b2e0ed6d7fd8a084f0d5e15e0f2415e344ee5a2f5566f062712ea19adc2ed41f99d7bcc459fbaded2ba43183965cd0a98898337535a9a597ee3532c4dca78
+DIST gentoo-kernel-5.10.175-1.x86.gpkg.tar 56442880 BLAKE2B 0ca2433b87f7ec0e3bc5530b973495608dded3a8eedd42e618d02a1012d36a5af20c32b1ff4cf107efd0d211c640a1a1199537a35fb37c4d1e63b039fbc03346 SHA512 75a4a4be86114de89197c6f1a5c5a5133ea0812522f4414cd2dfa946232925d2369141282d8399cbbf626c130068142f9f80f709dbf0bead3e88b28dc6bb4bf8
DIST gentoo-kernel-5.15.102-1.amd64.gpkg.tar 69632000 BLAKE2B 7214665a176b2ae00dd2ff77164b531b690aa971935e4a0c12506d94755003b367e89036c0996c75b5727625db1d59af71881bfc2e82a324f111a95bda5d753b SHA512 b7449349cbf086577bcda85b6a7218b80f2c01b761b9d3480fce0f4890548ed5bbb7a65cbc649e398e830e750cab763f00c0b0c8ce48c53dc31f0073e3b72086
DIST gentoo-kernel-5.15.102-1.arm64.gpkg.tar 62576640 BLAKE2B 8ff724481bdc3a80baed7ed61722e8e872721fd071fd505d8fd9f829818a93a92a8c2848cb50abe95d82ad621ff5290adde5850af2cdc32c94e72ebf8e0d7b1f SHA512 ee49caa42661510e8b7fe2208cf01c4beca0b2a3ff5807f4cb0d2781b9fe81df1573b303ebaa0bd22bc7a00039eb98355af33790f6aa4e459eb9d91c8557d116
DIST gentoo-kernel-5.15.102-1.ppc64le.gpkg.tar 57088000 BLAKE2B 7ca0d0ff5c67beec55020af7c6ab03e4aff67e527f8fc03d4cbc414198dddaca69b5c150f1cea41f93bad6432a492f61be6c3bd70d3503aec363bb198f9c2f13 SHA512 1fee94830c9e81a516bbb317cce689174a48416be6a4bc1872dea15fe63acaedb97a16c01e25c9408d97c4dabfdec31b29306510c97294947fdd879e1b8d6e56
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.175.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.175.ebuild
new file mode 100644
index 000000000000..8f6c357c55e5
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.175.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##*.} + 9 ))
+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
+}