summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-09-20 18:23:50 +0200
committerMichał Górny <mgorny@gentoo.org>2022-09-20 18:55:28 +0200
commitc646527a26c3b834edf675bcf85167cfb42e5c02 (patch)
tree2c0414c885a8af58369b442b4789423e0a3ad573 /sys-kernel
parentsys-kernel/gentoo-kernel-bin: Bump to 5.10.144 (diff)
downloadgentoo-c646527a26c3b834edf675bcf85167cfb42e5c02.tar.gz
gentoo-c646527a26c3b834edf675bcf85167cfb42e5c02.tar.bz2
gentoo-c646527a26c3b834edf675bcf85167cfb42e5c02.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.15.69
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.69.ebuild132
2 files changed, 138 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index 7c4ea967fc39..acb2a1b16f81 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -4,6 +4,8 @@ DIST genpatches-5.10-153.base.tar.xz 4142480 BLAKE2B 18d28cae57ea98f1ce9faf8e88a
DIST genpatches-5.10-153.extras.tar.xz 3868 BLAKE2B 4baa8ba350a6b0f02715d65646b00f24142e6c6be6a2270204b4e98ffbb3900b1a47bdfe741266013859b9119719c7b979e0035eb1bbfb154b39318727f56ca0 SHA512 b367c4dd3a3217d3d39a7e2f8850ed21fae2afaf508939b2da897f597f10b36a1a4375af20f07e305be0bbee89ae8787af3cc842562239af5c45430f2872cab9
DIST genpatches-5.15-72.base.tar.xz 2987972 BLAKE2B be108e6921f5a04605ab7c557e1ed50ce092a85eb36e6d60b4edc630457437eb89736dd992fb823522f3ca9c3ca530f3e437ad8f8b38a130bb56bc887070e1a5 SHA512 fdb5806584961dde27c7760ff4c20f6c7d08682bb998522a577dfa52a8fa021cea991c46db5efd1ab76e060e73bc38fb5728d0fae2c65f0846828c57779d6b39
DIST genpatches-5.15-72.extras.tar.xz 3932 BLAKE2B 00c700eb5307d1834977c88e134fc2bea16f258d6eb374e6cb6d85c522cbf1730d6e2e937e7abb392350de8aa3cff6811f5ac0d3b93822fbd9a43c20abb525c2 SHA512 a08ba388711c30d3c101ebbdfb671c63f85ce3d07ba4545c3b01b70687d65f31fd9a1afadecdc49f0d9b113c5596df878acebd425b868ffd9111a555d4ced47d
+DIST genpatches-5.15-73.base.tar.xz 2997804 BLAKE2B 8915a7983e7766c43e7e4fb91f38ba690e60df58fb8c7d6b5f833b21df459bf5949c35e510275c793f6987e70923cdfebde739f498ca16f772920e262f391172 SHA512 3859fc75041d4c7593104e158ecf833fb0ff07aedec5143623132114308d9c877a9f2a405d83cf442f0048c046c3fa3700f51ab836de448ecf2c7b4064630c61
+DIST genpatches-5.15-73.extras.tar.xz 3928 BLAKE2B df7fca514f8db011bc263a94cba0406c7b95d2befcdc2f50600b1e71fce6a4e7314624a4eda38ae2037f4eddfb6ca4873b407fd075ed4b5ce23bd326cd03c48f SHA512 d4d5562d77ee0419bd17e0f447c84977a3adcb598655ea42eef83ab5452555dca4e2dee2355cf834c215cb22b12c9ef809da80108375d3a3aed09fff852681f2
DIST genpatches-5.19-11.base.tar.xz 766852 BLAKE2B bc8fa5969dd4c75920a094b5135f60d728a36a431fb5213c338f6308761b7f8ce24e3991a2de70b7c2d87a9256cafa3b22db7c683e38fe10363b15043073092f SHA512 6cd414842f48d9ecf85e0f07fd930e526db089720efaf95916b8ec9394f458a6b1bf178c8e55d6ecf9a7ec5520cc43c50cf1248a8c3467ed069594123586ee1c
DIST genpatches-5.19-11.extras.tar.xz 3804 BLAKE2B 3186d10e8a31ca501f36ae3e7945acbba7a17cd7d006b51a7a4136d2c1064efb070fb7870f4b1959eb87456131608b5d31a91987c79f8720b267537a38643211 SHA512 10c4b7c51bf4a891ee04826df0da29096e31601126435bcde168f7c3d32416395844e03d3fd55b9b225c7c8dc0216ae8691705c53786f06e0350f6fb1ec03f69
DIST genpatches-5.4-218.base.tar.xz 5055868 BLAKE2B 2dde93f13540d5268d3855b6c4b57f3746badb0db68564bd9f0a5b80cf63138dfb77a1d60be7c9256a36a7685e90299a8e28690debe2e8bad9e23e2d31dbe470 SHA512 884f469ef288aedaa2e9271fce5cbce8254247b64cc4e4594fd176b62f65133910f8e50d2458f8c822db5683beb02316b71c71e69c71ae2331baafe1d421f347
@@ -22,6 +24,10 @@ DIST gentoo-kernel-5.15.68-1.amd64.xpak 70774051 BLAKE2B a7d9253fbe3df6a133835f3
DIST gentoo-kernel-5.15.68-1.arm64.xpak 64082577 BLAKE2B 55c448aa22f6d6e839750573578620123680c880113d72c71a6e28ec2863bc91a2219dbfed6a7feaf2c6ce68acc0b9f93f4ac7853249ebc6cc3ee7cc27c5b297 SHA512 6f4279972446066856da71def4c2c4e1c27650de2aefb012312afc52244db5f59c5dcbee514c6b8a5538869cfa8a6cd646ac52986438bfe904ed65d2955611ff
DIST gentoo-kernel-5.15.68-1.ppc64le.xpak 58282282 BLAKE2B ec060d2d7a544be9b304cc3602568d980bdd5f7adf7d10d93af646fed69d5f5e1df4a646630f8c46d661be30aa86c7fa6b4f2e218e463e8df9a8b0f50040d9ad SHA512 99f796989ea705f3eb04bd16fa1b7e4f10143da3d2a2b977d31052618304dd7d08a0d7b737462b6bb7035c200191ab1dc4d76393f920353d20ee2f82ada04d88
DIST gentoo-kernel-5.15.68-1.x86.xpak 60149317 BLAKE2B 034e24d8722790e7227c9743a9b4bfc491c5b953469369e82812700924499ce5a2bc52a6408af390dc68ef15a44cc332fb18442e01f2446f7c1464e6e66b8fea SHA512 4fd0e9c399f104d87ce7c599b716e13d3cdfe081e6946fa87b7ecee01dc76c6787eba9f94e5143d9ba4a7ad34755de65d6f6154b7ba4369c1260ddc9fe54e74c
+DIST gentoo-kernel-5.15.69-1.amd64.gpkg.tar 69795840 BLAKE2B a26e76f5d6da088432a11d312399bc190031508187eee831663d8b26559dda44a1416996e7a52393ab14246d0846eaf9ba503cccbf4e27f78e5b45f0240f2bf1 SHA512 7845cf46bccd3eb343be0eeb71ebcc13f9c94596cd307116c17c70fdc88979c6370d10aba33ffe6b7b66e830db98ad712a718e175cebf225b3e0358019a10aff
+DIST gentoo-kernel-5.15.69-1.arm64.gpkg.tar 62842880 BLAKE2B 36372df70a50e4e6f0bb663ccbc710144920befd3080cf2dbb1dec977b75cd643042baa23bddb632a38034875e6b591f776daa576daf112b784c513cbc393a82 SHA512 d0488bfa64b00a5bf1d5095ce8b6d63ca666e1e085ca8c6d24248b2da6cf929d81b8246997882c6f9e79227f6559f860a4534fe4109742d915b1e892bfc33f86
+DIST gentoo-kernel-5.15.69-1.ppc64le.gpkg.tar 57200640 BLAKE2B 50b87f1ba58cbf6ea4bc1f7e86b98bb9b49ff3381ec5ba9c91bba58a52d9a47423c9e324f9f6e653c4b002e20231b4675afbe5fbf52faab6296727877da75e85 SHA512 6b211e1d0a6df66f822ae09d6e502c8751077229110d683703cf76fef3bddb3fd3d6b4a553220ee765a38ae4aa2782edd9c8499c1d9efeabe9e4a43cbf14769b
+DIST gentoo-kernel-5.15.69-1.x86.gpkg.tar 59115520 BLAKE2B 97b2e54e0d022606d0362bc5cada56979944017debb4338fe4f25abc5e6a981bf69976f3a5c12e896e7df1b8a0737e123164dc85588d3adb7db1a515ef49fb13 SHA512 2d04116eef1b3211adef5e00519816517029ecf6a76a5074d9cda255c4bf1ffdac765c682c879c902b69c4bf897723908d697e484ce8412cf070f117a9f9e145
DIST gentoo-kernel-5.19.9-1.amd64.xpak 73581159 BLAKE2B 2b72273b9725d148489b3ebb1a1a80ef29f128bb1227d23bfc7c8c7dd73e91316e58ba9ce376c16207b58a3120588dd0af94ab563856d96253332d021137ccd4 SHA512 96cc7554c3864d5f45ee9046a34b862f18dca4526881da64065b66dc648d82d8d52b6f2509d5bd59f8a2d459453fb411620fc41cc2fa49b6f09a4daba37227bb
DIST gentoo-kernel-5.19.9-1.arm64.xpak 66339923 BLAKE2B 2093a85d5da03b8c750577ace9ae41190a4832d1b57eaeb4951c5477cbd3541cb9797eac55b83c4bc57186c1b64665b1ac804df5796164dee299b5f85e705208 SHA512 de57e458ea87ad53c7ad3c0d53476807efcdba6a8d30f63fbb723e86184f265b624eca718ac17c4e98d8fcbf125dc6c927dd8c252f14ede31d4465c4765025b7
DIST gentoo-kernel-5.19.9-1.ppc64le.xpak 59960822 BLAKE2B 9681186ca40ac321446d724240629c9c69d356561d45f4f79816cf7b0115b5bcbe9070bf172ee1b9fae11bbf68deccdff5e2e963f8fd0708bff1f83ed350b2c1 SHA512 66f079177df4c0a8cafed036b7cfa8b1287e0e4be61b43ef42f5deb591ab6cf5055f57c823791db61a7cb06f71c8b89a6eda371ed28bee13d71cab0173b1b8dc
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.69.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.69.ebuild
new file mode 100644
index 000000000000..e1d7752b26f1
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.69.ebuild
@@ -0,0 +1,132 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit kernel-install toolchain-funcs
+
+MY_P=linux-${PV%.*}
+GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 ))
+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
+ virtual/yacc
+"
+
+QA_PREBUILT='*'
+
+KV_LOCALVERSION='-gentoo-dist'
+KPV=${PV}${KV_LOCALVERSION}
+
+src_unpack() {
+ default
+ unpack "${BINPKG}"/image.tar.xz
+}
+
+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 "image/usr/src/linux-${KPV}/.config" modprep/ || die
+ emake -C "${MY_P}" "${makeargs[@]}" modules_prepare
+}
+
+src_test() {
+ kernel-install_test "${KPV}" \
+ "${WORKDIR}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \
+ "image/lib/modules/${KPV}"
+}
+
+src_install() {
+ mv image/{lib,usr} "${ED}"/ || die
+
+ # FIXME: requires proper mount-boot
+ if [[ -d boot/dtbs ]]; then
+ mv 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
+}