summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-07-16 20:54:49 +0200
committerMichał Górny <mgorny@gentoo.org>2020-07-16 21:00:41 +0200
commitafdabf28d766bea36180c8a1e1e8bb2ca93e83aa (patch)
treedbcbfe77109805b95944c965ea1cfbd2ba51bd75 /sys-kernel
parentsys-kernel/gentoo-kernel-bin: Bump to 5.4.52 (diff)
downloadgentoo-afdabf28d766bea36180c8a1e1e8bb2ca93e83aa.tar.gz
gentoo-afdabf28d766bea36180c8a1e1e8bb2ca93e83aa.tar.bz2
gentoo-afdabf28d766bea36180c8a1e1e8bb2ca93e83aa.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.7.9
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.7.9.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 b154a674538d..16aec700aa99 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -28,5 +28,7 @@ DIST gentoo-kernel-5.7.7-1.amd64.xpak 66703708 BLAKE2B 37b82b50661fe0489488b6d7f
DIST gentoo-kernel-5.7.7-1.x86.xpak 57997459 BLAKE2B eea6e00fc39e4225f95c12bb135037f2f108fab21bb61f8af50c970dc52fcb4612e174b80cfebeb1228bd5a11b9772390625a6b539b6d8d4a4edd369bf56e8fb SHA512 e52e0f1019b4039cbba6f9a2f6f22d9619b5cf63e6ced732ebec8c5952af567c57e301e5ab93a7ee6ac455522a23a3de73314fca44a8ab8c43b7d0602bd5b0cd
DIST gentoo-kernel-5.7.8-1.amd64.xpak 66679616 BLAKE2B 4900c7553a75d8b395082c2899752d3dad2c7ce98c687c10271ad6125abbc5069ff12ab844520b532fdb2c87905f2d3285384c6e726578637a51d9af52ab96a8 SHA512 52f9cf99ca68103c833d48609d2d5f2dddb6cb42a353eaf0b5bd84a33a98a10b4f5b7dea53919578a8b7d5d7a2616aabc7df24bf4f401ee4b619c628df7f9b75
DIST gentoo-kernel-5.7.8-1.x86.xpak 57993428 BLAKE2B 6ad472eb8fedf82d9dd77bd19a2ebc8bede2174e29f94a390d9e42eab82fc4450efba1c813585eeb881603a8c0ef5304e3f5662e28e020c907193271161b8df7 SHA512 66d9fa00d994bae74d4bf5ed5b25c869bf6d790aa73fd109d9b0dd41c8ea22dc4ab1070bda9bd2cd4cb8347e16aa08a6d4b95556c531884c9719d6838dc58a33
+DIST gentoo-kernel-5.7.9-1.amd64.xpak 62944837 BLAKE2B a576420144965d39368b2d3fb22a2ecaf4a68d4f02738a2456544492bb08029aecaed23b917b65e6331c37c4e4ab334422a8eb606089d0ddb78598da2c407fe9 SHA512 9ddd96008583966d9a57c4d2e1f1b6a25dc55b4dae8d513637f8fcb80856416aba052294ccbb2d885e2ea980ffbedff88d64c3076c5ad67d07e04b965a86739a
+DIST gentoo-kernel-5.7.9-1.x86.xpak 54954474 BLAKE2B 2c482f124c84b80837828f1eb932af81dd4136a5a5ab9a9e426f86cdc69bb86f41b20f28d89cbe21ecb4062e7da62c2ddf07b227cb86bb13c3ff07c1962348ff SHA512 b6093bf7e1ccdf45445b7e820a5182fa0c6f647faeda959c73f0768abcb795b581a2daa1d5cd19bc7f5a1813b284e48acf4bebbed523e0b9951f5caf32c09174
DIST tinycorelinux-10.1-amd64.qcow2 16842752 BLAKE2B e013e76503c335739a9623c0901ca791937a0e6b177854535cadec1e2c2cd2df588283ed3128cf652595f32264fbfe5b3bd3a8c97665fd4da344e308535be366 SHA512 c3aeb20ff8769da9211694b7f701907cc7ae7582cdfad2c2fdc008d97ebcbd9dc08245b4e8f8450e1cb304bd705345a11fe79f901a47979fee91443841d55641
DIST tinycorelinux-10.1-x86.qcow2 14876672 BLAKE2B 3c760eb7438b13261e52ecfaa33a53649ced95f1ab40aae52134b8cdc31a16d7aa0d6a6dd716e268ed148e9d77a10b7c700b141b61d70c82d271ffe88e8e2a3c SHA512 9964538dc42f232a11949f74b61d46422ea5da3bdc253a217119bd0b8a750c40fd2da0b07157067be9ac0226472614f210a1248114df0d331df390979867a895
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.7.9.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.7.9.ebuild
new file mode 100644
index 000000000000..dca6aedbd789
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.7.9.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
+}