diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-01-10 15:39:31 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-01-10 15:54:18 +0100 |
commit | 76eb312561b3478f6d1f41afb770aec3a3bb857a (patch) | |
tree | 6d5c516eca9635a6d2c8956da76922a9b1a9771b /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: New package (diff) | |
download | gentoo-76eb312561b3478f6d1f41afb770aec3a3bb857a.tar.gz gentoo-76eb312561b3478f6d1f41afb770aec3a3bb857a.tar.bz2 gentoo-76eb312561b3478f6d1f41afb770aec3a3bb857a.zip |
sys-kernel/gentoo-kernel-bin: Add 4.19.94 LTS
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-4.19.94.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index b593aaaa7dc8..61adf601e2a7 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -1,3 +1,5 @@ +DIST gentoo-kernel-4.19.94-1.amd64.xpak 61286803 BLAKE2B 0d2353053bfdf6e37cd0694d609dd1a9178fdfe0a5a0c90213c8efb226bf42000139742329f7f3eb8f074cae426951041e247b913d082a8baff0a4870077bee3 SHA512 adaa8cdb7c4c4416003adc7cf684e72cf26c8e9a0ac5f3229a5293d949f51b1757c839e6cd18dace241c37a2cd2a238e1527ce3ab865950d529b725153d07525 +DIST gentoo-kernel-4.19.94-1.x86.xpak 53603105 BLAKE2B aeb61cd7bd0986ab0274b0b01ab80582f476f9147169106efd26774d96dc3a31c4f2fd050964cad3aaac4858ec901e9ea7e01e8b0d452f73c37fccee217d3843 SHA512 094e2ba0f49ba6282dfef048e2e796ef6718d50eade8dd6dc5cbdff27a0af42e5045db5df971d16830298e9f7b0258aa7b3701a59ff24fbcbea04a9e7386937c DIST gentoo-kernel-5.4.10-1.amd64.xpak 64967384 BLAKE2B b182bf880cac1dd244848bb15a61a0bca7a6a910a4953af4012512f9bbe0313fd8f4358a75edfb1d883801bdc8289f42675efbba6479201421b3b616e937f20d SHA512 621fdf3b357e61cd3b41d545841ec2073303165a52d5b9b1b51d36c81529ffa15a71b955456967de71d7e91e51c175c3c9c85e2826aba2cdf02fbce6b4edb1ac DIST gentoo-kernel-5.4.10-1.x86.xpak 56394306 BLAKE2B 18a3139333844e749f278a46ee979a21704513792558ae07257207afa47a7879e6cf83269d37ca2cd1f3838277f9478ff172c778a3c0d5506191c944523dadba SHA512 c4289fccd37d8959752862ec9aa94faf1261474a5658c19cd90ed559fb5813743675129989f74a0a6ad6fd184dd9c0fea39153de7c671b902ce048cb23776292 DIST tinycorelinux-10.1-amd64.qcow2 16842752 BLAKE2B e013e76503c335739a9623c0901ca791937a0e6b177854535cadec1e2c2cd2df588283ed3128cf652595f32264fbfe5b3bd3a8c97665fd4da344e308535be366 SHA512 c3aeb20ff8769da9211694b7f701907cc7ae7582cdfad2c2fdc008d97ebcbd9dc08245b4e8f8450e1cb304bd705345a11fe79f901a47979fee91443841d55641 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-4.19.94.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-4.19.94.ebuild new file mode 100644 index 000000000000..6537031800d9 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-4.19.94.ebuild @@ -0,0 +1,54 @@ +# 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() { + 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 +} |