diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-11-02 10:08:20 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-11-02 10:48:56 +0100 |
commit | 4b384c9e455cad873a6e6d5c96dfb633b46d4095 (patch) | |
tree | c4cdb6ca75f9dba584256850cbb3a149acbc47d0 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.8.18 (diff) | |
download | gentoo-4b384c9e455cad873a6e6d5c96dfb633b46d4095.tar.gz gentoo-4b384c9e455cad873a6e6d5c96dfb633b46d4095.tar.bz2 gentoo-4b384c9e455cad873a6e6d5c96dfb633b46d4095.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.9.3
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.3.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 cfb56d444c1e..d4e76e1cbb3f 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -20,3 +20,5 @@ DIST gentoo-kernel-5.9.1-1.x86.xpak 56581941 BLAKE2B fefc6cad3931aba6cf55dc34271 DIST gentoo-kernel-5.9.2-1.amd64.xpak 63382067 BLAKE2B e1687240c4a74e066b9c447e58800772d9971744fc96f2a719013f996f3df388f1c218714eef9f324d3f8faca84934a83415b9e773d542294a3f36a7d5a56e2b SHA512 af06ece5596eff5e926b2320868dd2b95ed37eef95684204880fb9721057f1a2d4580f57d91afaf994590511e36cd646fd300f75057f43c55544a13136d96b08 DIST gentoo-kernel-5.9.2-1.arm64.xpak 61203058 BLAKE2B 2b414266bb21144d11a68d9778b7f95dd7ce1b050c52ae331b94a89ac5e3cf4ef7aa0ddcf17c1c661034d9e6624152f3beb2366af8d8ed552a491559bc1fa356 SHA512 900599ee6e91bbbe9db71d0e2a858f304e69579a41f070d13d22393c8e57c5cd9a2325ec347f237ee40fab4cd12ff5e3706a169f0b37df5883dad7e21ade114a DIST gentoo-kernel-5.9.2-1.x86.xpak 56593873 BLAKE2B 239813d44998e629edfc0bc72da1145800130e1dec278eb32aebda7be7f6b210cb33728edd7a267edaf6c7cd9eba5dee1756f027923b524107a51ebc49a49695 SHA512 3ba4932b699436ee1738b1955807beedd725467bcfa0434533484ac40961571db965c787550bacf03d169f6af656bd406cd14336f1cb7a7e58412252f61989aa +DIST gentoo-kernel-5.9.3-1.amd64.xpak 63399128 BLAKE2B ff393bff859ebbc90178f5023034086cb69547ea9dfcce9ce2e416863d413cdbf758cb4a6d8268d9459a59739433ec49da55baa7c7dfd239bb79ebcdec568ee3 SHA512 809f1c42e389967b1b12919bf8f658ef31b414131c2f77d15ef543ee2cc0eef2308084d77723883254eb4429723f665b6ca6bb5fea6309850f5afd86b347a26b +DIST gentoo-kernel-5.9.3-1.x86.xpak 56599345 BLAKE2B 3244037ce1df83ad8834c7ef47072c1f618a74d90dfefecfd54bfd84b84efd4c38895e92c2b6b9de870d294d4b06ae555ad5bc785a5acb8d1e712995bbcb5273 SHA512 da3eb324186050d57e12e7264d247de348e1bbb2d63da50974a53323709b9cc3f9ba075df6abd10550e04e7c768c28f366d40c0ad1f49c7256d374e5d6bb7397 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.3.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.3.ebuild new file mode 100644 index 000000000000..dca6aedbd789 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.3.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 +} |