diff options
author | Sam James <sam@gentoo.org> | 2021-01-09 06:00:50 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-01-09 06:00:50 +0000 |
commit | 82c317ccc75d9b8a0fabb187bd2d3afbcdba81f2 (patch) | |
tree | 0de5b3c2a5bbed82616250eb16a07fb13705f73f | |
parent | dev-libs/zziplib: drop now-gone ~x86-macos (diff) | |
download | gentoo-82c317ccc75d9b8a0fabb187bd2d3afbcdba81f2.tar.gz gentoo-82c317ccc75d9b8a0fabb187bd2d3afbcdba81f2.tar.bz2 gentoo-82c317ccc75d9b8a0fabb187bd2d3afbcdba81f2.zip |
sys-kernel/gentoo-kernel-bin: bump to 5.4.87 for arm64
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 1 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.87-r1.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 6cdef4022d62..ca9b8894beb6 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -18,4 +18,5 @@ DIST gentoo-kernel-5.4.86-1.amd64.xpak 61047329 BLAKE2B c1f925bf850399ca24068a5e DIST gentoo-kernel-5.4.86-1.arm64.xpak 56303650 BLAKE2B c5dceaa814583ff3c2b2ce34353470f6a785a24d9231f1f5e09d63999b5d6ef61c5e21937ffee0a1774a579c8979f7f3d1e81667ad52ca30e4c20a22e6621eb3 SHA512 ddbc5b71286a96a57554e57f8c2a8ab2b71528c999360b00d0aa30d54da17d8327787ffeff6c07febe7126a7a1c30383d871a70539db9d811a58a7f1eb681bb2 DIST gentoo-kernel-5.4.86-1.x86.xpak 52879557 BLAKE2B 41952050ea87e37ed49629d9282e53213d947a0b3b2fd75413de07de774e0b88eb111b530b06473257bd0a82508463f67291bc6efb4c56c5ab83ae285975b5c5 SHA512 ea8f73b494276ac1cfe8161c60e9117e93a953a3c90296763a065c02994616c1738d560c8dc3afeec4c307b3541968b1e406209f1cac4f7e0b410f2d44fd85da DIST gentoo-kernel-5.4.87-1.amd64.xpak 61056295 BLAKE2B 070c40817cae858400ad9bca46fa3cf89294b99c4a548105bfdc49b215dfd918d134177ab945a6f4d54a7955ef30f6724c77c972c8675479bf50624ab1952073 SHA512 7efad150bfafb150b3c833fbfe09e3157338279bfa198fcd9844dc6f0dc4285aca1d9ce7f03784ebeca2ed9848e1eea54f9d3c257b515a6b0dbcafc533221f22 +DIST gentoo-kernel-5.4.87-1.arm64.xpak 56293392 BLAKE2B adfaf9562c7aa16fc42181295acdaf5f1125b3c765dc45f4e774971ae8b3a972e0ed3186d81aa895f411635e05888d312e9e9d7cf4183808c2a530b644116508 SHA512 eaa98cc25243f04a3340eab28eb27be7d450bf7347d6a163fd500ca4b376d0f685a40f104cba9a835b287a26745975eb548b52046073bfce451ed3227def41da DIST gentoo-kernel-5.4.87-1.x86.xpak 52916423 BLAKE2B eae897255a6c9dff88430fb05e0cb656d663ab243b54ae2228548509e0ee11238e8d8f7579514ae5c69107c79d2b31f9561f4aac4e79fc34154215f14b1a8b1e SHA512 456bf680e96dcd0c0c30783a47ba2ff0f7b3543fef7666ce0651d3903945b7a750f7b034940c96cf0d8fcc0b251d1c40b311f77d52ff9596b92141fd691cd152 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.87-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.87-r1.ebuild new file mode 100644 index 000000000000..cced2ee66bff --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.87-r1.ebuild @@ -0,0 +1,59 @@ +# 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 + ) + arm64? ( + https://dev.gentoo.org/~sam/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${MY_P}.xpak + -> ${MY_P}.arm64.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="~arm64" + +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}/$(kernel-install_get_image_path)" \ + "lib/modules/${PV}" +} + +src_install() { + mv * "${ED}" || die +} |