sys-kernel/gentoo-kernel-bin: Bump to 5.4.22
authorMichał Górny <mgorny@gentoo.org>
Tue, 25 Feb 2020 13:33:13 +0000 (14:33 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 25 Feb 2020 13:42:28 +0000 (14:42 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-kernel/gentoo-kernel-bin/Manifest
sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.22.ebuild [new file with mode: 0644]

index 76c10eebb6c213b6c6d10343b1ca9480c9f11e8b..60e6487a9551bdc98ad3f9bf529db7b232e2dc91 100644 (file)
@@ -4,6 +4,8 @@ DIST gentoo-kernel-4.19.106-1.amd64.xpak 61346140 BLAKE2B 0047a62cca3f5cc9669ffd
 DIST gentoo-kernel-4.19.106-1.x86.xpak 53613130 BLAKE2B 8033159b2d27b869c74132451ebbd190f012d615693759c002ea098b69daadef1bc20bc5f297ca5f74aa73c566c04413d7a696ca910947196c8b385a727d6f68 SHA512 22e8fb99a816910938bfec9b95a96a224e6fbace2c9822921006051f2810cb41ce8d317bc350d08c4872b99d0ba81857cb0c338e8a324dfebfc69a90650116dc
 DIST gentoo-kernel-5.4.21-1.amd64.xpak 64909623 BLAKE2B 0d3218a176481410f9d647b417415b8f1c162c7fdab29453c67ab044a6ceb5ca4d99407b13645acd7102560f7778aa5e73c867e7ae7629295bad6704925b2a18 SHA512 e9a04881450532cbd9ca64795d079f98a675e03484532fe66bc4680178fabb86a8115ce4bd273e9e3b9c90697e6a1bc94e2c075da18880451cd1f4d1a9877725
 DIST gentoo-kernel-5.4.21-1.x86.xpak 56509481 BLAKE2B 81f01abade64d8bb0eb52107800291e45c3be33c78c14001fee4144430eaed00e9d291a5a3873cd17fab5e1d7a601296018a6c22826e39967b5338f2ad63428b SHA512 cd0c268d62ce4785e2e5f7404a88041d7d10b7934dbce40ae3b46c430896136dc8b998953ab88e50916d2e92761b12932faf863af91999fb529fe4ec20a1cd5c
+DIST gentoo-kernel-5.4.22-1.amd64.xpak 64879207 BLAKE2B fdf9343a5d5eb0eaded98de752fd096db96229c45aa36d35690dd105eb27a30296f7cfd5d060384160a5bf5c756a2ccea516adfecb34c8939a8d5cdfd06b09b4 SHA512 af47e2d53d0e9651f40fb0c08c2e64170cb6dffbf8a3eed57ec4d3a7497f42f940f4ac0c3fe37b95d39d880b628b5f3359dccc4cc827de5612fa4a232c3bd12f
+DIST gentoo-kernel-5.4.22-1.x86.xpak 56520822 BLAKE2B 9d03481aaaf84eefcad5c4558b1292ea1263f8b0953c5747ba93e8c829b67c37fbb81d826096451e775ca884fb70d72f7c68c0f09b2c9ffd87099739a4899bbc SHA512 75d209743515b7679d5a7585f0550302965bb06d1cf31e1b9e40919d3f0b111faa907ca254c7cf8b716aa319d87010be70c39004beb0059294816c9480f41188
 DIST gentoo-kernel-5.5.5-1.amd64.xpak 65758770 BLAKE2B a505e250e1bce8a266931b0373bfca7ac7ab941c69ee74b05f9bf5b86e68b836581980d8d95280a22d101257c64f7978629dc0b88477289a717cc63db29eb15b SHA512 ed277e0d5d497ff1d46f89b5cb5424e1db95fe76750637905c207d298fc3e0551c590d4033b5f8819f8eda6e1cea24c6611ec9099a35537e467686c8fe0fd590
 DIST gentoo-kernel-5.5.5-1.x86.xpak 57102762 BLAKE2B bceb9d9a33eb9601bb40502d35b22e80a73a82a73e036405ba30d8c4008e880f20bb92f42b556def28672ec42a1c48aa32c5aa1c01408b12a1f0d16946f53034 SHA512 0d1f653c9beff734c1ee07a349b5cb5d6c1db23cc5bc1b5943011c038ed6d20b3f91729fb18b9e77375390f5fc6731a9aef3a6f2f2c53bc3a34470ee1fdf7d26
 DIST tinycorelinux-10.1-amd64.qcow2 16842752 BLAKE2B e013e76503c335739a9623c0901ca791937a0e6b177854535cadec1e2c2cd2df588283ed3128cf652595f32264fbfe5b3bd3a8c97665fd4da344e308535be366 SHA512 c3aeb20ff8769da9211694b7f701907cc7ae7582cdfad2c2fdc008d97ebcbd9dc08245b4e8f8450e1cb304bd705345a11fe79f901a47979fee91443841d55641
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.22.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.22.ebuild
new file mode 100644 (file)
index 0000000..68ca59b
--- /dev/null
@@ -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
+}