commit:     80c1e7561099a024c9f8a4a97bba88a6c8d184f7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  5 16:35:22 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov  5 16:36:36 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80c1e756

sys-kernel/gentoo-kernel-bin: Bump to 5.9.4

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-kernel/gentoo-kernel-bin/Manifest              |  2 +
 .../gentoo-kernel-bin-5.9.4.ebuild                 | 53 ++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/sys-kernel/gentoo-kernel-bin/Manifest 
b/sys-kernel/gentoo-kernel-bin/Manifest
index f2a341d5e67..84d1344d4ef 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -27,3 +27,5 @@ DIST gentoo-kernel-5.9.2-1.x86.xpak 56593873 BLAKE2B 
239813d44998e629edfc0bc72da
 DIST gentoo-kernel-5.9.3-1.amd64.xpak 63399128 BLAKE2B 
ff393bff859ebbc90178f5023034086cb69547ea9dfcce9ce2e416863d413cdbf758cb4a6d8268d9459a59739433ec49da55baa7c7dfd239bb79ebcdec568ee3
 SHA512 
809f1c42e389967b1b12919bf8f658ef31b414131c2f77d15ef543ee2cc0eef2308084d77723883254eb4429723f665b6ca6bb5fea6309850f5afd86b347a26b
 DIST gentoo-kernel-5.9.3-1.arm64.xpak 61432464 BLAKE2B 
0940f05e2ee26c8a46b583eac31dd6f15e8ff27b3d8362cb6e923b6b49b11982f664f0cf8fc49c7583446af8cf9319e0d3e83b6f723896b578da3690bb419ae3
 SHA512 
39217d6e872ee1129a661c6e31fa6acb907798026f5488b1b30881cb36bbd1b567ecea0ffce5efb77a0c7508d6f6aa987c8cba5e3b01f02a30ae265991635c23
 DIST gentoo-kernel-5.9.3-1.x86.xpak 56599345 BLAKE2B 
3244037ce1df83ad8834c7ef47072c1f618a74d90dfefecfd54bfd84b84efd4c38895e92c2b6b9de870d294d4b06ae555ad5bc785a5acb8d1e712995bbcb5273
 SHA512 
da3eb324186050d57e12e7264d247de348e1bbb2d63da50974a53323709b9cc3f9ba075df6abd10550e04e7c768c28f366d40c0ad1f49c7256d374e5d6bb7397
+DIST gentoo-kernel-5.9.4-1.amd64.xpak 63394036 BLAKE2B 
edd598813b571961fab2232666a13ae915d255a2f0b49f499009aa8f6098d755ae10e8458c35d540569b9bb57cb2a5b240b0791be09f877896d7e9cbeb9221b6
 SHA512 
ca3539ff824c95b516227c0da67cacd7bb11a9752ffb7b14b7c32e257f878078000c62f80bc353aac313004271614cad1539d6587102f8dd93cdca3a4a5fce20
+DIST gentoo-kernel-5.9.4-1.x86.xpak 56602346 BLAKE2B 
635381b4478e1e61954b11b32710c050f4861519018bb4b993a5b3da4c6d82859e2d6cc79ff30d1269c30119aa51b2043b2e8346c6cd5fb9f251de4ee0d59f8a
 SHA512 
2df8f4f40bd10cc2e4187aa19cc5093445fcd08da8c2acbeb7785da6332cd59c235f385a3beff12ccdc1956251ec7860b2e0b6191ec1c090e0fa8452acb84e88

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.4.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.4.ebuild
new file mode 100644
index 00000000000..dca6aedbd78
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.4.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
+}

Reply via email to