summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-11-11 15:33:40 +0000
committerSam James <sam@gentoo.org>2020-11-11 15:34:02 +0000
commit91dcc6296a28f92044c0ac785871c8c4e01d5c8d (patch)
tree12f8461c872d5451cd2b2b37a08051e276709642 /sys-kernel
parentsys-kernel/gentoo-kernel-bin: bump to 5.4.76 for arm64 (diff)
downloadgentoo-91dcc6296a28f92044c0ac785871c8c4e01d5c8d.tar.gz
gentoo-91dcc6296a28f92044c0ac785871c8c4e01d5c8d.tar.bz2
gentoo-91dcc6296a28f92044c0ac785871c8c4e01d5c8d.zip
sys-kernel/gentoo-kernel-bin: bump to 5.9.7 for arm64
Package-Manager: Portage-3.0.8, Repoman-3.0.2 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.7-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 16d5a2a4306f..57f91e0effa5 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -38,4 +38,5 @@ DIST gentoo-kernel-5.9.6-1.amd64.xpak 63385088 BLAKE2B ecc78d04934a45d1212d273a0
DIST gentoo-kernel-5.9.6-1.arm64.xpak 61472831 BLAKE2B 8ac36915092f66c092bd4b023a03bbdf177beacc82df8d6ea1200077833987bd432d40c6acff588c172a1df66063ffd910565239397431827aed6142497c5f2c SHA512 dbcb8619f831cf107286a8790fcd65f47a2e6c19068e0fc015e8dbea05f383adeee69d43da2469b23902aef225950f734881aa3b469d4460364a2d5225e0751a
DIST gentoo-kernel-5.9.6-1.x86.xpak 56608737 BLAKE2B dab2c89399dbdfa9e0955b4d5138e6be9c2e196ff679f351e12657cdf2b539c90dee415069a410c3c1826232aac3e63f83efb00edc3f70877a237e34b2ded8ee SHA512 fcaeb41b67b738914bbcbb5d57cb60d48fddf1dd2231e01dfb3cfdd5a6f109835dcf5bcbc32ef24f2912503c6aa87bd53988e00e3e8701e3fc4ef30e23da5aa2
DIST gentoo-kernel-5.9.7-1.amd64.xpak 63382309 BLAKE2B 4878ae73c4f55d9054ba2f313240ea4db8578d295d0f1ab5992f7e5648079fea773e9f8a39b77586b1321e03e3376e3335ae6999523751c722845f475a460658 SHA512 dbbd72fea440a94e4e832faa0dc48ff2adef4dbb4040b19e838b25ce90e010c4eb153196de6df68910793545429243e1e6ea61c45ad20cd2131c5febb0b506d9
+DIST gentoo-kernel-5.9.7-1.arm64.xpak 61484762 BLAKE2B 0b7adecf34b274eebc0dd891c989ce4435387dee0f62aaf4cf7cc42b8e4c6c1121f115a92edf415b011de72e4ad6be704de712785d82f3c7ca52a087d63951c6 SHA512 97c71065104feefb16b239725234b1bcab0eeabd6c02a23944c079c264c3b6a4e6ed1def4bc73784aa597147b3a28046d6abc46a1be9600ae407999ede0f2e67
DIST gentoo-kernel-5.9.7-1.x86.xpak 56624689 BLAKE2B f7120f039ca049596af9eca98eac7abf6d4b24dc47b1a36c1d27b90a9a216c1ce9a2357b87d35b766d14945ffdd00867684873c5cd22ea246e13617a1ee0fbaa SHA512 f58eb8d42f892529e87db91254fec51abd54ad1a74b4155a45d4c05bf92bf07096375f5e3cea13a3c7f65e3baaf4b859a3e7dd7ac9f3f12208ac19242c28a708
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.7-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.7-r1.ebuild
new file mode 100644
index 000000000000..ad9181bc4960
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.7-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
+}