summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-04-24 11:50:31 +0200
committerMichał Górny <mgorny@gentoo.org>2020-04-24 11:52:21 +0200
commit65636c106981331ddb6d4aa5b139c634508b1192 (patch)
treef7a4e840a958baa949c4936cc02986087a1f8c3b /sys-kernel
parentsys-kernel/gentoo-kernel: Restore 5.4.32 as stable target (diff)
downloadgentoo-65636c106981331ddb6d4aa5b139c634508b1192.tar.gz
gentoo-65636c106981331ddb6d4aa5b139c634508b1192.tar.bz2
gentoo-65636c106981331ddb6d4aa5b139c634508b1192.zip
sys-kernel/gentoo-kernel-bin: Restore 5.4.32 as stable target
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/gentoo-kernel-bin/Manifest2
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.32.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index 801b35e33786..b2a184793c3f 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -1,3 +1,5 @@
+DIST gentoo-kernel-5.4.32-1.amd64.xpak 64996699 BLAKE2B 76bae25e1c9641b68fc26c33bc8bdcf007009265a5bfc84bace2910f5bd982309228616f758688ab3517cfd3c5e62ef57624e885a3117476fb742d00f2f7de9f SHA512 91fae748de23777c5577ebf29255a9e2d62c99493419118a95961145ffcacf39dabaec6bbf68059946ad4260a5b8acc591dad6d4201313cf2d4eaed772351392
+DIST gentoo-kernel-5.4.32-1.x86.xpak 56428738 BLAKE2B ff3a0c5330147a61b4811a65d51331aa1daad8191e6ed0d7efdfe212a2f3b01b510c3eb1071ff2b45a4d6c6ce645873ce7131c6d151db5dc7fc71307372f9990 SHA512 bd63c840fab9fe58ad0e74c12349aca297a01660eb27715a439d55c1ab1d5a86bd3d019740a6d9087c1d2c7f645a9766cab7716efa0d90a6e50665c8648ef568
DIST gentoo-kernel-5.4.34-1.amd64.xpak 65026473 BLAKE2B e54985c495aa843cd156fef70049a5eeb2ab3b626b7943e459cfeb6510b6103ff48a17f3fc88147f39001a11f76d3cff7cc8d93ba69d2dd54b2663f20a95fd2b SHA512 b8ac4460bfdc8894eb42d273778c70a42aa56d5a39f2c966fcd642b6589cd7f62e9fc50cff2ca550aebf19b81f46587fec72918d49e9ae0e4f4d785dbeb52c6f
DIST gentoo-kernel-5.4.34-1.x86.xpak 56438360 BLAKE2B 8851d8fe6446f3e86f77a6a4b0424ae20f207321ebce1541838256bc8d7aad8afa0677406c03d360cf92b1fbed2560fde1e8c70ab17f5d8426951e291497663a SHA512 b44fda4d1baf55744c29ceae3b7f719cccec1528e06c39cab90ef42130c08a9ea112186dc2d6feb561d417d020c5d8272271d4ba840ef009ae970eb655233993
DIST gentoo-kernel-5.4.35-1.amd64.xpak 65028098 BLAKE2B 7af30cd652dfaa731d6b8d84c068e77a6ac6bf02b83e3d58fa2d9198267d4c5e83ad2eb4024945405afc4dcdd30995e420f8465947f69f275546c59093fff714 SHA512 72946494b033ef2d89081217f850b4c2da77380cf3d091084de0289a3c8ecd2390112f5ea6d9392ce6b830b60a5b368baacf348475f2f1faf3a5fd5aa90f8050
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.32.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.32.ebuild
new file mode 100644
index 000000000000..68ca59b57351
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.32.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
+}