commit: ffe90895476cff997830cc5bfd7b2f3e429c5ab9 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Dec 16 23:44:21 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Dec 16 23:59:37 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffe90895
sys-kernel/gentoo-kernel-bin: Bump to 5.10.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 2 + .../gentoo-kernel-bin-5.10.1.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index d9781bf2181..f064c6b64df 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -1,3 +1,5 @@ +DIST gentoo-kernel-5.10.1-1.amd64.xpak 64302849 BLAKE2B 40c86882af5fc908b99e7a8bb360871415d37fd71b893c1facf2dd8bf4571f786c2f8caab05457e4555373c51c4cb5e4a92c35956807467a8bf1c768478a9c81 SHA512 f469d651d65828321510e3f6b790aea6f2b3e092a2d64a77ebc8c661199650022538a70e398baa6a30f22367c23ce183b2940cae1de915b200e5dd8f8984e316 +DIST gentoo-kernel-5.10.1-1.x86.xpak 57273914 BLAKE2B e9e49d62c32c074a7dc77ff88ccef6182337d0e1f8e70c5d6212536e6363291786981af3f3c74ca326b7a44c0072280806aaf2ceb1931db6e6b27156803f1f8f SHA512 bbe20f7b787daf3e2a0cfd42d6058f1341354eb9ef46844854893b412aa80d2993cae4f83cff81deb68b1056b3dc61c1371ed3769a22f6edb2cd124922fd76f6 DIST gentoo-kernel-5.4.72-1.amd64.xpak 61507115 BLAKE2B 7d8b21516126c550e06e335b886a02b314b1d6547efcfd788b8e44be3cfd308cac633b0b846bfe56aa093125a2a8afb1893cbcefb023312e121f9e598e53a248 SHA512 9b6446b4b1da1275d044316244c70f941c1ffc0c0128c1a8620921e9eccd9e6224cd19bc4b8e45388f6e41c6f7819647e727857af0a069e9c68b70a7d38d0704 DIST gentoo-kernel-5.4.72-1.arm64.xpak 56655064 BLAKE2B 3b13004d69a7b74c076849fc872104fd4fe3f7e318ff0484fdbe6eff9d9f3235eed57265f52b5737febee6abbd3674c931a13feb2f38accb1114280ea2afb46f SHA512 5159ffaebae025766aa4742037a1d2fbc4fab220b0feea5da7705eb7b9e1e15e5b7a4c0a53e3032ce07b72e0e733a6a58029eb134d6583a9d9621a435ba07df1 DIST gentoo-kernel-5.4.72-1.x86.xpak 53373842 BLAKE2B 2ea66aee50688fb5d28ac2295db78f97cd844f7be103f3d4d164a8ffe1e855a045118e24b0b62e213f6bfd93cbb44c79823817d5ae0f8ca286cffaf11b0cafee SHA512 8bc3d4b7cab6e5ca4448418c1c3f81b3f1efa7eabf4896ac18eef1a52f05b8fae3731a955ffadaa309a933843dfca235da58440848b03c5da6bc3537e686018c diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.1.ebuild new file mode 100644 index 00000000000..68ca59b5735 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.1.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 +}