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.11-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 21c0532bf36..49b8dc4a9a0 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -34,6 +34,7 @@ DIST gentoo-kernel-5.8.10-1.amd64.xpak 64087087 BLAKE2B c8495f01874b100f5b72fd43
DIST gentoo-kernel-5.8.10-1.arm64.xpak 60604695 BLAKE2B 0c80a7105705de1adeadbbee7f7da59b9af8543af31f5c5e581df6d667fc4c0d00db6290ba79dc855cb538f8b9e6d9149fb14f06906e6ef445d677592293be9a SHA512 ad9d8266fc2418106e31ea86e286bb89f0faaa1547303c44886ca957ecddacbe2343e3fdac632b919bd814cf4df4064ff68d8ed79bd63f9ff3065d0a60980c6f
DIST gentoo-kernel-5.8.10-1.x86.xpak 56121777 BLAKE2B 13b731eb2a9fedbde1737974673b041a0bf2e4efd76f37ed6da69c03762574a3b687b89ecc918673a8c3f5acb2d9f78a3a3394b403f684db85ee39b654091ec9 SHA512 9e0bfa3a4faa1329f65a29899435aa2383df479a2e1fb85e9291ffabd7882e6e032d92eb6fd60bc611842e0dedbbb873e3199d27ac060e106db6de7f82fad10c
DIST gentoo-kernel-5.8.11-1.amd64.xpak 64083966 BLAKE2B 98a770773074e41f232921a1eeece65d0b029836337d14bc4792b5a6f1f59c4f46b20ca5f1de4e28d12d52f9cec98e51827dc3e89df1a58c2cba8fb344ffdfdf SHA512 269ed6430ffbfc7159de0da1618d277dadd6b98084d2419271ff767e8cffa165b8fae6a822335369ab4e66b22fe038929678c396e9c236efa266dd3ea4c04499
+DIST gentoo-kernel-5.8.11-1.arm64.xpak 60542737 BLAKE2B 134a5d129217507ad84eed33448d150b4161d25fcb8284dd85a2b4cc05258503dcd82bac51efc4d1cda5e57cc34c53bc717928fcefdda4d51865a9c08ef85afd SHA512 494dabb509d55ed7ca242b6379079078fc31e7b9236135d330c50f7714b915acecca7e4f7f4b094f3dd6963c179d8bd208949a9175510c8c68f919741d3fda33
DIST gentoo-kernel-5.8.11-1.x86.xpak 56120164 BLAKE2B 9f7bf8fb5c818bf31411411b3c148e40a48cbe166268cfc6598430ce3292625e2047ee9ad6dfb1927ba7a31f01682ab22a9946a96f5161367582aab261f86ada SHA512 863d3de8bfe710305ceb5a82b148ba0e8d127061b2111af19fa12be761a783a53531aeeb5d56095e621120ec041608c060152b0c0dd0c548dbe62acd7b245dfa
DIST gentoo-kernel-5.8.3-1.amd64.xpak 64633724 BLAKE2B af5a903684829c3761fa29e7f84b050870479b5bb5105b91d5d53c7c2773a90cede547e2b03b95c0da08fbc6f75c2f48316960a3d8948acf8eb419d48a8a4dbf SHA512 f09ac10e1e26703db6e0a4bf1384ec90fdafacafdbd5595f953648112278acb78c37646dffa8bd6be09502224cd63fd706aadfbe4b9601dfd5a41eeb4efe8db9
DIST gentoo-kernel-5.8.3-1.arm64.xpak 60976315 BLAKE2B 6cd9a830735d6a3e3acc0d8115032cc373b6238fc314308784862ccb9e0994a0c023bd13e058a5ba61e1b3f3fc2ce7ab468078e46c092534da117e534076bd59 SHA512 b5f5451e0a4661a47f00fb7eec8f836cafdc94e6c2b879036b3a3b37e237ea1a930a6d4fc61edf9655f6becf1fd8714fd854933e8f707d2d437cf71fc0ef06bc
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.11-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.11-r1.ebuild
new file mode 100644
index 00000000000..d5d78a106e7
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.11-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
+}