summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-17 18:06:57 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-17 18:17:59 +0100
commit7e0b4bc7b641d85bd720bdcbe48fbceff26f6b4d (patch)
tree2e9b6e0f82120c61d7996d2663d8a25f30c0c1b4 /sys-kernel
parentsys-kernel/gentoo-kernel-bin: Bump to 6.1.20 (diff)
downloadgentoo-7e0b4bc7b641d85bd720bdcbe48fbceff26f6b4d.tar.gz
gentoo-7e0b4bc7b641d85bd720bdcbe48fbceff26f6b4d.tar.bz2
gentoo-7e0b4bc7b641d85bd720bdcbe48fbceff26f6b4d.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.15.103
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.15.103.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 ce7fb31bdc29..4cce68c710d1 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -8,6 +8,8 @@ DIST genpatches-5.15-102.base.tar.xz 4041416 BLAKE2B ab6ac9c8d03d41594f1f3c0b59c
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
DIST genpatches-5.15-107.extras.tar.xz 3932 BLAKE2B 59b1279051d08009a8c6e15c5083d7056f7eab8b5beed72dd3421631e9730c7306ce7cae8c3c82f508db261c2a4b2076a2c6c7d3a5fe98419b240e87a0d1e636 SHA512 8897cf7b1d42fcb4a0a87417913c624dbc65b9ce5689dee3998b65cba54659e7ecea759c97f4993dca4b928fe7844e025aa8dbe54f5ca492d8f858fdeb9ba3d9
+DIST genpatches-5.15-108.base.tar.xz 4254892 BLAKE2B 9c13ebe3e3bec8bd90260432b8cfdcebbdbdeeb00d74a852a4dfc97fbcb3358c581ec38f50e03e1426c0d81afe469618015486f3edcf0d2fd4a3a7b31ab59f75 SHA512 2f259065760edb240ddbc43634f8db2e7cd6e399a2d3afa3e2f49219152e255c58a30ef27562e9b0ffb380f40fac16b327bf261be741ec851d3c2d562626ed5d
+DIST genpatches-5.15-108.extras.tar.xz 3928 BLAKE2B 544d4db829812206b568ef6167907b94515c69b2082954c1e842180f29b58792369bb40e1f62e6c882f9f6a805eba82cbd69ddcf0c1b8c11208f9013e68386ba SHA512 9006fedf585cafb238b0597b3892b549a4574d4188c1f8d2773dcb84ea62bb1511071a8649191a41f07132c74ada13f2753b23f72ff957899d0c7fbd3c1c4cb5
DIST genpatches-5.15-98.base.tar.xz 4003192 BLAKE2B 79d4fb60a5192137571109ffaefdfba23ac589102539cdde89046f627f39e65a52a44a83607232b499509b8bb4c341e2fd26ae971587c9574d4ac87d8b220893 SHA512 946a7638d19d5fd610075520e529a6c5a47aaa433b7986493f62571a7dc541278013a5006bf1e745496e4eb98de44af56f61d23679c139a719a8d5bc20c9e734
DIST genpatches-5.15-98.extras.tar.xz 3932 BLAKE2B 4e5dd4f8ba6d14764a6546cf7e64dffb3ddcc77678b7d96d2498917f30561792c904c635b0fce7191b7c0c65549fa769e89befffbea5e53a3cef64c673937c20 SHA512 337d95159432cba3b85511cf80c350a8a2f67c65b72a90b26ddc98c01d2d8de70d9b6067e0573c5c339a5bf64973d10c06b42001ee19a7add3d672e4577d0622
DIST genpatches-5.4-236.base.tar.xz 5467512 BLAKE2B 5c2ec5abee963eda0373e04d4f0da94d7e49b7a1fdc05f7a2f7cafba61771124503f1294289f79629afb62075855c176887f525a95a73bef4247b57915dd4877 SHA512 0a3ba2742ab21407ccc9060f37d528cdbe64dade85927aa1908613221973f14765a78ef6a71e157a71defcf1ee9158ffa1c2e7c082f508fc1140792e2311a073
@@ -44,6 +46,10 @@ DIST gentoo-kernel-5.15.102-1.amd64.gpkg.tar 69632000 BLAKE2B 7214665a176b2ae00d
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
DIST gentoo-kernel-5.15.102-1.x86.gpkg.tar 59176960 BLAKE2B 86ad78f9da70e7d59d9056f5ff6a50d93208551a7d836257807236cde2b19a372888ea11b4ca979e58378e9b384ce7d2c4171aa600500d864568c59a1977256e SHA512 a454a95fe5e42167cda1f61cfc9129e27834f78d59342aef1050a8ad92571438d638aeb554b937ee44e9f03278698582eac6c641f57d856fe74e33c0ce2b944a
+DIST gentoo-kernel-5.15.103-1.amd64.gpkg.tar 69632000 BLAKE2B 868bfe44cb45e1631f8a58dcac7e97cbdc7481c28a43fd7d01352e60c8731a076ed6675db4988cfa561566a64d80c835c4c8aa6eaba7fe02e10b7ca64da3f83a SHA512 bf3135ab9d7c90ca3b203ee39c7719c2c92f7cd16d1abf2c568e2fd6f467808d9ee952abb51af6dd840acecdb723228460527f319ae5128ded99ae6db3fd9ce9
+DIST gentoo-kernel-5.15.103-1.arm64.gpkg.tar 62576640 BLAKE2B 44a4c1e32cb409d3a8df8e40c3714634558187b4cf197513e1fce46293c463c36fcf2c39134309d425e5f14135af36c3e8e6d4796c0f44d3b28e7792f94892d9 SHA512 dbab04ae6b9ff38a76f15fdf96aa4bb50ddca7a27f70cf648d73f2073cb939bc8cc89bdacbe8c96cd0ab58e0eb469cc082ceb80110a390ca4d6d0979f29a5d14
+DIST gentoo-kernel-5.15.103-1.ppc64le.gpkg.tar 57108480 BLAKE2B 4d4dca697f57858dde3b136f1a86995f98786e50b60a9ae7a808156f7c31209c70a75847bea6714e395d4de5a2bdc9dc60283e118cbe266644e6f0ce1cf6cfad SHA512 df583612064b049391cdecd2b57c642786bb7759580c3a2f89c02a9847fdd0c0ba2b9305af8a7ae15ce2fadc608ec072efc781cf73c7de201d8f6d3a7288d295
+DIST gentoo-kernel-5.15.103-1.x86.gpkg.tar 59176960 BLAKE2B 5a310c42fcfd81fd0ad4630dc0aca2623966176833e47bbe448234c6289ab22b3973373f6d28ddcf2fe8721965ef3979bdc9da268f348288fe6ff6efc764bd98 SHA512 d624ab43f9f79b620d34591051749293ff03ebd2aa218f60552bdece75fcd7038c0e5f61f8f8d7d8ac72fb3b9506df0b7fa1caf24b85fb4a1f23aa9d5941fb90
DIST gentoo-kernel-5.15.94-1.amd64.gpkg.tar 69591040 BLAKE2B d8659c0584ae851b05d933fed2a94f05eb8c93591b07ae77b8160d397fcf69d2ea8819cbdeecd294d3238377a4450789c653012a9e50223ab98aa5a229a98f11 SHA512 72bdc70aa6c8e51b1896b5872d9bea372305866509a34fc4ac99cd88b01d191041d02c18a0499b03d119b79499825eb97d105460968ac96848274b8fb8175f13
DIST gentoo-kernel-5.15.94-1.arm64.gpkg.tar 62556160 BLAKE2B fc2122980f798c1313913adf8a28436906ccdd7bb565166ffc5039fa66360b2a7ff1c2e97d579c85cce4dfa6fb471f92d973991998fd4b2a2637adda55130921 SHA512 9f8566bba0bde6ede619a9379e8acae7d3cb1364c888509755cabf0c64daaf3d93ff0085102a2301b0d5c38aceed44e609947099ea9d9d32edb1f04e3b0ae54f
DIST gentoo-kernel-5.15.94-1.ppc64le.gpkg.tar 57088000 BLAKE2B c5533a6a4842a765346270addc6ff1590ad60ac5df94be8ac0b3209098ee058e09d54d61d8c639bc09e652cb38b179257b62eb33343adad53d5c7d076c5b852e SHA512 4c4385f4b4a2776e67c95d1be5f59c1f00e312dcab740a07344a9118716f574f97064032c93e7b1c4ef97b9ce29efcfbae598297674f4768c09b787b5630db4e
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.103.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.103.ebuild
new file mode 100644
index 000000000000..64a82c2b8323
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.103.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=${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
+}