summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-09-05 22:45:55 +0200
committerMichał Górny <mgorny@gentoo.org>2020-09-05 23:02:07 +0200
commitcdb3861ab53235f0d5f2d81a0bde4c1a9bab5aa9 (patch)
tree9769567da95a649b0a58e2dded310e639cd88ecc /sys-kernel
parentsys-kernel/gentoo-kernel-bin: Bump to 5.4.63 (diff)
downloadgentoo-cdb3861ab53235f0d5f2d81a0bde4c1a9bab5aa9.tar.gz
gentoo-cdb3861ab53235f0d5f2d81a0bde4c1a9bab5aa9.tar.bz2
gentoo-cdb3861ab53235f0d5f2d81a0bde4c1a9bab5aa9.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.8.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/gentoo-kernel-bin/Manifest2
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.7.ebuild53
2 files changed, 55 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index 5c92e8ab386a..3f777a87bf69 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -30,3 +30,5 @@ DIST gentoo-kernel-5.8.5-1.x86.xpak 56586150 BLAKE2B d0ff52cec539f85c7971cf69f88
DIST gentoo-kernel-5.8.6-1.amd64.xpak 64678358 BLAKE2B dfa4423044fdf7541983c04fedf3a2e30959f18775b8f2fa81ad7e96e7b9a49b0e0a0dac42e60771abbd6243bdf4fa747a1d1ac8dd7647ebe51136c11c1ff34c SHA512 2d64b51956ed8c331f7300ffe3517df62a257c5c859a6ea65b829f917c9e74980f0f0c8a22aaf687b51c114ca8c55c3beba539da83924eded660572684adcc24
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.x86.xpak 56596642 BLAKE2B ac985eb803b391b41e769b60ea99f35a398a2288914182a6537506ca8e388359cbbcdf4ca3b2aab233aef571a9b2ad6aa0e1fc38d0156155d955cfc0c0d71be5 SHA512 d5d42a539de0bbab8bae038b1480377f1711a727f95925f9f41c6de64e77b7dfa1352be4296063739916c8eaf81b2bfaa13575009cf1922cdeec6646a04a617a
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.7.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.7.ebuild
new file mode 100644
index 000000000000..dca6aedbd789
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.7.ebuild
@@ -0,0 +1,53 @@
+# 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
+ )
+ 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="~amd64 ~x86"
+
+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
+}