summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-11-17 16:32:01 +0100
committerMichał Górny <mgorny@gentoo.org>2021-11-17 18:03:20 +0100
commit21c01cfeab9e59b97c1b6173784371117dc58aef (patch)
tree457430af1d67e71f944e32c3bf2be227328fc94f /sys-kernel
parentx11-misc/xorg-cf-files: Stabilize 1.0.7-r1 ppc, #822339 (diff)
downloadgentoo-21c01cfeab9e59b97c1b6173784371117dc58aef.tar.gz
gentoo-21c01cfeab9e59b97c1b6173784371117dc58aef.tar.bz2
gentoo-21c01cfeab9e59b97c1b6173784371117dc58aef.zip
sys-kernel/vanilla-kernel: Bump to 5.14.19
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.19.ebuild103
2 files changed, 105 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest
index 4831d4e3ca36..38062fdec4d2 100644
--- a/sys-kernel/vanilla-kernel/Manifest
+++ b/sys-kernel/vanilla-kernel/Manifest
@@ -49,6 +49,8 @@ DIST linux-5.14.17.tar.sign 991 BLAKE2B 70aef9a667fdd9c61623731ce1d725cdc39f2fb2
DIST linux-5.14.17.tar.xz 120712240 BLAKE2B 837649f317a88fd8d086b06f39b2ccefe40055b312c9a9d279ad366db9568979afe5500417f65cb92092f73e6b0ac9117190eb662ac0f6e620243cf1028d80f3 SHA512 7a512c923853a5d8b64fc3584f55dbc0e35188b5159a503e7559db4343d06137fb1fc86e14aa571603ce97050f35b1b32b9ac8e11d667c816c3536f77b2a3e04
DIST linux-5.14.18.tar.sign 991 BLAKE2B c1111143b50dc9d91525d7a0e280dfd4267b5eae524836ba0e63a3b328dd5ad8302435e54fef0cecce6fa1189abda1fbde16d97fe184129e28d15bf6e83a3691 SHA512 dc359ca2a82cfb16f90fb1f741bccc220a233fb6f471c712e46e929d5e0480ebcf19905d1ce47a667f3f11fcd90d57d860f429d28b3535d16efac1f34a461a7c
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.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.19.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.14.19.ebuild
new file mode 100644
index 000000000000..1981476fd75b
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.14.19.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[@]}"
+}