diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-10-17 16:16:54 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-10-17 23:14:54 +0200 |
commit | 0bc46a3127ac92df20045b8611dd95c16d91db9a (patch) | |
tree | e0ae53cd08273f60a938da4349f7c06028abf4f1 /sys-kernel/vanilla-kernel | |
parent | virtual/dist-kernel: Bump to 5.14.13 (diff) | |
download | gentoo-0bc46a3127ac92df20045b8611dd95c16d91db9a.tar.gz gentoo-0bc46a3127ac92df20045b8611dd95c16d91db9a.tar.bz2 gentoo-0bc46a3127ac92df20045b8611dd95c16d91db9a.zip |
sys-kernel/vanilla-kernel: Bump to 5.10.74
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.10.74.ebuild | 102 |
2 files changed, 104 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 18f028b9ff46..6f0cbb6a1200 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -29,6 +29,8 @@ DIST linux-5.10.72.tar.sign 991 BLAKE2B f5b3025d32c5d852dee6d7aaa64c64ec6c34ef8a DIST linux-5.10.72.tar.xz 116438780 BLAKE2B de53cb5ba4e99d45ed739cee180c8f28edebf0206c0dda548c7b5f3929e93e3d72d8e05eddd1878723e1cc29cac6ddc98c9131594a60529db552d07c96ac2451 SHA512 24646ec0a673becfc7a9ac50dad9373a5ad40c3203ec1e45c7412a80cfc250fafe90aac5aa65b1ce71dafaf9bc3079470d604f11e7abc0a2510789b710b16be3 DIST linux-5.10.73.tar.sign 991 BLAKE2B 7e8cfac025378f5a0f2fdc91815f8333507106260c1a37306c526e72988f202a3b5cfb23917cde70a1188e7edbe433de91de5bcb3cb31209e1224b68e8564cbd SHA512 565affb2fd23de21eb11d07a914c17f15000b648bb33edf4cd6a0550f80f36cfce9969bbb83535ca9620514dffbd6cbe21737d37081dc987f1e2f21396123894 DIST linux-5.10.73.tar.xz 116436432 BLAKE2B 0f85aa816530ab3f738f4ae203bd681e439002ae2a1fe1ba2fb3238e194d79812f1bd084d76d4ad985fdc94d5c913579336652c0b8afb0f8047fd50e9c2db99e SHA512 8dbc10e67a59c2f416f64891f26e87226dfaa39d0d31274467527be01dbf41d7131832d6dbc4aeb2507558aee07aa41ee7ccf79c09be3add6a40a1e6773083f7 +DIST linux-5.10.74.tar.sign 991 BLAKE2B cb4477a85732a41f3fc565d60ec8d39f6408693f1c6392e39f120d8400b7762202d9fbef03dfaf36ecc2d3ea2406ea0f082637f762ed3b3ac0cd9ea035273ba9 SHA512 50575d27166e8bb144524a78b126dc282d2a0a3c832554b8ee5b2579f9d92f855a080593be82195705c3b9f3939f1743023bdf3cc9a051e5cd5fa29dfa1c7b47 +DIST linux-5.10.74.tar.xz 116434932 BLAKE2B e60d9b8ab3cf30a56617037435dc654db67f2e40918bc3c95bcf5e9e8a85d2487c49cf9bcf909675595f6ce4cf59437f2b328635398dad4ee5b7145a0c9492b7 SHA512 d978359f2d8f3f26dd975acda2caf1107e1b0b784aaba0437a6b4100990e50a6d3333a41647f56cdb2bea2ffb75113952dd6ea1570a2fcc88321254e6539bc6b 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.10.tar.sign 991 BLAKE2B 899b62183a8e8d9ca26a5bc789c9c728db18f0fb44b7887ceece72b0ef4cfb99444ad20bc08714fd62e1d8c9a4fc4bc8a3c48bad09086723f205cba821bf6c44 SHA512 cdd41731a8502864a04dc5dc3b21cc2b149015bb7894f2f7ace9b571784ff5ab6d2e7aa48b90fa46840f18edfb7bcfda5cb042f34c58b7232b643673accbb7fe diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.74.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.74.ebuild new file mode 100644 index 000000000000..12c958a4bb2d --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.74.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/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[@]}" +} |