sys-kernel/gentoo-kernel-bin: Bump to 5.6.8
authorMichał Górny <mgorny@gentoo.org>
Thu, 30 Apr 2020 09:48:24 +0000 (11:48 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 30 Apr 2020 09:48:24 +0000 (11:48 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-kernel/gentoo-kernel-bin/Manifest
sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.6.8.ebuild [new file with mode: 0644]

index f1430a53d180026e94f42a0b7853a36e8ed92623..f9efcfcb8ebe74d131fdcf4c3dbda8b8449c01a2 100644 (file)
@@ -12,5 +12,7 @@ DIST gentoo-kernel-5.6.6-1.amd64.xpak 66151239 BLAKE2B bbf807ff637a5be63e4f6d179
 DIST gentoo-kernel-5.6.6-1.x86.xpak 57523804 BLAKE2B 16b75c6fa3cf586c0a613878173da329bf56521a67490eba5478ec59eea31f1315a87ad561990c88c82ed07085a3d5be9416414ddb2c81f973535c90d21ce01e SHA512 78e86b404a0b6b83e591bc15deece99a90cb666b78aa3189294a0920a288db57cf0c27fb8d076baa00cfc0071cd4df84753d921108d0c7b64d5ea4472112c6f4
 DIST gentoo-kernel-5.6.7-1.amd64.xpak 66164144 BLAKE2B 1230cff29f11f717c4346136d3c1d389346c76aa86fa32702c05922b14675df5c56a8a9f0699dd9ad397874f930efbe317aebb2ebed765098f1ad0ceca044e97 SHA512 5014c234efe7bff9e9e37345dfdf01397b7d2132e7e09c62d23875e03db4d5f0de33e55bdcd9036601da291eef5720ca4262bc94f4f5baa84ba82df38e5955d3
 DIST gentoo-kernel-5.6.7-1.x86.xpak 57531158 BLAKE2B 2f60486ab96ec10707339b8dda7d49f8c653682a5a073664e0a63ce2c6c9f3a1e5f55dcc4eb70df8575430fb87643f95ac5b500b9c3649503cdd6e3d6eb14a63 SHA512 d7a66dd4cfaf58dd02864f80f2b9dc6b376dcacf2af985713926caab7eb5d0f17e659adf109429b380fa61304b859d98fd65b3fc9692b2d4563cefd3b4bf5242
+DIST gentoo-kernel-5.6.8-1.amd64.xpak 66163561 BLAKE2B 36f71a8f596cc229b180c1db6fbf903e0ba6024bb6a1853aa018a4e45c8e46d72c42c6180f21eb33facfc46219532e795262fe1e34e4beb93efd89c6de096176 SHA512 adb5910dbd80ae146b06e990d8ec388399292c0d646b655fb0a3b29616d9181c2689f9f1981d644324f1970a66726dc5853febf041400938a4181cc1dcd07057
+DIST gentoo-kernel-5.6.8-1.x86.xpak 57533703 BLAKE2B b840749b0a5a09377e3e66bcbbc4e21769c5225ff4a90e9fa85d6acfc67fe3b1155af1d8eac51f5b2b89e4afb43e1e6d464c7593024df0372d835380e2fcfd1d SHA512 f799af821296e484dbcebc7954d1eaec087af8147f6b0523d9fad67ed6759b90a67c6f0490d7bcb9f0de9afd3dde055b9286e22a54767634cfce9c71a3fdcecc
 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.8.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.6.8.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
+}