summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-11-22 08:05:23 +0100
committerMichał Górny <mgorny@gentoo.org>2021-11-22 11:39:47 +0100
commit88ed7541e4e72dada55aa66f77a3a9866a2deb5b (patch)
tree26f3b6860478e2a7227f37203e715e8673443379 /sys-kernel
parentvirtual/dist-kernel: Bump to 5.14.21 (diff)
downloadgentoo-88ed7541e4e72dada55aa66f77a3a9866a2deb5b.tar.gz
gentoo-88ed7541e4e72dada55aa66f77a3a9866a2deb5b.tar.bz2
gentoo-88ed7541e4e72dada55aa66f77a3a9866a2deb5b.zip
sys-kernel/vanilla-kernel: Bump to 5.10.81
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.10.81.ebuild103
2 files changed, 105 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest
index 52204343e63f..3c46bd2068fb 100644
--- a/sys-kernel/vanilla-kernel/Manifest
+++ b/sys-kernel/vanilla-kernel/Manifest
@@ -33,6 +33,8 @@ DIST linux-5.10.78.tar.sign 991 BLAKE2B 7c0ce0c667457f5933f374512a43e712f9ee9b9e
DIST linux-5.10.78.tar.xz 116448984 BLAKE2B 0c6c3bd590fedd5d42c9d950fa075ba31297099e307c0bd984c63ee076648c75386ae271f388cc4ce5a9206f6e7f0b2d2fd7f8819bde0d6d5574a242a64bbbd8 SHA512 3ec352e6d50480dddfa3fa903c37f72b1b027c541862182e910013c5d461431d4782fb4908c74513d20a4c093abf0318ca9a76bac6c1b56145d0fb21ad194169
DIST linux-5.10.80.tar.sign 991 BLAKE2B a7c03fb059c91dc939bf4f646aa864e7ebe7ea299928ef8ddb1b83c271dae0a39d8168df4734ace405c20e8b91d379d3dc45ded5ddfab0fad54296ba17b0da6a SHA512 47b72cd7242e416411e8164260b797099b94e4f13db469f48b0b10e43a547f5ca676b85c9f7ce031c66b03a95099fa3ef0ee5bea4bffce2856cce85aea6b43d0
DIST linux-5.10.80.tar.xz 116467076 BLAKE2B 7e40b8d8c17b67dda064b3f489b534a1780b0317d1079ed721229a637ed8f56cdf7110971bfa959e1cf96fb2856a293754d6a0c422aa81d760b0e43607c36645 SHA512 f26a6a69677c9c2041e53aa7cd1b4de49522e8a5e5ffe940d91f56019df1e7a5807af701dd09f33066f66e61be0dbb93bcda1b6491f77c493650bb9c011c88db
+DIST linux-5.10.81.tar.sign 991 BLAKE2B 0f685adb5138de72e354b9bfcf9c682d06b4e8be0e01f7766e08976d1ef3ca9adf9072eb0e4a1901dc6ebb477a123f0dbde76ea8cfe599ae4dec9fae09494ab4 SHA512 5f1ba023d3dc16d802574576626f6bac10710b9f56113c2277a55c3f213377378cc7f700f21ce864dd3f77b7281e8c949dece99dfd6c63bd230d9a9b305486ed
+DIST linux-5.10.81.tar.xz 116457928 BLAKE2B fcbdaef750463481b71b0caf7922451a24a57de65bc9ac455feab5117489db513da9d3ec2c59638d533993c6bc47cbdbaa909cce3b14f9de1b47b817cd344ee4 SHA512 f7c4210412757dfac367f8266d2b9a61685d349f0067be07352ec9774ede7f30d7a8cf3ba9366a1a259c8b436e3d257a15a89e1a93a7acbed34c8d41d81bf679
DIST linux-5.13.19.tar.sign 991 BLAKE2B d26b1e733f84725318d8dbf1e9fcade7beeadc38a4a07aebf6be653ab0dff5c0a5533b5591e753745aeeeaa7650b2bf0d1942878b2243aac01b68d0ca81f8367 SHA512 a4c5ad726818ad7bcb87c3b6621abecdb17ea14ba6cc8686bf36ace3c0d16f8c5353b4f02f0b02b60967957d13172c3fa60b1415ce3d2dd1c0f8a852127a6c4e
DIST linux-5.13.19.tar.xz 119374060 BLAKE2B 6a05829867d75705e0282418bd68c1b60a4f2cdced39803458d67c975f8aa3ed455300c19300d7c7cfad71d2e5750b0b0750f825aacb0fb3794eb5b7b3189cc6 SHA512 77f6279fe7de3c0dd35946b991fa190aa70f5e806fa6188a0a676dad0939e2a20136b3dfc659dcac7870b387ead328fcdc287c8a25b63120bea1ac960117990e
DIST linux-5.14.20.tar.sign 991 BLAKE2B fa20d7bdb19b223294ee48d85a9ed8077ed81be85a0fa50a50d357d1440f4f832d336d0a1bb97f4cca11c70de206cb142d1c15781adbfb73d16a740e59c34105 SHA512 2ea744e2ef312303fde620a80d70bde1f3f3ae3991e69e78464809456f1d17587c9a745b64c3c8cc5e2cab41962a9674be4a72baa6d0dcc5cae0e0ce18199850
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.81.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.81.ebuild
new file mode 100644
index 000000000000..3776a78f6f69
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.81.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.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/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[@]}"
+}