summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-09-06 04:26:52 +0000
committerSam James <sam@gentoo.org>2020-09-06 04:31:39 +0000
commit55f17e01cb752a9baf8f7823cb7e9a2e6213739f (patch)
tree1d8143ff07ed72f1eeb01dad9a82d2e1db95c5a9
parentsys-kernel/gentoo-kernel-bin: bump to 5.4.63 for arm64 (diff)
downloadgentoo-55f17e01cb752a9baf8f7823cb7e9a2e6213739f.tar.gz
gentoo-55f17e01cb752a9baf8f7823cb7e9a2e6213739f.tar.bz2
gentoo-55f17e01cb752a9baf8f7823cb7e9a2e6213739f.zip
sys-kernel/gentoo-kernel-bin: bump to 5.8.7 for arm64
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--sys-kernel/gentoo-kernel-bin/Manifest1
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.7-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 2624e98e4e7a..d40a1cde0649 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -32,4 +32,5 @@ DIST gentoo-kernel-5.8.6-1.amd64.xpak 64678358 BLAKE2B dfa4423044fdf7541983c04fe
DIST gentoo-kernel-5.8.6-1.arm64.xpak 62048563 BLAKE2B eb6c45d94c533eceb0ff2758a4a711c99c7c82945cb86ef6f3ab473f36cf8bcf5abb06260bb40fc379a49647bb00114e617b7e404b56f0b958105f8190cb835f SHA512 77cbcaf374f54611674bb8329d97aa5f92368dc4a9b9d746b751aafb998b04f471f31bf24289a9fdd877cf82e4b07bf92e039dde4f61058844e916a5c32d111c
DIST gentoo-kernel-5.8.6-1.x86.xpak 56578930 BLAKE2B 1978d2390f5ad7a58fe8b5b59081323c4047c49104c0b35ad499bc9bf5ed144a8d49e37b0dbb9c85919afd5517e5b1e496247b8e831381e9b8a4c67e911984cc SHA512 b028158415e59c213cc37293a79026ecdd20cb7f0cef04def48a8874c2ac802220314895c6c57f8cbb04ec27a52688bc9e1180636d13ac0cd0ba7bdd17732a65
DIST gentoo-kernel-5.8.7-1.amd64.xpak 64676388 BLAKE2B 93b859aed31b5a8ca77658690a4c9b04853ff5c780c0f2a1fb79bcdef6529ca3695e77ef1bb4dc04c7d59d305202f888b2876174d4fedaa9f4db2e02dc0f61ec SHA512 3f0b738c1dbda968f0493b44556232734d9445df0d2ce97eac54d81795d1eb8d89c89257fa53e155d6110292f8215872a327918d0348bcd5541701e761e0299a
+DIST gentoo-kernel-5.8.7-1.arm64.xpak 62077730 BLAKE2B eac861b25f94eef0feba0b1dee8fd44f8f802d2c92431193f1fe87e7648e49d8e6ab35629073b7cfbb03ee8f68723bc4fab957535701bfb46372aca6251da47b SHA512 dce1aa26e1fe1ee3592d2b9a255f8387067fcc11404ff3557f7638db665ad9ad3e34189af180abffd3049141b1aee1e7acb0ce70a6933d42f529bc2c7269bf8b
DIST gentoo-kernel-5.8.7-1.x86.xpak 56596642 BLAKE2B ac985eb803b391b41e769b60ea99f35a398a2288914182a6537506ca8e388359cbbcdf4ca3b2aab233aef571a9b2ad6aa0e1fc38d0156155d955cfc0c0d71be5 SHA512 d5d42a539de0bbab8bae038b1480377f1711a727f95925f9f41c6de64e77b7dfa1352be4296063739916c8eaf81b2bfaa13575009cf1922cdeec6646a04a617a
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.7-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.7-r1.ebuild
new file mode 100644
index 000000000000..d5d78a106e7c
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.7-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
+}