summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-10-18 14:47:37 +0000
committerSam James <sam@gentoo.org>2020-10-18 14:49:29 +0000
commit0a5911234344527e09bd8dc69fe113bf1bec1495 (patch)
treede35565bc1f5a4cbb99a5a4c642a3217ae2c946b /sys-kernel
parentsys-kernel/gentoo-kernel-bin: bump to 5.8.16 for arm64 (diff)
downloadgentoo-0a5911234344527e09bd8dc69fe113bf1bec1495.tar.gz
gentoo-0a5911234344527e09bd8dc69fe113bf1bec1495.tar.bz2
gentoo-0a5911234344527e09bd8dc69fe113bf1bec1495.zip
sys-kernel/gentoo-kernel-bin: bump to 5.9.1 for arm64
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org>
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.1-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 d9c585f81e38..a955f4ab2c7f 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -38,4 +38,5 @@ DIST gentoo-kernel-5.9.0-1.amd64.xpak 63354336 BLAKE2B 2769d1ffb47b738d94ccfd298
DIST gentoo-kernel-5.9.0-1.arm64.xpak 61438922 BLAKE2B e239043ff2871e6736a0505859541c59d863e08498b0060a24821a69baade5f69dfd93fe671e8a35e1fe2ead3af63d18a082682a9d6afa523208134d12a420ac SHA512 a92670b5b95f512d016f32af3416472f3dafd478fc3806f91a58fbbaab3d487ad2a12441abe69ba446925249aae0a6d73b9e2ab723c7f7288322b39d63a976ef
DIST gentoo-kernel-5.9.0-1.x86.xpak 56578276 BLAKE2B 2fd240f3bed248344144d05dcee4b14aa745e92447fa81428e1a7d6ea3cc235cc574640e6397a96f2debc5bdd96f9e9ea20f6b38f9b7bf7bd6a6c78ca0446346 SHA512 f2584932c839944bc4ec96d08db8b1c87c957de35e83c10a0424f253391f1268c4e1a6a06d1ed1d7e3e7da59a3e74c118a025c58dc0052e1d96d82b58d8cafcb
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
DIST gentoo-kernel-5.9.1-1.x86.xpak 56581941 BLAKE2B fefc6cad3931aba6cf55dc3427133cec05fac197f84124108657493f58b660531b49f53f6388a4da0a3f8a623c4bdc5815c7855f45f5d0b0ff6603b0bccc65cf SHA512 900b54a922e4a70f9bd200bfa8ef58492414cd53267f18461f72762ef7cd77f4d96b7750a175a70af9b283b0d28b7648bbf146a6610bf74fea93eb4338f678db
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.1-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.1-r1.ebuild
new file mode 100644
index 000000000000..ad9181bc4960
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.1-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
+}