sys-kernel/vanilla-kernel-bin: Bump to 5.5.3
authorMichał Górny <mgorny@gentoo.org>
Wed, 12 Feb 2020 20:35:02 +0000 (21:35 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 12 Feb 2020 20:36:01 +0000 (21:36 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-kernel/vanilla-kernel-bin/Manifest
sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.5.3.ebuild [new file with mode: 0644]

index d1cf8b5cbab18408a316fbe71a2bcde298ce5fe3..cff08b9c162dc5b5427c3e4981e65d00258932b2 100644 (file)
@@ -14,3 +14,5 @@ DIST vanilla-kernel-5.4.18-1.amd64.xpak 64977098 BLAKE2B 4f3e4437c707fbff285b096
 DIST vanilla-kernel-5.4.18-1.x86.xpak 56405323 BLAKE2B 5c5895d5b97b8e59063dd17cfe3a812336f2706fcb7551788e95ada41e196f2a1c26acdf67f1eaa87f6fbda8c9d7da4451c08ed72f15f1e41e4dca116425b076 SHA512 1bd56cc2787d80a40ba53533db3eb7510a44d8791609b79bed1dc7a0bd5f5542ac032c97b3eeca14a75a70da0adf4fa2499c4b180b6c71c7950a1cf49a7aa644
 DIST vanilla-kernel-5.4.19-1.amd64.xpak 64968132 BLAKE2B e85270119e243f56287da092ea4d9fb41f0e5eea6b07c521f29637198c37d8cc5ede760d14f6b79c2e5ca9c2329f73c574fd7095b0c61d9a4102cb1f17c53dd9 SHA512 ae33c5230d3089387a11e32a256059615eb8382ae0e92561044fb7359c52c7a4ff5e9d37194a527e8d8ee367dcadeb58ed990504e1f161be78b7dfdf540f561d
 DIST vanilla-kernel-5.4.19-1.x86.xpak 56400278 BLAKE2B d00081982bfbc8c1e9d170d0b74a4568b2aa2746e336602a4a1f8a47db68ab0cb286058da9577afd624608580330d151516d4bdba45d74fccfe3bf628b9b6f64 SHA512 59aa5de2aafbb686161fae7bff5cb2f9a18968b6579ac10342fb2583a85c78ad732cda2c464bb8f1c8347c13af95c45f48ff2fbb0e4edf2835073b8189c06a98
+DIST vanilla-kernel-5.5.3-1.amd64.xpak 65729644 BLAKE2B bded04ac240632b4c178e683689757a41633b6735440d25be91e14d1cc78703dc7c54b7c2decd0f84262721bae50280e192d52669314eb8a9c7ecde35065c2dd SHA512 70ecea920fac31f8a153cc895ec9e29f21f006cc95fc30e9a9408dd623e773e6eb04f5599e1ad56f526cc2344a19cf3691315135fe7dd43f590d880c62f3d11a
+DIST vanilla-kernel-5.5.3-1.x86.xpak 57086343 BLAKE2B faadb4691eb48baceec2dc6c3a6bf0be6d8280f266fbdcabd5307263fcc24bf28bf878d45d1e28890e31b5596b0de7790b6a2b43e403d45870d34ea32c1f26bb SHA512 5a6d33c7dfac52698cde5b57c8ab8678ef79028cd722a00d3c264f79609cdf95d1746ab576d314d8e525cb9b13ca312b08254827c8a9e8ccd67ddea494b01ab9
diff --git a/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.5.3.ebuild b/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.5.3.ebuild
new file mode 100644 (file)
index 0000000..c80f6f1
--- /dev/null
@@ -0,0 +1,44 @@
+# 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 vanilla Linux kernel"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI+="
+       amd64? (
+               https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/vanilla-kernel/${MY_P}.xpak
+                       -> ${MY_P}.amd64.xpak
+       )
+       x86? (
+               https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/vanilla-kernel/${MY_P}.xpak
+                       -> ${MY_P}.x86.xpak
+       )"
+S=${WORKDIR}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       !sys-kernel/vanilla-kernel:${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
+}