diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-01-15 10:46:12 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-01-15 11:37:24 +0100 |
commit | 95aea81fb2b3d3de50ff1d99adc5dee1af0360d8 (patch) | |
tree | 7f8b2d31cff7716008dd6447eb0502616e7f2940 /sys-kernel | |
parent | sys-kernel/vanilla-kernel-bin: Bump to 5.4.12 (diff) | |
download | gentoo-95aea81fb2b3d3de50ff1d99adc5dee1af0360d8.tar.gz gentoo-95aea81fb2b3d3de50ff1d99adc5dee1af0360d8.tar.bz2 gentoo-95aea81fb2b3d3de50ff1d99adc5dee1af0360d8.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.4.12
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.12.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 55a06e5f788e..001e57d1ef0f 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -6,5 +6,7 @@ DIST gentoo-kernel-5.4.10-1.amd64.xpak 64967384 BLAKE2B b182bf880cac1dd244848bb1 DIST gentoo-kernel-5.4.10-1.x86.xpak 56394306 BLAKE2B 18a3139333844e749f278a46ee979a21704513792558ae07257207afa47a7879e6cf83269d37ca2cd1f3838277f9478ff172c778a3c0d5506191c944523dadba SHA512 c4289fccd37d8959752862ec9aa94faf1261474a5658c19cd90ed559fb5813743675129989f74a0a6ad6fd184dd9c0fea39153de7c671b902ce048cb23776292 DIST gentoo-kernel-5.4.11-1.amd64.xpak 64939950 BLAKE2B d3f11c8dad36c52e10f715baa48f55ad2564d3cb6d42fc5a5384d92cc60fe62109c4042039482799d9f53e24ab69896fb310803c53d968a062959ab36b97eadf SHA512 60a5ee30c82a202c24811105091fcad569e8f4b74896920424f7ec41b1ae2196b0b112ddb5adedcc92844878ee54df5aa2961d74043609c81ba818de34a9fb61 DIST gentoo-kernel-5.4.11-1.x86.xpak 56396488 BLAKE2B 42bedac42a9af65047e3520ca5d59a051d341a8cba4785d74fdfe8a7b591c71a3349c711beffbcbba15c06e69b0cf7c20fc89aefbebf13f846e0afd4b6024158 SHA512 9da10287158abe3993c41fe0befe902a2e0e0732faa06a1b46cb10d7507c412f5984a39c154c973821b75acdb407dbf3acfaf71460a317a6da9d8f443435a1bd +DIST gentoo-kernel-5.4.12-1.amd64.xpak 64961727 BLAKE2B b7251d032897a25d5ec0e7358ed55a70a43c4ad63b6080faea24c2504d50415825160f340704d965802b22ec753a482b40b7df498788f39751b9c68992705743 SHA512 16b7c3ad7f516f3e782349463215a7a4850a8d784cacfae1c714b5aa3263d9716c4638002b61ac9875a7ffe67573fa13a5cd4e654be41b236bfa66fb1a7b926a +DIST gentoo-kernel-5.4.12-1.x86.xpak 56394687 BLAKE2B 6836ba8e66b0cafa802f8e210433d944c87340f852c1e46db0c98f6ec679efe35650dc8318ffd4a9ac57038dbc9c2bd99fb91bc0ae884b9b76e89eae5e06cec9 SHA512 f31047408b46a9aa1e97f4d613d8c708ba0c0831412c72eb36ac5dfd9172fa97ff6831de3260fe4b136a478faf7092d3f6fe8cb4ec4f83f373f55a5acba551ef 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.4.12.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.12.ebuild new file mode 100644 index 000000000000..6537031800d9 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.12.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 +} |