diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-06-10 16:01:36 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-06-10 18:46:51 +0200 |
commit | dfefaea21919c87abf6d3c3244a4d76ce650fd58 (patch) | |
tree | b7d67b0ac2ee47ec0bda7d1efec50408b64e1811 /sys-kernel/vanilla-kernel | |
parent | www-servers/pound: keyworded 3.0 for hppa, bug #789996 (diff) | |
download | gentoo-dfefaea21919c87abf6d3c3244a4d76ce650fd58.tar.gz gentoo-dfefaea21919c87abf6d3c3244a4d76ce650fd58.tar.bz2 gentoo-dfefaea21919c87abf6d3c3244a4d76ce650fd58.zip |
sys-kernel/vanilla-kernel: Bump to 5.12.10
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel/vanilla-kernel')
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 2 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.12.10.ebuild | 102 |
2 files changed, 104 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 4f810a5885d8..a7f6099537f8 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -30,6 +30,8 @@ DIST linux-5.10.42.tar.sign 991 BLAKE2B cbf7ee5fdea8e46c53bfe086d7600e4afa8e6ece DIST linux-5.10.42.tar.xz 116351444 BLAKE2B 095722895f2570761ebb152fab4a0bf296e891c2f9270192f0e070e765af4d9c1d9297bb87dff00ea56d97035971f4e0adbce1b412b4f7484dbb5cee9e68fafd SHA512 c55fadf0a2b3cf43ef65fdd58768fe13cc3e4d8cd6876897a6feca75c414c4e5ecaed61b96128c16ccdeb184ea0044dd36eb02bcb09c58d9a8ee88946d88c0be DIST linux-5.11.22.tar.sign 991 BLAKE2B fe9fc24695c42e7784b98da7555f3b70352763a2bffac2ad1488a371960d12e15ae2a559ecf11227dfc96c06c0b45dc46200b7f4be87717c3d55e7b2ad484a75 SHA512 6a18971c881fd314f04eaa32865f57e4b43513a5bb114e047e59eb5a19ae8e02acc13a306f701a29ab73c7e9a5b9e8af67626686f340179270732bb76f77e3a7 DIST linux-5.11.22.tar.xz 117681288 BLAKE2B 21e1a7c6400c6997ec0a66a4ccd7c3789ad99e9319e8f412a5e26f44b309ca6581077f84fd17ebf265089956ed2625acce12d6d6d9f246690c6acd6b21279840 SHA512 1f61c1d9e2ed3095110105b6f33565343e762c7e5e5f9406a3a5884b78ca8ff8e31bb5da2880b45b92ca3adb0539dd69597791de87a41369cf77e325abfae35c +DIST linux-5.12.10.tar.sign 991 BLAKE2B e13957f787397e09e04c1fcca75af58b80f0340150c9c738628826c17b77efcf14ad65a45363193c2fc2780630b1b8315f427323e2b15f65ca1ee0294300da49 SHA512 0113060125fe4a5015c0bcec82e873db3d5a4a5ea82764f15509f0abfd51af34b25adec164d2e765cbe3c059caf71a5047881cabada9599cfba6c947ae4dd6d6 +DIST linux-5.12.10.tar.xz 118148040 BLAKE2B b40ef5a11ca435299899e8131fa72af147455cd8ebee4c0e187572b1f628e66d2b6fbb318308bc911a598d8303d1ab3622d52966deaa5c48d59dcd65f4f58687 SHA512 b7f897582fbce307f8d24c4a1ea490050afd7d1e1af24ffa621e863238cb9ff8f1c1a378392a546a5880c9db50c8420504a052ff67d86c9ae3f82145d9f5f42b DIST linux-5.12.6.tar.sign 989 BLAKE2B b56b774cf47797224f97a93e4ae6708cc14773a42f4d5768f694fa102071118f6a66ffc5532c01906db1291cd67b0d316d1716eca727a3b7d2a3ca55fc637d00 SHA512 8e46afe9027d8c12b280afb061b26dcb95a297f57b5ab63cf752ab63a3d19452478192596b7687f40f2fcb7382de041cd7cf678810eeb0ce69ed6b338ed8cf8d DIST linux-5.12.6.tar.xz 118142052 BLAKE2B 94a6f2b620a33fa52fabfce5781a7e0cd57ee03e65e823e5f25fc0d0bcaec019f9e955bc78c7799f258273c7e36cc277035d07afe4d4b3036bbe2ff526ce9b85 SHA512 94ed56538c0dde46f25e213ad9ba37df7af68a6d040307d4d61496a91902942b830afac04c48d8bc28b8b782365326d20c88278731e60a80736ea923f4272fac DIST linux-5.12.7.tar.sign 989 BLAKE2B a45f96c052de0bde5c6bcb02bd434cb8f413fb1fac4d2da2e1ea85c69c08362a88adf06dc5d4b5f4357d4a0b6485de4edd1e5512ea4687facc9391fd4e4e6443 SHA512 541b0341139b95af073c50279a03157ad237d5627dfe4f2c6477b78da7df28263af1a19e72282d12f53ebd8028a06a5578fd9298d4263fc07ec65dbd9ff3c80b diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.12.10.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.12.10.ebuild new file mode 100644 index 000000000000..32d99a8f85d0 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.12.10.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.12.5 +CONFIG_HASH=17639df044f5f81bbf267f566426eae4a5187875 +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/pahole ) + 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[@]}" +} |