From f0732a72fd99a36a4ac33a95bff717930bc9ac64 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Wed, 14 Oct 2020 11:03:41 +0200 Subject: sys-kernel/gentoo-kernel-bin: Bump to 5.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- sys-kernel/gentoo-kernel-bin/Manifest | 2 + .../gentoo-kernel-bin-5.9.0.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.0.ebuild (limited to 'sys-kernel') diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index bd436c67c89b..60bfda077212 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -22,4 +22,6 @@ DIST gentoo-kernel-5.8.13-1.x86.xpak 56174425 BLAKE2B 87a7047433b196c087bc4d1bb4 DIST gentoo-kernel-5.8.14-1.amd64.xpak 64154937 BLAKE2B 4238b440b83b43149d73deade748400ee5bbfbe97d8da670c37e4701bb557579a9db9822f1c1d2143a89bcc0194b39c2d06910a48886560968e5ebcfe9807572 SHA512 db3d8da7d511205dcfd2ca41ef3e3952ceadbb5bfd5ade189598c9cfd5135b55699ef6dc010dde49a17ac17a572c248be16f0d9fd472b3f1b897d17d2cb8e557 DIST gentoo-kernel-5.8.14-1.arm64.xpak 60542375 BLAKE2B 53543d5e492cbb08f30c72864d84b8c70813282088a25ff270717b0669ddd8e529086636f6ba76876e75797d03387740c4df8a0b3e74daf44e62307b002eeb3c SHA512 6581776fc60688862d00caf4c136de83f0ff7e909c55f2410e310e9f417b7fed7b05adc2b4e4ca47008d63977ed23072cf0b2882b7416d2f6b55bf42a3e95a03 DIST gentoo-kernel-5.8.14-1.x86.xpak 56176613 BLAKE2B f497efa354a9ccfb0869aad18d5cb33f3f1ddfd541265e2ecffa8d2eda0b10c8d0d6213bd8bf620dc2a05e1c6629d0f682fa7c2c2c9c5257b0f45c308ae11ed4 SHA512 4de1db79189fda9099da85553e463cdd05cbe5791f6bd99b2f6eaf138a2d6026b06f11436450333b29ca4d697be9c413f3ee9c99fb0cbd91d1d5dc26bec839d9 +DIST gentoo-kernel-5.9.0-1.amd64.xpak 63354336 BLAKE2B 2769d1ffb47b738d94ccfd2981ad483543c1c4c45ee5155dc92a457937a37ddaca9f65dd67e0ee89bcd80c090aa31c5345cbbbe68c439c9a60be97a3fa300c5a SHA512 9e484ba8c9eb1978cb03ae3a94beedc5b82414cf82fe86b8f66c84612991321080fe8ecc70ef659659a0eb553a5736b630ad694b863b51e00a374149a74aff47 DIST gentoo-kernel-5.9.0-1.arm64.xpak 61438922 BLAKE2B e239043ff2871e6736a0505859541c59d863e08498b0060a24821a69baade5f69dfd93fe671e8a35e1fe2ead3af63d18a082682a9d6afa523208134d12a420ac SHA512 a92670b5b95f512d016f32af3416472f3dafd478fc3806f91a58fbbaab3d487ad2a12441abe69ba446925249aae0a6d73b9e2ab723c7f7288322b39d63a976ef +DIST gentoo-kernel-5.9.0-1.x86.xpak 56578276 BLAKE2B 2fd240f3bed248344144d05dcee4b14aa745e92447fa81428e1a7d6ea3cc235cc574640e6397a96f2debc5bdd96f9e9ea20f6b38f9b7bf7bd6a6c78ca0446346 SHA512 f2584932c839944bc4ec96d08db8b1c87c957de35e83c10a0424f253391f1268c4e1a6a06d1ed1d7e3e7da59a3e74c118a025c58dc0052e1d96d82b58d8cafcb diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.0.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.0.ebuild new file mode 100644 index 000000000000..dca6aedbd789 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.9.0.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 +} -- cgit v1.2.3-65-gdbad