summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-kernel/vanilla-kernel-bin/Manifest2
-rw-r--r--sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.4.14.ebuild52
2 files changed, 54 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel-bin/Manifest b/sys-kernel/vanilla-kernel-bin/Manifest
index bfe34351a38a..06ae6b781074 100644
--- a/sys-kernel/vanilla-kernel-bin/Manifest
+++ b/sys-kernel/vanilla-kernel-bin/Manifest
@@ -6,3 +6,5 @@ DIST vanilla-kernel-5.4.12-1.amd64.xpak 64949751 BLAKE2B c65f58763ca58a21b0e8981
DIST vanilla-kernel-5.4.12-1.x86.xpak 56393584 BLAKE2B 89ebc921148a3cfd6950c4e6d8094c3a4c79f699ec4a911c440c16858ef878020065986ebfb8173290b8c18398c47f0de16235fddbd9fa12901ccc067cec6bea SHA512 9e7f096d267c28839595a776cd1c7ad2b325dcc41b8ec6bfff196f6f762084a23eaa56d24b6658c1d0925434bcc3efb88bcb398cb9e1a79697bc5be79701f71c
DIST vanilla-kernel-5.4.13-1.amd64.xpak 64948280 BLAKE2B b59f4bede8935dca2269c17829794cacef8d3868f3d225a86adccf38c1737948cf62b68fe156da029da1f7b32d2e4950f3df940b18252ad9a98f08c9b720e822 SHA512 9fc3f0b3744e6d0d9cde60e4afcc780c051a5700845c567a8799534b124c05f1b406b8c50d64ce7e8548efe3fb0c92fe655df28463f53ebb960c8960750c76b7
DIST vanilla-kernel-5.4.13-1.x86.xpak 56388529 BLAKE2B 348a21712e6c1df9c8f167293e5bfc933ec06100ed4e7231a95f3de32e1e3a0d5e4640cfb0eb3a8879337af7dd98e46439490f3937e876f7340b82ca7a145e93 SHA512 818d820553c7409e47174fcc85a422c3580e24b5551c7d75d5d809d1a26ecf5a9fddb23bc0eab07386e3dcc5f9f5efb71d241faf2a7e3b9113f3846c018b3d4e
+DIST vanilla-kernel-5.4.14-1.amd64.xpak 64956301 BLAKE2B 18c1425ec55a9459cf40c7af55f570f218f959059ada7db71095c8e97b3b01908f5690e0435b6840e676e1a93963a7fb9a558d14eb1e73b779960e4dda740b72 SHA512 e3cdbfea411da86beef1213563d3967dc5323c58c85b4e819a836757546c8a0d5e30bee1ad974355f9f25e267064b2e1a631380a03f2fe38ec6fce8b51dbc5e2
+DIST vanilla-kernel-5.4.14-1.x86.xpak 56381779 BLAKE2B 07c96328a7eea978c4af371910f094cabdd3faa09ff311804e74f7c89e0c1d2c938a812085c4b80510d95196536fc5ab4a43e5c384606f6ba145dc5258b0fa17 SHA512 19733434e2106ea61a52df98d64fde21c719656fdfe942a7641838657353f99cd34db32c047396ef6b190f5ebd10ca521938ce680aff4a7b8f09110d12cc1bd9
diff --git a/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.4.14.ebuild b/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.4.14.ebuild
new file mode 100644
index 000000000000..db05c9266903
--- /dev/null
+++ b/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.4.14.ebuild
@@ -0,0 +1,52 @@
+# 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 vanilla Linux kernel"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI+="
+ amd64? (
+ https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/vanilla-kernel/${MY_P}.xpak
+ -> ${MY_P}.amd64.xpak
+ )
+ x86? (
+ https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/vanilla-kernel/${MY_P}.xpak
+ -> ${MY_P}.x86.xpak
+ )"
+S=${WORKDIR}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ !sys-kernel/vanilla-kernel:${SLOT}"
+
+QA_PREBUILT='*'
+
+pkg_pretend() {
+ mount-boot_pkg_pretend
+
+ ewarn "This is an experimental package. The built kernel and/or initramfs"
+ ewarn "may not work at all or fail with your bootloader configuration. Please"
+ ewarn "make sure to keep a backup kernel available before testing it."
+}
+
+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
+}