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.4.74-r1.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index d4e76e1cbb3..3f2a0b6741b 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -5,6 +5,7 @@ DIST gentoo-kernel-5.4.73-1.amd64.xpak 61492439 BLAKE2B 4781ef449d55052d10c1a5e8
DIST gentoo-kernel-5.4.73-1.arm64.xpak 56501830 BLAKE2B c45f1c8dab17b85c67ef13682e78b765e25cd1f5c476e682cd0e63cc4bf46f7f7bcd49c85287be92c061c20b8d69d51b4afded4ae1224e1006f7cb944fa06b0c SHA512 b860f1963d1d72c464df0a0ca0e2110b39e8e067837562c1d2995c9f6b3d90374b683e80cca4893d809fa115c7b1e4e73f7886b4a9b11cfe24f6e901ee11358b
DIST gentoo-kernel-5.4.73-1.x86.xpak 53365942 BLAKE2B e481ca32a89463f5c77f154c4cabcacd25221f18e0011e168ea26226eb4cdc8cc1d5aafd80cb7ebd1dde59395a8ee3aa066511d70e36ad13aba44d145b6efbe6 SHA512 6503ac67aa068571d7c011156da045575663b5dbfaf945110a2a67d6d32ac3ae6159c6c2fc20cdd87e6c5fde9d7c1f7afa5b59fd7cfec5c3ccecb420196284af
DIST gentoo-kernel-5.4.74-1.amd64.xpak 61504540 BLAKE2B 9476e1f090d7ae4e2f8d4bdfce5521cf4c79ba1b4bf9f603e4ca6098ae2d995f4e6d06eb975eb40fd3b4da68434bbe156b5b6d91f14d124650ec85ea322655d3 SHA512 a18d66f43150fc24799dcdc9a4f40ad375a0184867bac278fde14d612001ece9f17fe1a6eacd7cf77e469bf1626f44bdce464fece52c53311cbd340c219178d0
+DIST gentoo-kernel-5.4.74-1.arm64.xpak 56698158 BLAKE2B a20f9d97e1a843f3f958c965ddf2013346f449f225c6330dde36ed164e4d65f0c532382de8fef4eee4de0cd4608a19d7e4ad22cac31093b32d816b73bceec294 SHA512 1859242d55c9dfedb0dae98a25ffc859455b7a93a2f09381c90a3d7e1e6cc705b3764c3e7d56f059811436a542ffdb9b939513eaa3befc84c70ca23a70ec4da7
DIST gentoo-kernel-5.4.74-1.x86.xpak 53372997 BLAKE2B 4543d083c44910d4d7c9b8d6c6602aa9b790e2f0c59099f86038c969b20bb6dbb54e04db7d9493c226ec92f63a51eaf6661c144a8fa857b82209e3b2cf470731 SHA512 61dc3c262317ff3b4811f3a3941c7a994265f61c2c44a98f5f42370ff4366ebc6201a41e91b6d37489aab2bbc2a57d6d699aa104b3c34783f4fc5ec840526c4c
DIST gentoo-kernel-5.8.16-1.amd64.xpak 64081440 BLAKE2B de02682e88d4abc53aa5e3269f2a702590408402f1c3e0ac5782639a84e0b0a1611b05276761ef3ae3feda12667e198193301c68f528b190005a1a380d908e14 SHA512 3f0bfa9cdadd81b25a2c550e741452c212c86a03ba05f6671033220a9ccec89d707942f651958c4a792fef9bd57c61a11d02df286b621f1544b51fec90c6487a
DIST gentoo-kernel-5.8.16-1.arm64.xpak 60861338 BLAKE2B 6afaac594e6f25612dd04b8cfb2f2b36b005bc9331d5969b03dd952d4c0579d034ea9713ac54b58615c579a0d8fa9b4752bd188648f17b167722eb369c737a1f SHA512 d498dd0a7c0d49d54624cd15fada4a90b7aebe7517a3d7f087d9a4e428abab92b46d2df524fbd9112181729e19cde3077c1c60185c5a4ede50551f9c7af18003
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.74-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.74-r1.ebuild
new file mode 100644
index 00000000000..2378adc3f35
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.74-r1.ebuild
@@ -0,0 +1,57 @@
+# 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
+ )
+ arm64? (
+ https://dev.gentoo.org/~sam/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${MY_P}.xpak
+ -> ${MY_P}.arm64.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="~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.4.52, 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
+}