summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-11-05 23:01:46 +0100
committerMichał Górny <mgorny@gentoo.org>2020-11-05 23:26:18 +0100
commit6167350c0dd95c4cc369fb25a98a6a0dc8c6c9f5 (patch)
treecd00dcdbd63cbee08d33f40ac87df18f06355fc7 /sys-kernel
parentsys-kernel/gentoo-kernel: Bump to 5.9.6 (diff)
downloadgentoo-6167350c0dd95c4cc369fb25a98a6a0dc8c6c9f5.tar.gz
gentoo-6167350c0dd95c4cc369fb25a98a6a0dc8c6c9f5.tar.bz2
gentoo-6167350c0dd95c4cc369fb25a98a6a0dc8c6c9f5.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.9.6
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.9.6.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 84d1344d4ef7..9c136e6a8946 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -29,3 +29,5 @@ DIST gentoo-kernel-5.9.3-1.arm64.xpak 61432464 BLAKE2B 0940f05e2ee26c8a46b583eac
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
+DIST gentoo-kernel-5.9.6-1.amd64.xpak 63385088 BLAKE2B ecc78d04934a45d1212d273a0c94afb9bf5d8cad8c20023abec78d0b534c842e3d665df87ef06fa103a875bc773f867da209b99dbe2818ccfbc091ef83d9c55e SHA512 7988bb8847379bbbe6378ed8d278dc03ac49da3d11c23fa7c8a4b76cb5ca9d26a02d7d209e4ddce9e1a106268c973230300eac8807d3cb592aa97f454c213d34
+DIST gentoo-kernel-5.9.6-1.x86.xpak 56608737 BLAKE2B dab2c89399dbdfa9e0955b4d5138e6be9c2e196ff679f351e12657cdf2b539c90dee415069a410c3c1826232aac3e63f83efb00edc3f70877a237e34b2ded8ee SHA512 fcaeb41b67b738914bbcbb5d57cb60d48fddf1dd2231e01dfb3cfdd5a6f109835dcf5bcbc32ef24f2912503c6aa87bd53988e00e3e8701e3fc4ef30e23da5aa2
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.6.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.6.ebuild
new file mode 100644
index 000000000000..dca6aedbd789
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.6.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
+}