diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-02-13 20:50:21 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-02-13 21:15:30 +0100 |
commit | 0b8c4faacc69a0d2f44f1fbfa9da5afc648c0ec9 (patch) | |
tree | 0722085f5318501217282681cbc76febb1115116 /sys-kernel | |
parent | dev-python/django: Remove old (diff) | |
download | gentoo-0b8c4faacc69a0d2f44f1fbfa9da5afc648c0ec9.tar.gz gentoo-0b8c4faacc69a0d2f44f1fbfa9da5afc648c0ec9.tar.bz2 gentoo-0b8c4faacc69a0d2f44f1fbfa9da5afc648c0ec9.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.4.98
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.98.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 78b7492a65b3..7e84a304f0a3 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -42,3 +42,5 @@ DIST gentoo-kernel-5.4.96-1.amd64.xpak 61082860 BLAKE2B 5521a3a4d5dccd127c91f35f 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 +DIST gentoo-kernel-5.4.98-1.amd64.xpak 61084653 BLAKE2B be15edf36eff56088928e6824abc62b90eae5ec55874a65fde732a65f42cbb0175ce3b0547df6c0ee2ea195a6badd7d4b6678190c4ec49e1643c0e48c42f1103 SHA512 cd82077d0b03f75fcbec1404809c3498855edc8443bfb494453a5734667e35424e9d6be44a6ac971f2f93897e026dc6305536292e90982635209d4ec6135c025 +DIST gentoo-kernel-5.4.98-1.x86.xpak 52893432 BLAKE2B 38986b86490e2231bbdd7dcdb52e714edb659bfd9333ab7a78c1260381c6d6973771d0e3cb85793b9eeeb452ca750c74ed257bceec6733279899eddc18757017 SHA512 51687332b3c243ef9ad60132515c6981c43477ae5249c50c2695e12b575e35a2d2533ec1af9e933d191e41708c53be5cdf5157266d10f20ece76467402dbddc6 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.98.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.98.ebuild new file mode 100644 index 000000000000..b8eb2c63573a --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.98.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 +} |