diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-03-17 21:45:46 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-03-18 01:30:50 +0100 |
commit | eadbf2d7c121da0fc1147cf05286709f4da0ebac (patch) | |
tree | 83b4edaa7ba75fbb0dfe39bb22b9df8384a0aec7 /sys-kernel/vanilla-kernel | |
parent | net-misc/sks: remove unused patch (diff) | |
download | gentoo-eadbf2d7c121da0fc1147cf05286709f4da0ebac.tar.gz gentoo-eadbf2d7c121da0fc1147cf05286709f4da0ebac.tar.bz2 gentoo-eadbf2d7c121da0fc1147cf05286709f4da0ebac.zip |
sys-kernel/vanilla-kernel: Bump to 5.4.106
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.4.106.ebuild | 108 |
2 files changed, 110 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 4c9530381c58..cb29a0728fe9 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -49,6 +49,8 @@ DIST linux-5.4.104.tar.sign 991 BLAKE2B 86d63b75caecb65842bb2685b5ed586fbfc104ff DIST linux-5.4.104.tar.xz 109085768 BLAKE2B 2b648464a2d36d60511966b9a3672768139d8e16373b7218f637aef558ee88825a0e582e44f9bef3333c7427169f1662296f494e6cebe0bb01aaba8e3804e918 SHA512 3bbe5e8c2142e52b124eb3fbda91516ac6e7d8b08eabd96a5660b00bb1cddcb80c1bc0f8d807681de58f6b0a986d1ac340066d37b0a92e612c700ae988aeeb2d DIST linux-5.4.105.tar.sign 991 BLAKE2B 797d4d2e1b23e740c45113aa82a138d0632dc7e99705aed8eb512cc180768f59fd7c3ddbc6a2e8d84b8b4b4c32004d8dda87e441d0e8425795823f841acc5f5d SHA512 efd7f79b89224bf0b48a088beb57caaef49373f4e79dddfbb87b6a3c7e7586674939b43f4af524ef1abb3c20617636392ce4b425df404f671638c80b5a8ee1dd DIST linux-5.4.105.tar.xz 109086968 BLAKE2B 5a575d3fc8e7f51eeb244194a7e947dd4bf72890d7a4b90aa77f49f1b7c6c9d79bb03d68275608820642af6513402dc26f2179941f311d6357b722983000c457 SHA512 423be7e90bf49a4afa7f6f3dc8a8bfa9a1691b73ccdc081bf5bcfe0612a084b8cb37acdab77a480629d786cf6d66d48cbed84d505bd27d6f4d815934010eafe7 +DIST linux-5.4.106.tar.sign 991 BLAKE2B 06dc3b61daa4e5073b0f0d0b51b3f11ba2e27b59466a1b76a9ba1ecdf7ba884271575060dea8944f56380cf7f53fa9b785b8036c10d33f783ef32607beaa93c8 SHA512 d699fdaa8a4cce5ebe29dff5d4261797e9aae682562cdebf7017c0f9cee63b4c900e1955d4481ddd2b0f547eb989c12462684dd64299257621be8fc0967716a2 +DIST linux-5.4.106.tar.xz 109095288 BLAKE2B 5ae482c8ce2307350c7e5128a3ee416e3cec847dfe85ec849fab90543476c7f5d6121d65142bedaeadf24b98932e113aeeb85ef2a54e5d0eb93b4b17b434d41e SHA512 2944ecc631be58c62db28ae7203458e5fe9619931dced8f7f2db3ff861db667476f4b20f7826368f0d676a2025e7de4c86ce18684160bf16280db746e5097097 DIST linux-5.4.94.tar.sign 989 BLAKE2B 779a725d0164c98bf2ebc0590af693eebb6fe71837e0f8642b376fb0fa4bc893e8c2b52a16bd0c1cab7aaff4295f6bf31b8fdb7c2d95bd8601eac74925e2211f SHA512 85ec9c16642aac5640d0486ba704b787e2e4156fccdf80f4d538b4d6524c914b64e6ba1d52bdda15b3601faec643d6656fa2cf57976a9afaff5265f9dea840e0 DIST linux-5.4.94.tar.xz 109082512 BLAKE2B fac6683453e41065760cbdd170ea4a5f72778e39807389d2f4c4dd9165dc1727a875ee26e6e440089ec2d8e8b4dca9fa1e1dc02a9b217cada700f9a118ae7613 SHA512 2d9f0feeb9ba6871d31c8a5e281c8e3eed99ce7da3af3be4f222db37f082374f852021a5117a994c8cc37681e5f335329c9e430e7edb835de801c901765a505b DIST linux-5.4.97.tar.sign 989 BLAKE2B 767058a0c491aa1435d5dcd25d5f26ed1dd283cbb903063d00020e2a5e7a2a965b7774df3fe4e5484bb1c76e906e9622057f60420d9dfe31a5305d85b15e2d1e SHA512 09fc4efaf777d12cfeb61e7d24651ca68461c108666be90bf216ee5586cabf47976d60451f8cbdb636ff3f3a4b66b84edfc0255b26d3589f918c22aa394dd76a diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.106.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.106.ebuild new file mode 100644 index 000000000000..0a544ed36171 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.106.ebuild @@ -0,0 +1,108 @@ +# 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.4.21 +CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea +GENTOO_CONFIG_VER=5.4.89 + +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.config + -> kernel-x86_64.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config + -> kernel-aarch64.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le.config + -> kernel-ppc64le.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config + -> kernel-i686.config.${CONFIG_VER} + )" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="debug" + +RDEPEND=" + !sys-kernel/vanilla-kernel-bin:${SLOT}" +BDEPEND=" + debug? ( dev-util/dwarves ) + 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 + +pkg_pretend() { + ewarn "Starting with 5.4.52, Distribution Kernels are switching from Arch" + ewarn "Linux configs to Fedora. Please keep a backup kernel just in case." + + kernel-install_pkg_pretend +} + +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.config.${CONFIG_VER}" .config || die + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le.config.${CONFIG_VER}" .config || die + ;; + x86) + cp "${DISTDIR}/kernel-i686.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 + ) + [[ ${ARCH} == x86 ]] && merge_configs+=( + "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/32-bit.config + ) + + kernel-build_merge_configs "${merge_configs[@]}" +} |