summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-17 21:16:48 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-17 21:30:16 +0200
commit5d2cae633a655acd5033b2f58e7195e1459daa60 (patch)
tree9ffe12d42dc8f4b5b6f134de72b48d394a0a9f3d /sys-kernel/gentoo-kernel-bin
parentsys-kernel/gentoo-kernel-bin: Bump to 5.15.112 (diff)
downloadgentoo-5d2cae633a655acd5033b2f58e7195e1459daa60.tar.gz
gentoo-5d2cae633a655acd5033b2f58e7195e1459daa60.tar.bz2
gentoo-5d2cae633a655acd5033b2f58e7195e1459daa60.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.10.180
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel/gentoo-kernel-bin')
-rw-r--r--sys-kernel/gentoo-kernel-bin/Manifest6
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.180.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 02305dcb7404..94dc06b0933e 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -1,5 +1,7 @@
DIST genpatches-5.10-189.base.tar.xz 5251680 BLAKE2B ef349b00e1ca8cedc2b580a07e66e8906436198ec7019a8881b2b647152861554fc1b0099f4fcef39497b3a3edd3657c87974ec7b88a01e580ce421a23e2a706 SHA512 94d65f1cdba7415021ac031b2ab896d7b2b15692f5e826833abf8c285a3eda6a8e8e88a57a8f11ccbc5ae94437b732ac6fa974bd26bafa3b426e3d61bc8656c2
DIST genpatches-5.10-189.extras.tar.xz 3872 BLAKE2B 78ab95ce3f57e4ba86655cd54009252807e32fd0b03228180fb26a47ae9e595e468e549c21a5141dc8214e55fcfa46e63e5f4e866e4113b8d3beebb99512cb86 SHA512 cc6d60a70a1f575ce69a14c265a36e58126a011cafc5a2bc7c569e0d1b626855f1cf430c44775d2602ad35144b449a8f1db1da8594f513edae4329ba354e0347
+DIST genpatches-5.10-190.base.tar.xz 5340156 BLAKE2B bff4b95cacad5f8c099b559091b9c103e6989940898910861b7f8c95e7a110a055ef09d1f3db6158ca58f7faae4880a04a626002be9edb856e4260fd7d1c165b SHA512 729e3c2b3d5d1a2e4c793d4c6424965a28b65b69d2c8b9675fb7f531ccb4018419ef77e46a089640f02521f4b230eaabcdef69adc161e0aae21ac9716f130b61
+DIST genpatches-5.10-190.extras.tar.xz 3868 BLAKE2B 216298c7f06796d708bc78bca0606f918dde6254915c6f3732c36d6025054793dcdcb9bf986cd16b8a7cf505b0e2308256c898c5f3dc6eaf66819253e58eb445 SHA512 72fe6586ed405f2fa0737875bbac6d823f28c0260ad681135cdcd491376936d6494b92f7710a373bbb5ca2c4a4d744cc96bbb2a96872faeed9136cdd8c928e9b
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-116.base.tar.xz 4433124 BLAKE2B 1ace5f7ac7fe7dee5ca92c8228fa07f1abe85d92040adc0d2b83c2d5f55976c4ecfc0a3ed4575d5528db1eab14b65250d25d9fb28a880422385a45a887117820 SHA512 7346fe13050c49737f98e5ad7bdb848caf693b2e3129a7e9e382f1c6462242dcdae1fc7e184b10f7593159c7d6c3cd8bf69dd1d66abb604746871123424563f1
@@ -28,6 +30,10 @@ DIST gentoo-kernel-5.10.179-1.amd64.gpkg.tar 66355200 BLAKE2B 851abe8e1838f98c46
DIST gentoo-kernel-5.10.179-1.arm64.gpkg.tar 59351040 BLAKE2B 7677294b03be17da7912a49e2f68f0bd466f4617774fa0460230bd2bb85c174cd0030f37164a30f9701eb5954020d8668198778d0fc224ae6adb558871599a5a SHA512 4c8e27837eeb9f52cf3ae20effde97526689f4c17cebb4f33d6ae3eac98f1f65ee1976978796cf3beec71f6c29abe58492b11ca3de39002cda1840ed732df4ed
DIST gentoo-kernel-5.10.179-1.ppc64le.gpkg.tar 54917120 BLAKE2B 74bb13c92b7af2799e717206338ab23639184136c0e812ca7bcefbb6ba8a3d436a8ac734524fed652c666733ecfcc011382ebc61e53c669a1c5e0b2f6662d7a3 SHA512 1324cb0318de1921f0cdaa4ccf95877205a5bc13af46ce73ecb26665fe6935c89357e3cee1187a177b84f7024fe293607bb3ba79ce36105f4a081add41ea16a7
DIST gentoo-kernel-5.10.179-1.x86.gpkg.tar 56494080 BLAKE2B 32734b61a793ff6bd7ade82afcb2bafcf443bab1da4111225e5412df14d974c1d4c5c4e66b4b50d12bcbb36435d3a5a8079bfa6c33a4ce60eab21229d3a5c6c5 SHA512 dab27a7ba4a9a1ad9919a64f657a4a4b499a40f98cf87c610d804bafcfd19f91963098071cc714095387c88b08c779fdb4c1b84777ab6f176d73bdcafe920efa
+DIST gentoo-kernel-5.10.180-1.amd64.gpkg.tar 66334720 BLAKE2B 922e0637404bc5f05934958498783922db968eecf85137e447921e2e27466d683ef3980731314ccfcccae8e27f74b5c04d5f74efcdd6e8e5512f09acfe656494 SHA512 830812d45b452018330aabc72d33ec7c5904f4cfc3fa6e0cd58bec6a4675e838044cafc7e34ab87ee30bc18e0174b66dc603cd0b51917da63a238cbcfba0a836
+DIST gentoo-kernel-5.10.180-1.arm64.gpkg.tar 59371520 BLAKE2B d8b4ef83db4c5bc4a75411dbf6b76803e62d653e36f36c92841514e01867e2e8c266813eeb20c1bf8514433d5af3c9f28be2985c6a86fa734cce4b6d863e17b6 SHA512 3e68f32e8c6e2dbe3cd6f50983a027a921a4b63d0d4ea869b88cff5e26e8066343dd919c3e5d5bf29e44ac7929678bf893a004af6c439d9d7caf264a0b786a0d
+DIST gentoo-kernel-5.10.180-1.ppc64le.gpkg.tar 54937600 BLAKE2B f1b8abec5aaa2a39dd3dc0d90b10af4faf82e64331a661e4a8492e8647856820428dac4af13302816bc58a7cfa07f20eafe080384f8461bff12a64bbd7c0ded9 SHA512 42820462c5b488ae3b8fbbbd78cff71561f3e82fe905f3405046d1c5db184a8c2b8283126ef2c24410cf0b5fcd7bc4cb5c3f15122d0a33d575d9194e79a501b5
+DIST gentoo-kernel-5.10.180-1.x86.gpkg.tar 56494080 BLAKE2B e34048216e2fb439464235b8968a7e040e05b45a7888daa67049c20f3b46d9498b29018580a3e0356a6085e069e7b5b8d05769b05a5b56f541748b4c993c9192 SHA512 85ed464140e2db50961ef39923a8b627cf1daa0b5e3e7aabe09d57cb2711c4333f5ec5d5172568a9ca4e6466faf0beefeab314ebe334d1ac159b5ad69056cc58
DIST gentoo-kernel-5.15.110-1.amd64.gpkg.tar 69550080 BLAKE2B d04552d83471d24aa758e378cbd8ed1a945aca2eb4d62aa30724cfd22310c2ba80c275d23c889a10ceea9a098117509a739900dc8cc01222631e61736d2a2665 SHA512 8c3558789742692068c1e11f0a0a58e85a41b8831edf5e5693b09163efd43f073064073af7c315a1975edcba0f48ea90ebfaaec9a6e2436c5477fc76a0610ce0
DIST gentoo-kernel-5.15.110-1.arm64.gpkg.tar 62504960 BLAKE2B 30d309a10c3ef4d4dff07894f463286cad8b09333dfe67c089e12b594e17658b3b6f4f8f453812b3e2c8c119e23be9a165cfa386601fdbe31ba2fd06daec0962 SHA512 df65aaf452834508a117695364a02c99324913c362eb2a64ff53b6da6254c3144034f3feefc460380b20703ade955a6ec6bee26f0c1b69e92b3099ac83fd9c72
DIST gentoo-kernel-5.15.110-1.ppc64le.gpkg.tar 57108480 BLAKE2B 8e06bee9f0d4f95d352267c591320a1cc47f71f8dded3c7d31eb9e9d67bd9a5c6c85f63ebc7330492e93d4e6fe88ec7583845f50e010a8f1c3454ef375c0fb42 SHA512 eb83c9038b093469f944bdf571960968f6fd9e67ac13f0c48e7e70ed4ad79b5822e887426b16038c5f202c0951c30fecf4814eea94951cec5569e9eef61097dd
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.180.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.180.ebuild
new file mode 100644
index 000000000000..fb165f3f0e91
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.180.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##*.} + 10 ))
+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
+}