summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-11-18 17:56:31 +0100
committerMichał Górny <mgorny@gentoo.org>2021-11-18 19:28:02 +0100
commit44059067be4d69741ccbfd885b82b3b1cef5b254 (patch)
treeb26653eaba08bddb7ab4cb4c5b086a6f8eff6e4a /sys-kernel
parentdev-php/pecl-propro: Drop old PHP slots (diff)
downloadgentoo-44059067be4d69741ccbfd885b82b3b1cef5b254.tar.gz
gentoo-44059067be4d69741ccbfd885b82b3b1cef5b254.tar.bz2
gentoo-44059067be4d69741ccbfd885b82b3b1cef5b254.zip
sys-kernel/vanilla-kernel: Bump to 5.14.20
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/vanilla-kernel/Manifest2
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-5.14.20.ebuild103
2 files changed, 105 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest
index 29447041ac10..44044403da4f 100644
--- a/sys-kernel/vanilla-kernel/Manifest
+++ b/sys-kernel/vanilla-kernel/Manifest
@@ -51,6 +51,8 @@ DIST linux-5.14.18.tar.sign 991 BLAKE2B c1111143b50dc9d91525d7a0e280dfd4267b5eae
DIST linux-5.14.18.tar.xz 120717464 BLAKE2B 8d9b45a0cc8c8e5b21fd07c07d5df718833bc0e01b199e3975b54bcdeabd27e941ebf594e162ca10c034d4dedbe511c7eaf41d7367a737292abbad0730ecf80d SHA512 c35c6ebda708779748d58f1807ae3e97835c6573699285ff92928899010039753d4ec9e93bfbc804253536da0f9132fa60911a8ebd751857b62ec912661297cb
DIST linux-5.14.19.tar.sign 991 BLAKE2B 170c5863386153a53827bbd27443584525195915fffbd6659720845c886a2e5868e12e319d870c0870858ab432d8848a737eca2b5f0c1aed70d593e5197168d8 SHA512 37719640003f026236d280aff2e3cb6ab899e3799c8b18a4d9cffb3d172d64b1028a7bda66cb1c52cd6839c3f909a7625d5913a9716929c55e388826956d9f4c
DIST linux-5.14.19.tar.xz 120705228 BLAKE2B b97e540a279845de2027299d1f4390f35b9efb2a21e1eb30d20f9d35cebfa618f0b56c6c78c614c427eaf8121f515c451a4ce744b4d692ee394b072b2284239f SHA512 5b8f1daf30df41356067a77c244ac2b527a325a37a695bce43699351d24f0daeb37ddb6c4d811f6e73cbb6da35f89488c6ef19b6f153959f0b1a82a929213021
+DIST linux-5.14.20.tar.sign 991 BLAKE2B fa20d7bdb19b223294ee48d85a9ed8077ed81be85a0fa50a50d357d1440f4f832d336d0a1bb97f4cca11c70de206cb142d1c15781adbfb73d16a740e59c34105 SHA512 2ea744e2ef312303fde620a80d70bde1f3f3ae3991e69e78464809456f1d17587c9a745b64c3c8cc5e2cab41962a9674be4a72baa6d0dcc5cae0e0ce18199850
+DIST linux-5.14.20.tar.xz 120729476 BLAKE2B 9572cb635df57e3972a747de0efbad87b64724a609f375ff0f9e6bdb25931795632bd1c770553a6ef22eb9fa0e5dbca9bf862563341ecd471f61f34affec475a SHA512 bbf4166ef6a74948faecfb025761290484c8ad15d88376311dc0a92df7717d900a6d642e206ba0160ecec0e1c360ba1db9fa5dfd375bce580abe9320a41b649e
DIST linux-5.15.1.tar.sign 989 BLAKE2B 312af6cf75c537117e23146a7f9021d66dfbfd2b2311951f2c676268a68305b255eeb8367963ed6cf1b95a9777b959f7ac334f3a56f95335f4fb0bec40181ca7 SHA512 09a78a12846caeb646cc5c3857e87ce0ab65cf23c0e8ad7299f47b01266edcd86f9fd1bf35e6fb8ead52d039218a68f4de5bc841535e0ddf186fd6a75a5a1534
DIST linux-5.15.1.tar.xz 121902332 BLAKE2B 4285adfbd99fb853f70db73aed2ba68e146645495d8afc060c5ddae21aa67b3a92c09e76c69809693d4b3b7bfe9dc64efa4c7c43044d19fbd66898459a3f8958 SHA512 bfa8f7a4a742038ebf8f9a5b151554e268545543abca1ea1817fffcf388d6a5f3af3dce1c8279824af3938a9155f5a0d547edad334486d0fe78b7bdf3aef78f0
DIST linux-5.15.2.tar.sign 989 BLAKE2B 606b013557b8b6ed0305cc0e50a125c69bfe25c46725ac77660d6985d106b395bd6d1bd2388d34f3be27197df64425aa154260b5a13eb0ec7c167fb11bab68ff SHA512 7ede2846cef69a1c3ee08e37bebc0ecfd2d8b3710d7d573bb3ee61320c17e8f9dd6dacda8cb0fc5e458d5d50fe4a7e2b28d1438db39cd2b426d315a14d342885
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.14.20.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.14.20.ebuild
new file mode 100644
index 000000000000..1981476fd75b
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.14.20.ebuild
@@ -0,0 +1,103 @@
+# 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.14.14
+CONFIG_HASH=072218102fd9274725c08fe0686fa387ddf02371
+GENTOO_CONFIG_VER=5.13.4
+
+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[@]}"
+}