diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-11-10 20:11:13 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-11-10 20:20:08 +0100 |
commit | 7670a0b3266913666043edd6a77f14c581f8f98c (patch) | |
tree | 065e638f4bad474ee6105988daebe903ca8e60d4 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.4.76 (diff) | |
download | gentoo-7670a0b3266913666043edd6a77f14c581f8f98c.tar.gz gentoo-7670a0b3266913666043edd6a77f14c581f8f98c.tar.bz2 gentoo-7670a0b3266913666043edd6a77f14c581f8f98c.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.9.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 2 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.7.ebuild | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 7de6374fddb8..b43653b88e09 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -36,3 +36,5 @@ DIST gentoo-kernel-5.9.4-1.x86.xpak 56602346 BLAKE2B 635381b4478e1e61954b11b3271 DIST gentoo-kernel-5.9.6-1.amd64.xpak 63385088 BLAKE2B ecc78d04934a45d1212d273a0c94afb9bf5d8cad8c20023abec78d0b534c842e3d665df87ef06fa103a875bc773f867da209b99dbe2818ccfbc091ef83d9c55e SHA512 7988bb8847379bbbe6378ed8d278dc03ac49da3d11c23fa7c8a4b76cb5ca9d26a02d7d209e4ddce9e1a106268c973230300eac8807d3cb592aa97f454c213d34 DIST gentoo-kernel-5.9.6-1.arm64.xpak 61472831 BLAKE2B 8ac36915092f66c092bd4b023a03bbdf177beacc82df8d6ea1200077833987bd432d40c6acff588c172a1df66063ffd910565239397431827aed6142497c5f2c SHA512 dbcb8619f831cf107286a8790fcd65f47a2e6c19068e0fc015e8dbea05f383adeee69d43da2469b23902aef225950f734881aa3b469d4460364a2d5225e0751a DIST gentoo-kernel-5.9.6-1.x86.xpak 56608737 BLAKE2B dab2c89399dbdfa9e0955b4d5138e6be9c2e196ff679f351e12657cdf2b539c90dee415069a410c3c1826232aac3e63f83efb00edc3f70877a237e34b2ded8ee SHA512 fcaeb41b67b738914bbcbb5d57cb60d48fddf1dd2231e01dfb3cfdd5a6f109835dcf5bcbc32ef24f2912503c6aa87bd53988e00e3e8701e3fc4ef30e23da5aa2 +DIST gentoo-kernel-5.9.7-1.amd64.xpak 63382309 BLAKE2B 4878ae73c4f55d9054ba2f313240ea4db8578d295d0f1ab5992f7e5648079fea773e9f8a39b77586b1321e03e3376e3335ae6999523751c722845f475a460658 SHA512 dbbd72fea440a94e4e832faa0dc48ff2adef4dbb4040b19e838b25ce90e010c4eb153196de6df68910793545429243e1e6ea61c45ad20cd2131c5febb0b506d9 +DIST gentoo-kernel-5.9.7-1.x86.xpak 56624689 BLAKE2B f7120f039ca049596af9eca98eac7abf6d4b24dc47b1a36c1d27b90a9a216c1ce9a2357b87d35b766d14945ffdd00867684873c5cd22ea246e13617a1ee0fbaa SHA512 f58eb8d42f892529e87db91254fec51abd54ad1a74b4155a45d4c05bf92bf07096375f5e3cea13a3c7f65e3baaf4b859a3e7dd7ac9f3f12208ac19242c28a708 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.7.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.7.ebuild new file mode 100644 index 000000000000..dca6aedbd789 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.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 +} |