diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-02-10 17:57:01 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-02-10 17:58:20 +0100 |
commit | a4190af7edd9d92693f74072512a71cc13cd6f6e (patch) | |
tree | 15ab6704e05136e56e926c14914ddda549fe3e09 /sys-kernel | |
parent | net-misc/youtube-dl: Bump to 2021.02.10 (diff) | |
download | gentoo-a4190af7edd9d92693f74072512a71cc13cd6f6e.tar.gz gentoo-a4190af7edd9d92693f74072512a71cc13cd6f6e.tar.bz2 gentoo-a4190af7edd9d92693f74072512a71cc13cd6f6e.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.4.97
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.4.97.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 81adc7121dc4..8190e17b6c58 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -38,3 +38,5 @@ DIST gentoo-kernel-5.4.95-1.amd64.xpak 61046196 BLAKE2B 0473181cbf20219d9007f7f5 DIST gentoo-kernel-5.4.95-1.x86.xpak 52897802 BLAKE2B b8cf51aa47d6a3701d78042f3dcab485b9a1664d124dc4113346817d3fb6c6bd9159bd209872ec400156e4c0427c44fa82f8d6b5fb3ea6679a24160197ad0ab6 SHA512 ac0b1689a96baaea5509af5a7af30420871c27846d9672b103e2fcdebd0bd19b432657d3d0edda7785cc3bf50c56f3115bb7162318ff171f5f1de1455ab0568a DIST gentoo-kernel-5.4.96-1.amd64.xpak 61082860 BLAKE2B 5521a3a4d5dccd127c91f35ffe8453d7b296f278c60d855133253f3752f47a74dc49bf19a110e5176762488e39697c35ad29658dfc70d0d58bd5fc8ce2f86fcf SHA512 9559c82e6980a8b2b32bb633d7957577544b2756f065fb66d688636919ba6532b82bb72ea6313c4d386317b45234a2c2226b7d78d52eb45667a10bee5d6b85d4 DIST gentoo-kernel-5.4.96-1.x86.xpak 52902599 BLAKE2B e79d7ade352b071f57f4ffa4ec2407d835eb55e4926cec9212237a89d1a88780c5b91066bed8d42a839196278edc52658a08476926970ce9f9a8b5e864591f8d SHA512 5ba67830ef51d5918f2f4c08c2bbb78fc49cd0c37868e7a715c060a22a6220d2d1c1ac7db809021f3876b135c1ca5f8734817775234c02a524559b6602d806f6 +DIST gentoo-kernel-5.4.97-1.amd64.xpak 61094072 BLAKE2B d0d79009d53fda887c79f2ec8fd9f3a22fd8fbdc93442635e626a7dd956cdfef89df930b907487b26fd7fc5e6230e19413939d2395515d441b9e7386b540ca1e SHA512 512b1616356a7b6f44695d4d34f25405134cdb84c2c98df34c477572643c9acb3e7740e763ce10b57c0fb0cf56bf5be14774ebde76cd90aa1f180ba756461abc +DIST gentoo-kernel-5.4.97-1.x86.xpak 52892614 BLAKE2B 7faee99492c9b319b3bbbf45180547bd4af6c732a084c522612c8774015e5ca3768fe5d25c23954821331effc0266d1462437f6d6d8870026ea96cc006b0ab90 SHA512 318d6481a75ebf60c0844269d1c1e67f26f45cde032d4c0597b49f97d733d5c44738e2e2839fa7d4ce06426bad2b35e77a601acefbfe645e8d654761b82ba683 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.97.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.97.ebuild new file mode 100644 index 000000000000..b8eb2c63573a --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.97.ebuild @@ -0,0 +1,55 @@ +# Copyright 2020-2021 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}" +PDEPEND=" + >=virtual/dist-kernel-${PV}" + +QA_PREBUILT='*' + +pkg_pretend() { + ewarn "Starting with 5.4.52, 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}/$(dist-kernel_get_image_path)" \ + "lib/modules/${PV}" +} + +src_install() { + mv * "${ED}" || die +} |