diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-05-02 19:22:08 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-05-02 23:05:49 +0200 |
commit | 98690bb7363704cd1ea8ab869fb2aa9ba97d69b1 (patch) | |
tree | 00a0433615736e89a2925275496df4bb0b34934b /sys-kernel | |
parent | virtual/dist-kernel: Bump to 5.4.116 (diff) | |
download | gentoo-98690bb7363704cd1ea8ab869fb2aa9ba97d69b1.tar.gz gentoo-98690bb7363704cd1ea8ab869fb2aa9ba97d69b1.tar.bz2 gentoo-98690bb7363704cd1ea8ab869fb2aa9ba97d69b1.zip |
sys-kernel/vanilla-kernel: Bump to 5.10.34
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 2 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.10.34.ebuild | 102 |
2 files changed, 104 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index c14c38a6ea96..3a5396c825d5 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -30,6 +30,8 @@ DIST linux-5.10.32.tar.sign 991 BLAKE2B 3f27d9e293ca0ceb4ec8be14ce6cf3b5b6d93475 DIST linux-5.10.32.tar.xz 116326724 BLAKE2B ec7744441772ebf052f93af4dd5b0bc3a067118739b2f4a485a8e85aefd8ed722e2d7ff20e9ad5a4ead882ecec6e8217dc6203054fa6ebdc7df0b42978a79df3 SHA512 ac10c3ccdd75e79d24d3fe7a8391084e02789ed39dfaa9a53f02acd07f802bc9f2f55ac3f277c78726bfda474726f45d7cd771a015d585fff2edd515d46e3b7c DIST linux-5.10.33.tar.sign 991 BLAKE2B 6dda9b5bf5d57529499f094060bca82b66224663cdaafb7c72d56088425fdbda7c1cedc08abdf5bb23f20698e1138537eef22d59f71a142788aa4f797be85b73 SHA512 90efaed7d3efaedfdf9b0735aa7d1c394fdb3bd83eb882de4fa8fa0a7fcb5252c8ce97e9862ba82634e7eb935cec5171e7fb30bf87032998dc8f475b6170cc82 DIST linux-5.10.33.tar.xz 116318392 BLAKE2B 419a1a4a50ed1361eeaaa51f49b2f74e80985cbd5d4b13587420fb0c78ac7c262748965028ff76d0426173fabade4ef6283b54e7f628a23b716a1b66b93b0c28 SHA512 7fb4a54352340c320ebf06512545dc767004504bdf74481558fec6a675f9b301c1c9607d96241319ab8426fb324accc2d60beed4cf4956997bbc397b1ee4a1ce +DIST linux-5.10.34.tar.sign 991 BLAKE2B 11b58495acd1e824df55cb161d446363962d4a03abcf5cd2d752cfda3bebf59bee33c7e97f29ee7f1e767b26e7e2c262ad13f685773492cfdc1b04afec9425bf SHA512 295165d97a0a339b14a1b22935a6a60a30120ea71356a055071a616dc893f048e72ccff257d3ec3a97ad40b9a136075b19c2ab48ea33a4771579468afdd19e5c +DIST linux-5.10.34.tar.xz 116317936 BLAKE2B aab0b8ad398f260213a64f5dcb870dcfabd9b803ac6e707d4f22bb3138e178e0f0c6058acb668e4312f249cbf2382786435d45b8b5a0c64576ec877b9bcc58ac SHA512 c665fddb50d93731ef32c0293cbc0bdf7eba10ab7f9614879d88e54f86419f43ad549ce3b42621e2f26269c757e1dd849fb44ece5b4bfb93da96fbafd519fcb8 DIST linux-5.11.13.tar.sign 991 BLAKE2B 32a8fbb32f1c1b6480377c76c157a78436399b7cbdc153650057780e92f8bb5cbbc0c352a2ed9fe8f61c481be874df9e30e96c2fbd2eb9040a4d979eca5d0e8f SHA512 d0e4df56efed1ca900b206f25b6639fcc502c9a5ace9d7f40dfcd2144e066853b8168774d430717511a78c54faf5f3d9ea58db1f37c89efa13ac193dc22c8e02 DIST linux-5.11.13.tar.xz 117652480 BLAKE2B fd9537a0eb265660ed25d12ff4098ca208035576c580f81cb6a1355eedde2748bdb65521641f68e626a1aee49e7494c79627015a376b7ee4a6373622605ac760 SHA512 6502370280f3bb9d6d91a7aab1249406fbb1f9897eb62baf8bd72bb5845b0ad95931f94aa72de275fb05a36ce1f0d7931fdf53de93a507043f260116185643af DIST linux-5.11.14.tar.sign 991 BLAKE2B b1a33b95e3745ff9bf361614daab255cdc90ebc51c243d4d5101ed24e911b3be357dc12d4d6aa453a957cbd0a9cfdfb1d1e76d264806b9ea4c836a84fad96bfb SHA512 d21bd52c50453d63ff68b8c79373620ad6d29b4becc09bc16b3898eec70b24084cd5d718110f78226b1eac9fae31b6885667da452741b8f30634e13ef4201fe1 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.34.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.34.ebuild new file mode 100644 index 000000000000..2f0d1faa9b9d --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.34.ebuild @@ -0,0 +1,102 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build verify-sig + +MY_P=linux-${PV} +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.10.12 +CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 +GENTOO_CONFIG_VER=5.10.32 + +DESCRIPTION="Linux kernel built from vanilla upstream sources" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://github.com/mgorny/gentoo-kernel-config/archive/v${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + verify-sig? ( + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign + ) + amd64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + )" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="debug" +REQUIRED_USE=" + arm? ( savedconfig )" + +RDEPEND=" + !sys-kernel/vanilla-kernel-bin:${SLOT}" +BDEPEND=" + debug? ( dev-util/dwarves ) + verify-sig? ( app-crypt/openpgp-keys-kernel )" +PDEPEND=" + >=virtual/dist-kernel-${PV}" + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/kernel.org.asc + +src_unpack() { + if use verify-sig; then + einfo "Unpacking linux-${PV}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \ + < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x)) + assert "Unpack failed" + unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz" + else + default + fi +} + +src_prepare() { + default + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + echo 'CONFIG_LOCALVERSION="-dist"' > "${T}"/version.config || die + local merge_configs=( + "${T}"/version.config + "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/base.config + ) + use debug || merge_configs+=( + "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/no-debug.config + ) + kernel-build_merge_configs "${merge_configs[@]}" +} |