summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-09-13 03:18:22 +0000
committerSam James <sam@gentoo.org>2020-09-13 03:18:27 +0000
commitb170c7fd4cb97e7c9009ac6b5ccb292487b85932 (patch)
tree58940a55f5134580cd058ac6899a9a5204209493 /sys-kernel
parentsys-kernel/gentoo-kernel-bin: bump to 5.4.65 for arm64 (diff)
downloadgentoo-b170c7fd4cb97e7c9009ac6b5ccb292487b85932.tar.gz
gentoo-b170c7fd4cb97e7c9009ac6b5ccb292487b85932.tar.bz2
gentoo-b170c7fd4cb97e7c9009ac6b5ccb292487b85932.zip
sys-kernel/gentoo-kernel-bin: bump to 5.8.9 for arm64
Package-Manager: Portage-3.0.4, 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.8.9-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 4ee4f18e755e..50d4fdce40cf 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -44,4 +44,5 @@ DIST gentoo-kernel-5.8.8-1.amd64.xpak 64123312 BLAKE2B 6252a69863b02bb982919a9da
DIST gentoo-kernel-5.8.8-1.arm64.xpak 60594339 BLAKE2B 949c3c012ebfc591d880abc202d9bf14915a53db871fdd7d447821e82cf9f0127dfc7f22d434fc649d6455e6df67f908ae30f089034107226333b4725f80f122 SHA512 55e6c0bb8bddf6d56dd73b81cf81e6d294c8c6585b7a1fe857c2ce04b8eb11422ec5a01a953c1e06048f1e8e1d6e9474a5d4a0e6df0f87adb57661433ecb9f39
DIST gentoo-kernel-5.8.8-1.x86.xpak 56167005 BLAKE2B 33cd1c0be65f68c95b91738ec5dad2684bcaadec9a5b275b6cd6037814ea2950df35da7a73a8324ab2104ff25146aba8ffb69a0a37af6f06ae46b4a8eae02efd SHA512 a0e6025582898e4ae0a1f1046da7f15730ffd04d1f5b9b5ea2520446541c62b70db51a5b26cfbb9e92eb2fc210ed1f261672d0b12f813c93ffe3107bd31222d6
DIST gentoo-kernel-5.8.9-1.amd64.xpak 64122189 BLAKE2B fc6166ebd70f9945d9aacaa27c43d7c668bebaf72d7f86277c8d59ad6bdfe35d31d38e14c944cd47b0e4ad3e839e9f0bcd0f67717cdaa91f8453a18bcc48d477 SHA512 5f23f274236d72520e896c85e65f12ff077a9c2789749c31b3214f1919aec620c175992902140fd220a8897b37f49f4180b12882bacecef4228d5dc7d1bea896
+DIST gentoo-kernel-5.8.9-1.arm64.xpak 60625032 BLAKE2B df25adf9f01985e8af03f4fb49e018b9f3e4a2f01ab286c4be42d9f5c002bed67b0d35221f12207b4c7c30cbdc3db64ed02a64613abab5cb1ac9c06c1fd1f0ef SHA512 b321bf573c7c4c1d8776464b6b66e9f44ce60f5686289e755c80f5bf2162eebb359a411437dfc53e341604400366a4142689251b5f3e6b5da92594a2733c08fa
DIST gentoo-kernel-5.8.9-1.x86.xpak 56129158 BLAKE2B f90d8444e8e7c1d17d3c5c7dc15a1b72592f8360b0f321349ab6a66815a885bf8f8bed99c09cd91cdd05a4943594087a7710d80965f5e0c9e19c2b4601e2cc68 SHA512 3d3e86f94278e0913fa1a59d9c71238fed77a4a8fda12cbbf2a9981706cfce7e24515bb0e90495a0be451a916a0c60dfbe0a83fabdef0ffd43ea8ba7d96e4af0
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.9-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.9-r1.ebuild
new file mode 100644
index 000000000000..d5d78a106e7c
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.9-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
+}