summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/Manifest.gzbin4419 -> 4417 bytes
-rw-r--r--sys-kernel/gentoo-kernel-bin/Manifest7
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.217.ebuild127
-rw-r--r--sys-kernel/gentoo-kernel/Manifest3
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-5.4.217.ebuild100
-rw-r--r--sys-kernel/vanilla-kernel/Manifest3
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-5.4.217.ebuild108
7 files changed, 348 insertions, 0 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz
index 20b9d5239d8c..d49acf751cfe 100644
--- a/sys-kernel/Manifest.gz
+++ b/sys-kernel/Manifest.gz
Binary files differ
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index d75ae4563d40..38d36b79586d 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -38,6 +38,8 @@ DIST genpatches-5.4-220.base.tar.xz 5083772 BLAKE2B 643bbad38a1dc2d6140db59f2e74
DIST genpatches-5.4-220.extras.tar.xz 1812 BLAKE2B 59356642113a6ea0d2756a317a1a02fe375ca4bd1efd70ae0ca5093eea05bb00af062f945db1719be3eba11b358e80fe7764aa8e62df1d3259d6ac1ea2b95152 SHA512 b9ba7d70b577367316f0c9721e0783798f5c2c023eb3ccb9f95907963c79963b72a65338674bed7ddba3fc75cf10e330a4ae6a90f0ea788aa15f3ec1a042850f
DIST genpatches-5.4-221.base.tar.xz 5091000 BLAKE2B ec89ca0a2c657c41784df399249da24f09a3aa08592815e17750365e09e49a7980163f27e2364f49edf35be7ccb80ec123d99693e1207f9d1561ae54687a1daa SHA512 0abb4f2fdb5e9211b83d5658fb55b62b3fd9dd93adc2c38e158c3edb6018f5daa0fe7fff3ef60b971d3307c4f1954d50c03172cfeff90643caab051863a58b74
DIST genpatches-5.4-221.extras.tar.xz 1812 BLAKE2B cf6270b24135f9b56a82547584a500d360cf0574030028f25af975951e5e3c991700977029d2a83190465e797eb27763885f3a0101483e3ac504927346cbf040 SHA512 b5925915b82583eb384a716d486dc5bf1562a08c7ddea932a583d69714a9c359d868993b564c0a98a0ed472c761449fba2e54cf7c4e84f250e55bdb07da4c1a4
+DIST genpatches-5.4-222.base.tar.xz 5109388 BLAKE2B 7897cb44b41e0b360d17b9a7cf3295682fc6c2c6173cea8b08814b6ded54d7c6aec24b51f01912769f35774176d5a89b2fe401bbb09e92890e28e491027f9426 SHA512 e4a4dd2a5f045c0ba56168deb4e557788a42f0db3420790b5103b074d297fdbb417251d6c1eafb0e30eca1b143b2391ab091f6fc5973c4a592a832c4eb338149
+DIST genpatches-5.4-222.extras.tar.xz 1812 BLAKE2B 4c5cff34d2bd8efafaaaedfe875efbda02af2903eaef2d536cd34ae953332da58944d39aa18f7d241479e93c202f9260d3a285ffafde05674709ce9c3d2f91e0 SHA512 338a0654961366814e2c6615b963fa9cbe83e71e01ca92744497997b41edb71d5a1c849be16e18d45b69d71a86f9b4cb53cbcc6af3d70b52ba29982e047a7d28
DIST gentoo-kernel-5.10.143-1.amd64.xpak 67552763 BLAKE2B 372669a3357d82120996ada13a80bc0d5e82f9449554e8f59b7cc15015606da057ebf1cdebd47aa71916a01f8ea0b2ac51cd1e6e3ec59022b6a977b943205ebb SHA512 b95525319247dab78af7561a087619e32f20457136fb75082c2053c675c2f9972967830a8f06cd5ef5878bcc450ff54e56eca9f9784c64f54f9ec7dcf452dc62
DIST gentoo-kernel-5.10.143-1.arm64.xpak 60975781 BLAKE2B 611cdeac6eca2c34a2535c4516be7d585a780571a0cae4f4e23bbc5cbaf3b3dfec37b6c416d6edeb88c219ff3610127323d8b42923b8b3a9835f1f84224aaaaf SHA512 36c4d474d4af8b36f2b3c9f2995621bee4defcd550cdcb64420a7fd02a2864ddfd18962c081abe2892885ef0915a1c36fb729a2dc3f397d1deae3846d6c3c056
DIST gentoo-kernel-5.10.143-1.ppc64le.xpak 55999532 BLAKE2B 5ad3e1bdfe807c5cd792d35722346c811613bd164616ad338996e5303f61ac65e94eac1752efa47fa7f42795879c4a230c2f0e4ee13f49803a83a9a636376b9d SHA512 0327bc9fb10f191ff7da798d549ad9e3b364102530cae53f85aec6eb2b14d0a7ec68444a481f329658bd6e5cf507db965fd5598490a40871a674f2e763f057a1
@@ -118,6 +120,10 @@ DIST gentoo-kernel-5.4.216-1.amd64.gpkg.tar 60600320 BLAKE2B a9957adad42e97025c1
DIST gentoo-kernel-5.4.216-1.arm64.gpkg.tar 56801280 BLAKE2B b1dceb6a1833f9f9a1a6a8f36eb1cb974a9e31ecff1c181cf73d790d1419af410643bc75f0e1035aa37758e6f822b66990732910825ecda999c045224bacd15a SHA512 9519cfcfbd1b860049b646c8a9d90709874dee63870d2f83d47692b6cde84de2ff1e22ad468e4746b30276df37dde02cb4533e7887047334064015166d85ff27
DIST gentoo-kernel-5.4.216-1.ppc64le.gpkg.tar 54323200 BLAKE2B 76f3a502249eb6fb9148a1eabfe2336c950ed71a2cb9ddadb4c44e1844c87874e2955da413e030d296d71fa5af0d2c277c28fc247d9d6b69adbc2444d6e0e310 SHA512 23201b50d239be7705ca3add3ba7e1363efd1a04e3d2c2f499d9d0144ac22499251a34c2c8b36f54b94809a49361730136bfa75f58c581b0a4f3ac0f1bafe3b9
DIST gentoo-kernel-5.4.216-1.x86.gpkg.tar 52367360 BLAKE2B a1165e37ec924441449d24496c1bb1a456cad7113afdf5e77fe4a5927e446d140aed999b029353d217859e0bb7018ede1a215b6b3cccc31182e61b450b908d8f SHA512 709c4ead340bf9f767268870c25e78bb99f1857d906ce9ae2a614716a4dea8b8b4f1e588b3a352d179e9fe145b18a2677c4223d2d374ca75139682c71b5d008a
+DIST gentoo-kernel-5.4.217-1.amd64.gpkg.tar 60569600 BLAKE2B 88fab71286addfb98202e2faa8ac97061ee99c8c3d41234ccc03a671e1e14aa571cc64a7c789463d849b0860709d353582037d476d35897884c867a6e3741ea0 SHA512 13f4d13bffdfa684108bdf7240b61877e31d33cda53f4467e97a5320eb6558f5ee5a71ba42585025bc822f1278c882dfbaf49c29d995a5973d00fb4b00d5548e
+DIST gentoo-kernel-5.4.217-1.arm64.gpkg.tar 56801280 BLAKE2B a45bc6ef4e93ea72fa11b5d608219550e3f0b9121602b43fbf994cbc3163baa5482db73bf11dcd88800b179134d54be0fe66dae0f3710e859d0953425320563c SHA512 328cbc57374b39dfec097248591bf570be64bde3334c8577f15c13585f73459b4e326b6fe9978f4cc3fb2c4825a22245d48b68b7d56fbd3473d42f9501f378f4
+DIST gentoo-kernel-5.4.217-1.ppc64le.gpkg.tar 54343680 BLAKE2B 7d8d824fe09df2cf0fcb58690369a6b846d606a450771796d3e6eed487e806f511faed8d4194100543524d170f2bb7601a0fab6ed919cbca5f3b1c43bdf2fe81 SHA512 698a1248318adc9c4b7284b5273aefef884c42306b410a56904bb7780fe3190368c81111f3c66bb82418bcfb6da48bba527d5d12ee08725c5a2b3c304dedf58f
+DIST gentoo-kernel-5.4.217-1.x86.gpkg.tar 52367360 BLAKE2B 16b5c321d2c2263b34e700fd5272d50039999b3bd79194e15c38f5e28110ae6e19c73c96cf0c5fbd8405ead11fb0515f6bbb984515e67835462c7a0fd391ef4d SHA512 0f839a3fe918f68b9fa9b9f8384c4a083d20d3339d821c36ce217dfd904755ab9144c974dc05e25ce08129610c79c06cfc0d9d0b13533c0cdd604c65711f267e
DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e
DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a
DIST linux-5.19.tar.xz 131581464 BLAKE2B 4db03a6830a3b3bbf0837e1912182a443d9a4aa8af20a12e6ec814ed708038452d3c0ccee1258cca671c464d76461536363a8adc56e9d098c9a44ae3484a297a SHA512 00313b2f9b82d2dc3fb8294007cf7d7599d254b717ed2de23c81fa7a1bbcbc2798ad286cb94e2f7f5bd54132d1d764facd90d30f79dbcc6616cc7f926adc2623
@@ -142,4 +148,5 @@ EBUILD gentoo-kernel-bin-5.4.213.ebuild 3177 BLAKE2B f350a93f053d7b61eecfd1a796a
EBUILD gentoo-kernel-bin-5.4.214.ebuild 2999 BLAKE2B be5c5e139ee4da605dd15cf02c6251a762426d0da46ac2b75d46b79226e7c41c57429ed847e2e646735545fee33cb7ac45d62039158c0004380197255477be12 SHA512 b0ee61606614ca61b655b50a578efefd7fb49437014df935c4ea312ab1257dc415425684a05c6dac1e5dbeac5b1eac81071bf7cae4fec7bd68f8cae985b1c969
EBUILD gentoo-kernel-bin-5.4.215.ebuild 3003 BLAKE2B 1f0a5c41743dd23f46541394f5afa07a6cbb1c212f0fd8ef0a04ee69133fedd983513683c8668cf04e100d91907f994df1e2b132dfb13e6f9d610f52ab5afd8c SHA512 8e0a773951040347aa49a20ae9f8b3df4b6cf3cddbb01e31ce7dc256f6ebcddeae63413b9114f568ea96cac023d2f5af627b0a0360fa1037cdb011df52ae2233
EBUILD gentoo-kernel-bin-5.4.216.ebuild 3003 BLAKE2B 1f0a5c41743dd23f46541394f5afa07a6cbb1c212f0fd8ef0a04ee69133fedd983513683c8668cf04e100d91907f994df1e2b132dfb13e6f9d610f52ab5afd8c SHA512 8e0a773951040347aa49a20ae9f8b3df4b6cf3cddbb01e31ce7dc256f6ebcddeae63413b9114f568ea96cac023d2f5af627b0a0360fa1037cdb011df52ae2233
+EBUILD gentoo-kernel-bin-5.4.217.ebuild 3003 BLAKE2B 1f0a5c41743dd23f46541394f5afa07a6cbb1c212f0fd8ef0a04ee69133fedd983513683c8668cf04e100d91907f994df1e2b132dfb13e6f9d610f52ab5afd8c SHA512 8e0a773951040347aa49a20ae9f8b3df4b6cf3cddbb01e31ce7dc256f6ebcddeae63413b9114f568ea96cac023d2f5af627b0a0360fa1037cdb011df52ae2233
MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.217.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.217.ebuild
new file mode 100644
index 000000000000..7c3bf64cd0e3
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.217.ebuild
@@ -0,0 +1,127 @@
+# Copyright 2020-2022 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
+ virtual/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 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
+}
diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest
index 286f0630a3de..049ac20cc7ce 100644
--- a/sys-kernel/gentoo-kernel/Manifest
+++ b/sys-kernel/gentoo-kernel/Manifest
@@ -38,6 +38,8 @@ DIST genpatches-5.4-220.base.tar.xz 5083772 BLAKE2B 643bbad38a1dc2d6140db59f2e74
DIST genpatches-5.4-220.extras.tar.xz 1812 BLAKE2B 59356642113a6ea0d2756a317a1a02fe375ca4bd1efd70ae0ca5093eea05bb00af062f945db1719be3eba11b358e80fe7764aa8e62df1d3259d6ac1ea2b95152 SHA512 b9ba7d70b577367316f0c9721e0783798f5c2c023eb3ccb9f95907963c79963b72a65338674bed7ddba3fc75cf10e330a4ae6a90f0ea788aa15f3ec1a042850f
DIST genpatches-5.4-221.base.tar.xz 5091000 BLAKE2B ec89ca0a2c657c41784df399249da24f09a3aa08592815e17750365e09e49a7980163f27e2364f49edf35be7ccb80ec123d99693e1207f9d1561ae54687a1daa SHA512 0abb4f2fdb5e9211b83d5658fb55b62b3fd9dd93adc2c38e158c3edb6018f5daa0fe7fff3ef60b971d3307c4f1954d50c03172cfeff90643caab051863a58b74
DIST genpatches-5.4-221.extras.tar.xz 1812 BLAKE2B cf6270b24135f9b56a82547584a500d360cf0574030028f25af975951e5e3c991700977029d2a83190465e797eb27763885f3a0101483e3ac504927346cbf040 SHA512 b5925915b82583eb384a716d486dc5bf1562a08c7ddea932a583d69714a9c359d868993b564c0a98a0ed472c761449fba2e54cf7c4e84f250e55bdb07da4c1a4
+DIST genpatches-5.4-222.base.tar.xz 5109388 BLAKE2B 7897cb44b41e0b360d17b9a7cf3295682fc6c2c6173cea8b08814b6ded54d7c6aec24b51f01912769f35774176d5a89b2fe401bbb09e92890e28e491027f9426 SHA512 e4a4dd2a5f045c0ba56168deb4e557788a42f0db3420790b5103b074d297fdbb417251d6c1eafb0e30eca1b143b2391ab091f6fc5973c4a592a832c4eb338149
+DIST genpatches-5.4-222.extras.tar.xz 1812 BLAKE2B 4c5cff34d2bd8efafaaaedfe875efbda02af2903eaef2d536cd34ae953332da58944d39aa18f7d241479e93c202f9260d3a285ffafde05674709ce9c3d2f91e0 SHA512 338a0654961366814e2c6615b963fa9cbe83e71e01ca92744497997b41edb71d5a1c849be16e18d45b69d71a86f9b4cb53cbcc6af3d70b52ba29982e047a7d28
DIST gentoo-kernel-config-g1.tar.gz 4283 BLAKE2B 44dd51ec45ebc71bffcd6d85a2fefba053f7bce8035057f0bbe928e24816ad4ba03c9bf67dcfcd6d6d1833c0a2ea93e0fd486c2093664dc41ccce316e1e60588 SHA512 3a45f28df9d457df0fe0d185da8b10f4e35f49dad75075e041e8cf3cf6972fecc8145cd557b0bf3a8dea20ddffae0194f88e61c1e5098fa0a5ca301d40aeea2e
DIST gentoo-kernel-config-g2.tar.gz 4359 BLAKE2B 965392fb5b3c1290c596d3e8593cfcf54e76cedd47de335c1b9658c1b35649af18a94639bf3df84507c797e6d7ea074f7f2a2579d2d01073478b30a4f167b2aa SHA512 d1bdef2e817799fcebbcdae1f3b1666f8ca70b0d5adca74014dd665f6b02c81b839220d8fe3794ea1202e1f2589d281344699864207c98b95d23a1d1f03bd42d
DIST gentoo-kernel-config-g3.tar.gz 4411 BLAKE2B 00edc4b5dc943834bc7ee977382b2960160888db00a25c5a7f73968784aa39a2b3b69f0bbda89b3ce8eb55e746006cff2839481493ac8bfca6a21de2299564f7 SHA512 44beae869bebf5445655dafe1facc47c3dbe602b34c5bf2fa984a581bfe3250fa0df908b8807c333c2e66ab9d1a2bb8026e22140f2a1f522d0dd647c96ca4d5e
@@ -85,4 +87,5 @@ EBUILD gentoo-kernel-5.4.213.ebuild 2799 BLAKE2B 925a58a4afcb3c66f5179e8e5c23912
EBUILD gentoo-kernel-5.4.214.ebuild 2799 BLAKE2B 925a58a4afcb3c66f5179e8e5c23912332e7a1025ecd9d77b7d53cb89b25482c3dbf136b0340ecbbc4bd1430599302e5537d7a9e9e0314b5bbec1f9b98e76166 SHA512 4d67a306017b4741452ebbe3d0be3f29cffb0debc69bc2a605c6298d730c19a908ce8aca41a30888d9015f1330b9b6a4f5ba518714df41daf17900e8f29ddd44
EBUILD gentoo-kernel-5.4.215.ebuild 2803 BLAKE2B b7562ff0061430bc6bc4978000cf3910f77d677262c29b1049d7cc9945f97319fcdc590a718ada8b6d51e7f84e2ba4956b37e770b4a6f933845889f32fe70d8e SHA512 3c00eea38ddeb1a18b6e1a57e0b6043835817e64635fec81928590f7833102265ba4db2c5783e218a284cbfdc7061a9e43da2ebc7fb34e3c5c0378a18ce41d81
EBUILD gentoo-kernel-5.4.216.ebuild 2803 BLAKE2B b7562ff0061430bc6bc4978000cf3910f77d677262c29b1049d7cc9945f97319fcdc590a718ada8b6d51e7f84e2ba4956b37e770b4a6f933845889f32fe70d8e SHA512 3c00eea38ddeb1a18b6e1a57e0b6043835817e64635fec81928590f7833102265ba4db2c5783e218a284cbfdc7061a9e43da2ebc7fb34e3c5c0378a18ce41d81
+EBUILD gentoo-kernel-5.4.217.ebuild 2803 BLAKE2B b7562ff0061430bc6bc4978000cf3910f77d677262c29b1049d7cc9945f97319fcdc590a718ada8b6d51e7f84e2ba4956b37e770b4a6f933845889f32fe70d8e SHA512 3c00eea38ddeb1a18b6e1a57e0b6043835817e64635fec81928590f7833102265ba4db2c5783e218a284cbfdc7061a9e43da2ebc7fb34e3c5c0378a18ce41d81
MISC metadata.xml 465 BLAKE2B ea1260a1638588a48d9dd776e9eabd9730a181af8416ba778c936fa2e80a2360be146d3cc80599e50e0a72ac709eb9538184aac87cb96528e445ed450e34f4af SHA512 c7b7b1a45fb7082b8d8d66cf5a387cc4f7207cd9488d1d5e1d6900f1e4147aa9290b5522a94d941a885f1599b5df2482b529e40912d2b2cff400ecd4b1704c41
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.217.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.217.ebuild
new file mode 100644
index 000000000000..5fa543cace37
--- /dev/null
+++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.217.ebuild
@@ -0,0 +1,100 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit kernel-build
+
+MY_P=linux-${PV%.*}
+GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 5 ))
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
+CONFIG_VER=5.4.21
+CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea
+GENTOO_CONFIG_VER=g1
+
+DESCRIPTION="Linux kernel built 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
+ https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
+ -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
+ amd64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config
+ -> kernel-x86_64.config.${CONFIG_VER}
+ )
+ arm64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config
+ -> kernel-aarch64.config.${CONFIG_VER}
+ )
+ ppc64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le.config
+ -> kernel-ppc64le.config.${CONFIG_VER}
+ )
+ x86? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config
+ -> kernel-i686.config.${CONFIG_VER}
+ )
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+ !sys-kernel/gentoo-kernel-bin:${SLOT}
+"
+BDEPEND="
+ debug? ( dev-util/pahole )
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+
+src_prepare() {
+ local PATCHES=(
+ # meh, genpatches have no directory
+ "${WORKDIR}"/*.patch
+ )
+ default
+
+ # prepare the default config
+ case ${ARCH} in
+ amd64)
+ cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die
+ ;;
+ arm64)
+ cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die
+ ;;
+ ppc)
+ # assume powermac/powerbook defconfig
+ # we still package.use.force savedconfig
+ cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
+ ;;
+ ppc64)
+ cp "${DISTDIR}/kernel-ppc64le.config.${CONFIG_VER}" .config || die
+ ;;
+ x86)
+ cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die
+ ;;
+ *)
+ die "Unsupported arch ${ARCH}"
+ ;;
+ esac
+
+ echo 'CONFIG_LOCALVERSION="-gentoo-dist"' > "${T}"/version.config || die
+ local merge_configs=(
+ "${T}"/version.config
+ "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/base.config
+ )
+ use debug || merge_configs+=(
+ "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/no-debug.config
+ )
+ [[ ${ARCH} == x86 ]] && merge_configs+=(
+ "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/32-bit.config
+ )
+
+ kernel-build_merge_configs "${merge_configs[@]}"
+}
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest
index 4f0384731350..f2b5886c5e28 100644
--- a/sys-kernel/vanilla-kernel/Manifest
+++ b/sys-kernel/vanilla-kernel/Manifest
@@ -61,6 +61,8 @@ DIST linux-5.4.215.tar.sign 991 BLAKE2B eafcd50885b0888c019d57903c51de5af1cb4ef3
DIST linux-5.4.215.tar.xz 112958164 BLAKE2B b5fb506c2982ef5d4f8d48a8a7a9c715ef47a55684222a33b77c5388169e3094cefb1384d0f16967cf45752e0442ef2c6a02b2f690a48654090c6e2840b61f07 SHA512 dc0d751b2b58ca63ad84df52e4a53fafce60c4ffb5ac7380d87eb89606b587de73b651cd246ef2c81b39136195b0022a441fd7984e6a3782b75e6ef6c632962e
DIST linux-5.4.216.tar.sign 991 BLAKE2B d6b6336720522fcb677e4af4586abd072f668bbf2d1c64eb3ef1d5c7749f9bc2bcee65353acfb7ded46d819840b7b1fdd38c728d5dcab064b60e22521237b359 SHA512 d4f7d808ebc705f6f9423ca18cc902fcebd7566526106295f5a9804f647c1000345f222456c49d77e0421f867a8775888748d94929655db38c715f2958fbb48f
DIST linux-5.4.216.tar.xz 112946116 BLAKE2B d1ad81747b1401822c1d4d9fb428134ae6041bfeb9f876f023b59e87aff57527f11eed28caf08348ba4493cd67649cbc239766395e6555362a980ebde197afc2 SHA512 e916237be6a237477e82dfac689614b4e31680412e886ca16a1740141a69daa10e2d9adbefdda34f10f93343828033873b6793debeb317ee5e43417d1cd7eb85
+DIST linux-5.4.217.tar.sign 991 BLAKE2B e013f0bdc76cd45a30b9868daffea48537cf6c11479cf1622cf062f52400b4c9b02aa7f963ec7f8d977c32a012d2d99cb8c78e7c07f165b4479b5f4c306ae70e SHA512 99e380d449b8005c721d6150b42f8424a4b034ed61c21c3c6c5dd488f42837d064690e448c3ea03aa08928597602605b560d629d44bac44f09b67f129b7e4866
+DIST linux-5.4.217.tar.xz 112963732 BLAKE2B 42e028707aaee1526e5d608173206c386bc02c130410a7127efe7b97a3af8dc98ddb25688cc894df2c1124b81924471a764202d53a35b4177beafef21396fe68 SHA512 f2f7c0843f73dad58d00a283327bbf1aa4c103db7b8b7060ab58013e084601a4603632d6e43a4ea2d2958a5ae20fcafa6b5ae14a11da00b4185028b50c427909
EBUILD vanilla-kernel-5.10.143.ebuild 3715 BLAKE2B 43376b8725a469a9f7e98e105b2e7617ee5c663b367b096292bd58e9b66905d1d40a8325714668ba3e04bf1d21d809950198aefab7b63b152c685f08b9bc497f SHA512 4bffc17a9a76ce0fd938ddd272587a294719262af38165686bafaa48a7a543068817b0b5136365e512a0f141bad06d545ded287786afb89df3bcd253280f30ff
EBUILD vanilla-kernel-5.10.144.ebuild 3715 BLAKE2B 43376b8725a469a9f7e98e105b2e7617ee5c663b367b096292bd58e9b66905d1d40a8325714668ba3e04bf1d21d809950198aefab7b63b152c685f08b9bc497f SHA512 4bffc17a9a76ce0fd938ddd272587a294719262af38165686bafaa48a7a543068817b0b5136365e512a0f141bad06d545ded287786afb89df3bcd253280f30ff
EBUILD vanilla-kernel-5.10.145.ebuild 3715 BLAKE2B 43376b8725a469a9f7e98e105b2e7617ee5c663b367b096292bd58e9b66905d1d40a8325714668ba3e04bf1d21d809950198aefab7b63b152c685f08b9bc497f SHA512 4bffc17a9a76ce0fd938ddd272587a294719262af38165686bafaa48a7a543068817b0b5136365e512a0f141bad06d545ded287786afb89df3bcd253280f30ff
@@ -81,4 +83,5 @@ EBUILD vanilla-kernel-5.4.213.ebuild 3001 BLAKE2B 2327a3c19157c0658328235c8853a8
EBUILD vanilla-kernel-5.4.214.ebuild 3001 BLAKE2B 2327a3c19157c0658328235c8853a8806b7e10af269041a7ff1d3a8d7b3df4ef767ebf12829b57d32892d9795619e946a574b704004da55b6f8641e71d832e69 SHA512 5068ce6fb368e17c40629eedc4cf78a7a5b9ca50b102d0378fe0022eeaba14ef710da4f5b31c7021b013c7745fcf52c569bc0bb11c8cb3de038a6f150680edfd
EBUILD vanilla-kernel-5.4.215.ebuild 3001 BLAKE2B 2327a3c19157c0658328235c8853a8806b7e10af269041a7ff1d3a8d7b3df4ef767ebf12829b57d32892d9795619e946a574b704004da55b6f8641e71d832e69 SHA512 5068ce6fb368e17c40629eedc4cf78a7a5b9ca50b102d0378fe0022eeaba14ef710da4f5b31c7021b013c7745fcf52c569bc0bb11c8cb3de038a6f150680edfd
EBUILD vanilla-kernel-5.4.216.ebuild 3001 BLAKE2B 2327a3c19157c0658328235c8853a8806b7e10af269041a7ff1d3a8d7b3df4ef767ebf12829b57d32892d9795619e946a574b704004da55b6f8641e71d832e69 SHA512 5068ce6fb368e17c40629eedc4cf78a7a5b9ca50b102d0378fe0022eeaba14ef710da4f5b31c7021b013c7745fcf52c569bc0bb11c8cb3de038a6f150680edfd
+EBUILD vanilla-kernel-5.4.217.ebuild 3001 BLAKE2B 2327a3c19157c0658328235c8853a8806b7e10af269041a7ff1d3a8d7b3df4ef767ebf12829b57d32892d9795619e946a574b704004da55b6f8641e71d832e69 SHA512 5068ce6fb368e17c40629eedc4cf78a7a5b9ca50b102d0378fe0022eeaba14ef710da4f5b31c7021b013c7745fcf52c569bc0bb11c8cb3de038a6f150680edfd
MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.217.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.217.ebuild
new file mode 100644
index 000000000000..ae90752d5ab5
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.217.ebuild
@@ -0,0 +1,108 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit kernel-build verify-sig
+
+MY_P=linux-${PV}
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
+CONFIG_VER=5.4.21
+CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea
+GENTOO_CONFIG_VER=g1
+
+DESCRIPTION="Linux kernel built from vanilla upstream sources"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI+="
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
+ https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
+ -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
+ verify-sig? (
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign
+ )
+ amd64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config
+ -> kernel-x86_64.config.${CONFIG_VER}
+ )
+ arm64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config
+ -> kernel-aarch64.config.${CONFIG_VER}
+ )
+ ppc64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le.config
+ -> kernel-ppc64le.config.${CONFIG_VER}
+ )
+ x86? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config
+ -> kernel-i686.config.${CONFIG_VER}
+ )
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm64 ~ppc ~x86"
+IUSE="debug"
+
+BDEPEND="
+ debug? ( dev-util/pahole )
+ verify-sig? ( sec-keys/openpgp-keys-kernel )
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/kernel.org.asc
+
+src_unpack() {
+ if use verify-sig; then
+ einfo "Unpacking linux-${PV}.tar.xz ..."
+ verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \
+ < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x))
+ assert "Unpack failed"
+ unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz"
+ else
+ default
+ fi
+}
+
+src_prepare() {
+ default
+
+ # prepare the default config
+ case ${ARCH} in
+ amd64)
+ cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die
+ ;;
+ arm64)
+ cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die
+ ;;
+ ppc)
+ # assume powermac/powerbook defconfig
+ # we still package.use.force savedconfig
+ cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
+ ;;
+ ppc64)
+ cp "${DISTDIR}/kernel-ppc64le.config.${CONFIG_VER}" .config || die
+ ;;
+ x86)
+ cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die
+ ;;
+ *)
+ die "Unsupported arch ${ARCH}"
+ ;;
+ esac
+
+ echo 'CONFIG_LOCALVERSION="-dist"' > "${T}"/version.config || die
+ local merge_configs=(
+ "${T}"/version.config
+ "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/base.config
+ )
+ use debug || merge_configs+=(
+ "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/no-debug.config
+ )
+ [[ ${ARCH} == x86 ]] && merge_configs+=(
+ "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/32-bit.config
+ )
+
+ kernel-build_merge_configs "${merge_configs[@]}"
+}