DIST gentoo-kernel-5.5.16-1.x86.xpak 57186303 BLAKE2B b2b273eee9eb72f3c8b307b6dcc2c300e03d1e34fc81ac1e000c551570151bf0cbcfff11fdcc5c0e9c0604a271440873ff021b3cc474567d951fc8c90a533ece SHA512 a73662df9c23244efc85942c33fb5d0082541d1a453152184fe7294599800de5bfaa2a08460a6fbeacf00892f7d5e42b247f21c8a966d07b3f36b64e08e60417
DIST gentoo-kernel-5.5.17-1.amd64.xpak 65809449 BLAKE2B 9b60907febf109b33d82ec3e8fd44e9856c3e5b0876f964e3043fc2d6d64fac45124b5f2155ad5d5b58ef1013128bfd69ee7aebf036f94bcd8a407f898b8f051 SHA512 11b0d3767baef687c8fa6801fd3c1d8cd62b5ab2cddb63203995c1f40589c2b913452b855721a8239f3742d55cf4decd22fb0580da9150529a2295bddf5f2f8b
DIST gentoo-kernel-5.5.17-1.x86.xpak 57180183 BLAKE2B 0028ec2b22a7566ff0b5e33bfec3487aeefae8f66f70192707e033ee2afc9309abf3e522770f121a1f33d8586503cc18f2bd634697bedcd4c6d9c05ae7fcffd1 SHA512 3ee097588e98fc44e5540a74cca9ec4841ae24bb4ca712bc2e927ea1a7ba2198b19938f455d4d5536999afd44b443684b8ce755fdb200ab1acc1ac2d87415169
+DIST gentoo-kernel-5.5.18-1.amd64.xpak 65811416 BLAKE2B 2ca9f5e6d811ef025b160b79d560859dcedf1ef3857466b3508c55ff00279e8f339d6fa956446dbe2bcd3c98ebcb788b4676e9958442c26f7cf835ef3343b185 SHA512 bb8e3c65ed0cc68cfadd7fbb5f8281f3d540fad16eb56031438f77d48a6a3257ce9e1c8e99f20ab557b8b709e8e3dec07b7944bd22324f730438cc0cfef0bd36
+DIST gentoo-kernel-5.5.18-1.x86.xpak 57173324 BLAKE2B a4e1e43bddfc7e33db3da3b0ba408b8fcb4a303f25b5e4605e72243c27a3c119eee8a2eb420a44b52b6ff33900ae41b0e38c444d4b26ceebe9e4cc7b06feb9e2 SHA512 efa0ea5f616a7ce442955c0797a9e267bffe6ab011458b27b2ff0e6b5fe7b240ff756613be02b83efc6008d2f92c3c906175a38d25dd8516accee2a61b6cead9
DIST gentoo-kernel-5.6.4-1.amd64.xpak 66132806 BLAKE2B e79755e30da8acabd7929e37c922ee1311d5011fa2d18958627108a6e89e5d15ef2643ace4dba6683788c7a9b900a04fbb3354304a9fa0648ceca5678b54c713 SHA512 6facb0786507c10996aa89f83077da6fb345a9b3317627c8dec3d4aa5e871e350fdb1dd2fd477dfc1ca0f869ec0c30b2ca51ccff844b44a25e54478785ceab3c
DIST gentoo-kernel-5.6.4-1.x86.xpak 57506783 BLAKE2B 02f398db8b00bcfa901c87dd446ec5c53f40a00dbde4d8ac5f775b127f1d75231018d63bab6baecc9e4c4409cee6a21f2ea1bc672b846240fc8e93a0347bd523 SHA512 f9468a5fe9676da9952809bb2a808abfe6109585d9341de94fc7965d835749d59e224953a70be7fc7eb8e8a2a8858a62edbc66eda04fb4110e13c13cbb6be239
DIST tinycorelinux-10.1-amd64.qcow2 16842752 BLAKE2B e013e76503c335739a9623c0901ca791937a0e6b177854535cadec1e2c2cd2df588283ed3128cf652595f32264fbfe5b3bd3a8c97665fd4da344e308535be366 SHA512 c3aeb20ff8769da9211694b7f701907cc7ae7582cdfad2c2fdc008d97ebcbd9dc08245b4e8f8450e1cb304bd705345a11fe79f901a47979fee91443841d55641
--- /dev/null
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit kernel-install
+
+MY_P=${P/-bin/}-1
+DESCRIPTION="Pre-built Linux kernel with genpatches"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI+="
+ amd64? (
+ https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${MY_P}.xpak
+ -> ${MY_P}.amd64.xpak
+ )
+ x86? (
+ https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${MY_P}.xpak
+ -> ${MY_P}.x86.xpak
+ )"
+S=${WORKDIR}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ !sys-kernel/gentoo-kernel:${SLOT}
+ !sys-kernel/vanilla-kernel:${SLOT}
+ !sys-kernel/vanilla-kernel-bin:${SLOT}"
+
+QA_PREBUILT='*'
+
+src_unpack() {
+ ebegin "Unpacking ${MY_P}.${ARCH}.xpak"
+ tar -x < <(xz -c -d --single-stream "${DISTDIR}/${MY_P}.${ARCH}.xpak")
+ eend ${?} || die "Unpacking ${MY_P} failed"
+}
+
+src_test() {
+ kernel-install_test "${PV}" \
+ "${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \
+ "lib/modules/${PV}"
+}
+
+src_install() {
+ mv * "${ED}" || die
+}