summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-kernel/gentoo-kernel-bin/Manifest1
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.18-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 3f2a0b6741b..8b950c328c4 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -14,6 +14,7 @@ DIST gentoo-kernel-5.8.17-1.amd64.xpak 64113991 BLAKE2B 9faa7335e0670ae71e927e24
DIST gentoo-kernel-5.8.17-1.arm64.xpak 60595040 BLAKE2B 945c3742130a8fc8299d11aa3798a62b037818972a2027c4df9de04e66dea585e7436dc21075dad41ef66bd1c1a7a7fa7d5b6d7db775a394102b125b7de2be67 SHA512 3ebb00e416d1c7d29609295edf431cbc8dfd3a5569167b0b646be5bc000a4dea43f5c196431006c331e1dad577a31ae6645cd1bb3b2d97a4a7d36458d2e554e4
DIST gentoo-kernel-5.8.17-1.x86.xpak 56137487 BLAKE2B ab9210f79bdc51fac243e73b0e77302cecef2c04eebb0ba74f5cc6c574e312aa48ede93b1bb4ce28cc1ec6bd2da77590e3ee998239f439a13345bcdc6204d4bd SHA512 e2b9374118b74c76d8e4c83199ae5bd182123b98067a67f879c33444eadba9bc2ee81c9e0904ca472620a417f203d66ef4556ff65dee61d8c7f15c42b55fe573
DIST gentoo-kernel-5.8.18-1.amd64.xpak 64101584 BLAKE2B 5d98aa8fc02222cab9dcf73fd0cfc51a508e909eb5e35ff55114652b435778d26b72e4e3754616e0c28eb551177319eeb87bd703f107d58dff23afb57f104617 SHA512 13ca3a37fe772b7b20dfdc8f9d96ca5f490c9520e09281fbffaeab1674bc7e0b67bca4437ce18d76a0ab83ab16847ea37eb604fe2bac649e4e77b8dd1ccd9499
+DIST gentoo-kernel-5.8.18-1.arm64.xpak 60864686 BLAKE2B 403318a4567888f1e7988bf37b9ee1bf8e48de19dc7ed5c3a3baf4c324528a07dee4918e0206ea98214aff1a070906641281c7b5109f7db8494d4dedda5d9bf7 SHA512 9063983eca152b520da633095766f3fc4874235bbc014f89b986e7ea80c771fc8d37f4027d3c2df36009dd0e0e7cacd94fff56ff5985cc68c3595c8b0be65095
DIST gentoo-kernel-5.8.18-1.x86.xpak 56162862 BLAKE2B b33c64f00bffd1fb3518d9a0c641c00eece62dfe701d59151b18ec40c376038c36e65c96cc75356a238139c650ae1691420d7ae70982a641746f29c9bf94839d SHA512 10c3122c3eb077a278a989b59b7c3fdd23065a543973c72a592d7ca5809ed246d4de6133371f1a0649ca0000ac395ec4a20ef9f09ce30561a87c2fb174558ece
DIST gentoo-kernel-5.9.1-1.amd64.xpak 63373688 BLAKE2B 0161e6b680e2fe2461082f8cb7f297f20bdaee1bc3272baabd3bcfc2e1d0c027dd1bc33a6170217f26edcfadd3c26e4332d6fc9542b06207f58f999f68e0899d SHA512 054ae5247d0626b39aab8b029ac6bff3569200fbd3c80fb8f3d31a70c522def31e4a49ae49cc595d8a8ad4a5a3d0cdb3742d5371504129d1a00010ed7514fb35
DIST gentoo-kernel-5.9.1-1.arm64.xpak 61465149 BLAKE2B 23f82ea52fa87f32db234dc90a3032f97943d2632f85de5276154297be0355562da01e383781fb192bc864bd1f1551c13afd4967d968ea84afd6312d25329665 SHA512 f784647fa7b646316dae6528729e4929dd355cc6e7d68c0a9db70fbd20d277291cd217f0eac23a98c18f8724f6e2cc24e95630faf84d0b1c68f662ab974ecdbb
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.18-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.18-r1.ebuild
new file mode 100644
index 00000000000..d5d78a106e7
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.18-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.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
+}