summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-01-04 18:02:25 +0100
committerMichał Górny <mgorny@gentoo.org>2020-01-09 22:36:37 +0100
commit552fa44f6f5b10f519d55663d931fb06958238df (patch)
treee25cfb839dec77f859e5e8f21aa542415d5443e3 /sys-kernel/vanilla-kernel-bin
parentsys-kernel/vanilla-kernel: Bump to 5.4.10, use kernel-build.eclass (diff)
downloadgentoo-552fa44f6f5b10f519d55663d931fb06958238df.tar.gz
gentoo-552fa44f6f5b10f519d55663d931fb06958238df.tar.bz2
gentoo-552fa44f6f5b10f519d55663d931fb06958238df.zip
sys-kernel/vanilla-kernel-bin: Bump to 5.4.10, use kernel-install
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel/vanilla-kernel-bin')
-rw-r--r--sys-kernel/vanilla-kernel-bin/Manifest2
-rw-r--r--sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.4.10-r1.ebuild52
2 files changed, 54 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel-bin/Manifest b/sys-kernel/vanilla-kernel-bin/Manifest
index ec54297a6eee..2d25c342766b 100644
--- a/sys-kernel/vanilla-kernel-bin/Manifest
+++ b/sys-kernel/vanilla-kernel-bin/Manifest
@@ -1,4 +1,6 @@
DIST tinycorelinux-10.1-amd64.qcow2 16842752 BLAKE2B e013e76503c335739a9623c0901ca791937a0e6b177854535cadec1e2c2cd2df588283ed3128cf652595f32264fbfe5b3bd3a8c97665fd4da344e308535be366 SHA512 c3aeb20ff8769da9211694b7f701907cc7ae7582cdfad2c2fdc008d97ebcbd9dc08245b4e8f8450e1cb304bd705345a11fe79f901a47979fee91443841d55641
DIST tinycorelinux-10.1-x86.qcow2 14876672 BLAKE2B 3c760eb7438b13261e52ecfaa33a53649ced95f1ab40aae52134b8cdc31a16d7aa0d6a6dd716e268ed148e9d77a10b7c700b141b61d70c82d271ffe88e8e2a3c SHA512 9964538dc42f232a11949f74b61d46422ea5da3bdc253a217119bd0b8a750c40fd2da0b07157067be9ac0226472614f210a1248114df0d331df390979867a895
+DIST vanilla-kernel-5.4.10-1.amd64.xpak 64966959 BLAKE2B 8ad67a79ecdb7e53a41f4b02d3f1e9dafd169e2e74b179664d7b798e816c8f31b1a3c0f4a7f0e216761c4751f6044889c39f2bdd8783de2a926c64a7e1d601bd SHA512 00a5c4365594968705580d68c8d86fd251632db43d5cafc54ecce8ab83a951de4be3c0eb0934e905f3ca84634b464d4d333b6417e148402dc0ea1b1fa16c5a9e
+DIST vanilla-kernel-5.4.10-1.x86.xpak 56405752 BLAKE2B 86ca7aefff05c0ba222cd4f165b229182850f0c698417edcbe07da784e988b2e870f7dfad9f74c20421dc8068c4bf82475abf4ba3281b0f5c157ef27fa99a88a SHA512 dcf5e333a87219434c2741217ad29137469c85464234c625aa57521d3f0c1613e83a121f5541646586d0b4938d60f82afc823c9ed4dc02ec1994ed0e0bb80540
DIST vanilla-kernel-5.4.7-1.amd64.xpak 67980060 BLAKE2B 6bff3c16edc33dc65eedc55290d83cd26bf23bcf70addff39f43ba0d2fe9a678bc8bd2ba259802c95032132dce14e6866f15c30d66c4be23d82b88fa7e33d2f1 SHA512 edad0f70a46d2398702beeed442a84818d9d34cbd057372ad1175e7c2d944d59f6c5dbe2731658ed4c74eb66ffc3dd542b2589b1e776095c457b6347872d3dc4
DIST vanilla-kernel-5.4.7-1.x86.xpak 59512079 BLAKE2B be8b611d164cb0e17fc9232eebdd642ea3e7926acf0c8628dde6bfe4de9d5600fca8f33aeba039bffce574926d7f1dff5bfa9910ed42553fa168e6104207fa13 SHA512 9d2a59824f7ce0cd01ea5aced3a95c4e2ac44ca4ad82cf5997987f9b0df730650cb8c8c5a83476084e427af345ad4d5515eb996dd2db5d5c7fa21c0eb1d8871e
diff --git a/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.4.10-r1.ebuild b/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.4.10-r1.ebuild
new file mode 100644
index 000000000000..db05c9266903
--- /dev/null
+++ b/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.4.10-r1.ebuild
@@ -0,0 +1,52 @@
+# 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 vanilla Linux kernel"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI+="
+ amd64? (
+ https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/vanilla-kernel/${MY_P}.xpak
+ -> ${MY_P}.amd64.xpak
+ )
+ x86? (
+ https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/vanilla-kernel/${MY_P}.xpak
+ -> ${MY_P}.x86.xpak
+ )"
+S=${WORKDIR}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ !sys-kernel/vanilla-kernel:${SLOT}"
+
+QA_PREBUILT='*'
+
+pkg_pretend() {
+ mount-boot_pkg_pretend
+
+ ewarn "This is an experimental package. The built kernel and/or initramfs"
+ ewarn "may not work at all or fail with your bootloader configuration. Please"
+ ewarn "make sure to keep a backup kernel available before testing it."
+}
+
+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
+}