summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/gentoo-kernel-bin/Manifest1
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.12-r1.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index 47a55f41b5c8..9e9524bae02b 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -26,6 +26,7 @@ DIST gentoo-kernel-5.9.11-1.amd64.xpak 62957405 BLAKE2B 0bca1ae3772d6cdd9d5cd1a8
DIST gentoo-kernel-5.9.11-1.arm64.xpak 60826912 BLAKE2B ab43a72729adca0520618669792b8840483c668d9ffd38afb2ff9902faea9e0e036edb9b7f5d86f3f05c7d8d154b42600a367068d25ce49f39a4aa021db05dfb SHA512 10b9cc509a39c2377e18f33c72aa6b7c2374a7208a591f51adda45645af6ce45961bbfe3961d227cc39dd17f4e48e9be359490baa102289bb3a262f51a54e304
DIST gentoo-kernel-5.9.11-1.x86.xpak 56006453 BLAKE2B b6cd2f09c96de87757557ed4ebea5cfb3fe998bd1bb0199b688740a79f24e23cd0739a8c2ca5290eb85c8690853f5c5683a6847a077a4a4f7d8f6ea360915ec3 SHA512 e09051027aa448b737658b2f0db8f88de5811751437e08cf628ecfa4df9e90ae12459768a9f3d047967087d183bb668b15d29e083ddb6418c7c5ac7140ccc067
DIST gentoo-kernel-5.9.12-1.amd64.xpak 62965041 BLAKE2B d9172f6bbf71a577aa54db9736c46e17b7dda2c032e0fc915ecd432cf2398a6ca2ff84b25e8fa9b66a8c42ecb7cb2d2e0d8874715aaf7926634ce2bf7e7fc5e4 SHA512 25f054ec467888bac76dba23b9cbce5b0f089ef94fcd46f984c8d6e3dfb2821cf8ab2b6c6ae78e948271914738cd73de71c7423d35e46b3084ecd85c925e7ea7
+DIST gentoo-kernel-5.9.12-1.arm64.xpak 60921892 BLAKE2B df1d0724b371d5363d92d94220825fbed4e549c8bec26ede850f08dda059af660ef7996ceed5c4fd6ca84563fe3d54919793603c4745442a9bf3ea37f54d1543 SHA512 b97b5cc504bf47424190d491057921ad3a9feb080b8b362fe0625213f814f20287410960e06f16b67f2c310923a791d072f3b0cc2acd8ef771914113c66f20be
DIST gentoo-kernel-5.9.12-1.x86.xpak 56011322 BLAKE2B b306e3b8d78130ef846faf27b6d994a9c7f7c1791b16c65f24cb351ef50adbd7324384aa4ce25f0504ace16f103c3a55c0d8a2b058b31a6538a20c5d0a385a85 SHA512 3b1ff4bddb116f069ed1f186a8ab4519ff9a0a075e81232ffea293da8a5e1b7c74a2103be3901d25fe161a2566a919c24377c76567dc3b9ed92cb4046293a831
DIST gentoo-kernel-5.9.8-1.amd64.xpak 63386669 BLAKE2B 6ebe70d1085d0ea33361ab398d076ba5bb3cd21aab1769d8a106978d7b320b993878fd32a59800997a5832483a19b3bce2e396b09ed25c0f34d5786ae9b7f90d SHA512 61f4d150f8fb5cca735e09ca8021ae972d953b0297dc52d9d623d1ee3f3d4a3e5cd7f98d39f785e279891373c9719166a5dad624ea16a9300c7c3fa7b0777aaf
DIST gentoo-kernel-5.9.8-1.arm64.xpak 61440507 BLAKE2B 4704fa85533e68763346f3b4ccd462473424404c1e8f0302a69300e48ccc265857c2911aa36b11b38a0fc908d5ba681c4d35038f5cee473172b83ab331075cff SHA512 0df3f58142b0015457de82134b4c3535f8826f6108ef8aa32e2097cc5294fab35a76135fd4a4fdaed50e2b52be149833bd3e9137546f5beca90c7861f3c0c579
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.12-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.12-r1.ebuild
new file mode 100644
index 000000000000..ad9181bc4960
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.12-r1.ebuild
@@ -0,0 +1,49 @@
+# 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+="
+ arm64? (
+ https://dev.gentoo.org/~sam/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${MY_P}.xpak
+ -> ${MY_P}.arm64.xpak
+ )"
+S=${WORKDIR}
+
+LICENSE="GPL-2"
+KEYWORDS="~arm64"
+
+RDEPEND="
+ !sys-kernel/gentoo-kernel:${SLOT}
+ !sys-kernel/vanilla-kernel:${SLOT}
+ !sys-kernel/vanilla-kernel-bin:${SLOT}"
+
+QA_PREBUILT='*'
+
+pkg_pretend() {
+ ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
+ ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
+
+ kernel-install_pkg_pretend
+}
+
+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
+}