diff options
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.8.13.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 5ca3b77ebcfa..5a1baad7ed54 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -12,3 +12,5 @@ DIST gentoo-kernel-5.4.69-1.x86.xpak 53415445 BLAKE2B 33a82ca465c271eb497d929bc7 DIST gentoo-kernel-5.8.12-1.amd64.xpak 64106657 BLAKE2B a8167bc714130a6f05811ec522c14c84b5038a6130a4a0ca7d581cad6ada7f47b55a9940198524ecf4a28debad79286929a888cd2f433a7b22e4bce4342254e3 SHA512 e952c7efbd007ad12be3074ffb488593dc5ddd4fb7dba70d7c73173d9ffdfbfc5013c06307ead53daed43c7d816789a608feb2a5d48818341d179e947edbc446 DIST gentoo-kernel-5.8.12-1.arm64.xpak 60541802 BLAKE2B 3d92912c25ee3ebbd48316550fb16f6960d2845a380db93026174a2f147ad1f32eea28c06dc1e350c15122939ecd64401e7b825268b2ce9d38343da3503499d3 SHA512 d937892936ba556529ee15d49acd207592e1142ce4a035d90920575c9ae3a5a8ef0325fddeb3b318b849df47ba436cf50b34fa8c00a01651f241cc805cdf8a09 DIST gentoo-kernel-5.8.12-1.x86.xpak 56133532 BLAKE2B c969778b746896cde2af60afc5b7049db6dba8906079a26db905b7342ef099b1dc400ea482ed2548f3a160b8e3a4ac32eed3243315c4cff6f26e9423e9c8fe8b SHA512 2b1470d9d4d08c29ad0635a65b1ea9e2291210f814ed26c47c52cbe4155cc6bdd59b829a85163f76ad377da6cbc7022771fc5fdbc6f540e43a01ab3a5038e0c0 +DIST gentoo-kernel-5.8.13-1.amd64.xpak 64108552 BLAKE2B 9119f7bdbf1ef9e64f839ef485eb9dcf345d3b71a17a011eb7c2e6a4ee17409096b8ed8ce29fb5b6781c45b7d130baa6a03c6fc8be33972436a49b6233a08e1a SHA512 a18b1812bb547d95346df64b59e9f2cb98f378ad679d319b15fb84e04e7070ad73dd251e4e280d36905bf15f6737ea8b1f269716069a46e4c7cc985395ee15f8 +DIST gentoo-kernel-5.8.13-1.x86.xpak 56174425 BLAKE2B 87a7047433b196c087bc4d1bb4d9f35ed22cca9d3a03b243427657feec1004f9239406a28d9a03e4b0742dc1d529870ec31e5b5c06766f9259bdc1a98a582a89 SHA512 8e4a18fe6ae0e8eec7800fb24287f1ecbe4e41b3ba48b776fd8f52c744014d7e40175b0d2295d6889d158ecd1085ec7d89baa9ae6901770b9ed9c70b39c47380 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.13.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.13.ebuild new file mode 100644 index 000000000000..dca6aedbd789 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.8.13.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 +} |