sys-kernel/gentoo-kernel-bin: Bump to 5.4.25
authorMichał Górny <mgorny@gentoo.org>
Fri, 13 Mar 2020 10:30:12 +0000 (11:30 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 13 Mar 2020 11:07:14 +0000 (12:07 +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.25.ebuild [new file with mode: 0644]

index 7d51b8389b497051f757aca04ce83c6814c02a0d..03b7adc6760c034e0b0b39fd56437b8f76a20cce 100644 (file)
@@ -8,6 +8,8 @@ DIST gentoo-kernel-5.4.23-1.amd64.xpak 64901352 BLAKE2B e8e610dafd50d6ec41067107
 DIST gentoo-kernel-5.4.23-1.x86.xpak 56515809 BLAKE2B 4a96d2cc7d97b8246736b026ffa7f49cecf97818df342576965bd724602921d5ee4dda87167b40f9263e776f8c1d073a3d215bed35897af124c27f92357ea9ea SHA512 673b8e8dd1a4be89f49e6173fbbbc0ee334bb040cb75f49a850fcf1f666b93b2ac66ca73d5b9221c65c7cc520fed4c37e56ed434c9b0a8cf59535d260930a264
 DIST gentoo-kernel-5.4.24-1.amd64.xpak 64896666 BLAKE2B eb639ca7776e1b2094620e71baac2c53be76c4cd12783f4d07a845b4c07ae894bc2de75b4fb77c9b14ece3a2cae53be2d969a7cc6ee541a26c39f04a57d49a06 SHA512 4648bd9fd369d222cb36bb2247cb618995d679ff5405ed26383a72473d6fea726f0369d3406727196f50bdefadc64e7acf80b283d0f365877a389a3d3e8ba697
 DIST gentoo-kernel-5.4.24-1.x86.xpak 56510472 BLAKE2B 68c715db0815024e31c9a460b30a5bce3df32eba50a4f5f8a20107a7ea5ee2ec75b4179e38e5f1128a6be824bcff41c2e646240836f9ea5f8881b9bdfc752657 SHA512 8b7a2af3d63aac259dd1c40c7a2cd39deeac179508796f93ac5208c2f396f5f3bcb269cea395f5c4687898e8606d9053c793e05624abdba7548b4fa5c2013cb0
+DIST gentoo-kernel-5.4.25-1.amd64.xpak 64946299 BLAKE2B 93620ae7dd7f730f9d722d13cbee79d948b4c6684f0f1b3083b60c51c98245ff823c601f0767f665f5cd5834f05aed7fa8e7b01578e0cf787283a8e5b1242bed SHA512 2371484f0329dcb06fd825821ebcb6c0726a83858d1e2650f100479061911de73832d584d340b500026dc64c10afca1e3a82547b9f926b591c5eead6391f9d2c
+DIST gentoo-kernel-5.4.25-1.x86.xpak 56522225 BLAKE2B 6c7f74d33eb0357f3bfa31a9d829e90c7406a8dba730d833517b14e938f2d20d6193a557236b4fc1b12697a07259389cdd81c52da638c899fcd7ba43361896ca SHA512 e4f082ce42d0a5a5d0ba323d4235880561057fdd52b3802c3a1da8a4de41ca8def1f383209a0ee3ac013cbc71ad60154aa5220356251c8da42911dfc0428920e
 DIST gentoo-kernel-5.5.7-1.amd64.xpak 65766080 BLAKE2B 05732adba34cadc43b602a929469de656c57a2ae74ebd2d5d1c40312887f8889ac2768d53dbd58eb1b49dadd1f4a15bb6efcaf425294aa206b05952c1752a831 SHA512 bbeaa28894c7629085686f77d3a211a304c59bbcc66974dc476c74128312b6ecd094fcb399cc8f56fa1ba3f14aed2c174bd408799acf540cab39bb8eade22c01
 DIST gentoo-kernel-5.5.7-1.x86.xpak 57160779 BLAKE2B 6323263bea0671d0d6939404b934d756f5f4c71912e128bdc2c5521b9f84d561af5a56853ebd8b24d53d3cb0a3e13c4df993a6f802f6f2ddbc07dd0a46763d31 SHA512 7bca175b60ab30ce4558db614b33bd694566322a5d7b4ed9efea82ad2cd37e3f45b45a922ed927739c20e74dc0753eb153bcc7439595dbdfd61ac1aace831d9a
 DIST gentoo-kernel-5.5.8-1.amd64.xpak 65789134 BLAKE2B bf55be87d32899d885a04fe7106989b3aa3f4b97b0bee5d32a9cb8c699a00a9e75c4b2db48c67a2d0d558d0f549cf9aff12658b73fe723fda2fdd902f373e696 SHA512 3d1017d8dabf8cf9faad16f21165dd27c8d68cef88722d4b7aa57d4ffb0ba9f4d9cd11a0455ad948bc7b7331ccdd216ee68fce4fd733c993806e33b33fd85a5f
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.25.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.25.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
+}