diff options
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 2 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.6.14.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 03cc20a3e062..498d644fc852 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -8,5 +8,7 @@ DIST gentoo-kernel-5.4.42-1.x86.xpak 56467055 BLAKE2B 8b7e80649bad7119bf788728f8 DIST gentoo-kernel-5.6.11-1.amd64.xpak 66149442 BLAKE2B e122dea49c9ef20c9140924b7bef46af77325d6311100c3f9f04137a7200da7eb6f6ab100c41da5bf72dc144561fa34a5215f06f6c34550b6043d20fd5f15a27 SHA512 8b7b178b1c096e3ad816f754cae173205a743194b19a40399e8f4d349fa14d189833fa2ba5638d03818938ad128e7349cb1663cce47391ea5874cedc259acde6 DIST gentoo-kernel-5.6.12-1.amd64.xpak 66146856 BLAKE2B dd9ab45933fcc41d5e3f5e365870824e06f1493f776d746f1d64a4b897c757d20fcc4ba4b51ff68cce13775e762051e6ca1cb06f1d1669ae2446a520872d9574 SHA512 9c0ff1da6f981b52514dbea1074bf8f8a8650de3901eb0801ce14bf70a802b63679ca80734e7bb23afba7c0a8b9b642dd12a02759dff552a131fd5058136a8d9 DIST gentoo-kernel-5.6.12-1.x86.xpak 57548361 BLAKE2B 129f0f937ad77514690e907887d3449dc3ebfa95d8fba413aae2d53eb08923531856d22f7a9e1c0bf68b09ca04e0020944ab0c74c53f4f437b74be8319bbfd50 SHA512 fa3b4152c2baa1d54ffa8f099250fa5c149ab98930bc21f70aaa1dfd00931f74f0bca499fb959295b84998ac508387b4cea8c868c2d50663bfd52af06b128082 +DIST gentoo-kernel-5.6.14-1.amd64.xpak 66169166 BLAKE2B 926b2203889b5d582b92acfc7d1c7c0db66b68cedd401af6ba8085089dca7609a0558ab11846459b92345abb29450e20873532922306438d2964839e591d3bdb SHA512 31e27c27e7dfc9c702306fb84ad83e8b2e16c2b024f026cb29a473d63c2c322f80d607455006e1f9c5b90c2b7c202c148c9c13dee3d497fc3ab171b05cc9cae0 +DIST gentoo-kernel-5.6.14-1.x86.xpak 57552049 BLAKE2B 51374e5a50c4e3f64122931defa3274a35835d8b10505d2302c8b64cea8c23383c4ca1b9e3c62254f37676fde31a050b09582ced1c5a290cb6e7538ad5233050 SHA512 4609174dd990c488173e72d71dd9ab6d67cce027b0243c8650b4a027e6ff7d492f9142b80ea30551e15e394d1b906e96af757e8c87ebecf37de049cd7b8915c7 DIST tinycorelinux-10.1-amd64.qcow2 16842752 BLAKE2B e013e76503c335739a9623c0901ca791937a0e6b177854535cadec1e2c2cd2df588283ed3128cf652595f32264fbfe5b3bd3a8c97665fd4da344e308535be366 SHA512 c3aeb20ff8769da9211694b7f701907cc7ae7582cdfad2c2fdc008d97ebcbd9dc08245b4e8f8450e1cb304bd705345a11fe79f901a47979fee91443841d55641 DIST tinycorelinux-10.1-x86.qcow2 14876672 BLAKE2B 3c760eb7438b13261e52ecfaa33a53649ced95f1ab40aae52134b8cdc31a16d7aa0d6a6dd716e268ed148e9d77a10b7c700b141b61d70c82d271ffe88e8e2a3c SHA512 9964538dc42f232a11949f74b61d46422ea5da3bdc253a217119bd0b8a750c40fd2da0b07157067be9ac0226472614f210a1248114df0d331df390979867a895 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.6.14.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.6.14.ebuild new file mode 100644 index 000000000000..68ca59b57351 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.6.14.ebuild @@ -0,0 +1,46 @@ +# 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='*' + +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 +} |