diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-07-15 12:39:26 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-07-15 16:46:23 +0200 |
commit | bd806c4a5a2d5bb307c0ae4bdf54412bb60a15d8 (patch) | |
tree | 42025f2f06b69b101b20ddb6baa575d034d1750e /sys-kernel | |
parent | sci-libs/geos: Stabilize 3.10.2 arm64, #842543 (diff) | |
download | gentoo-bd806c4a5a2d5bb307c0ae4bdf54412bb60a15d8.tar.gz gentoo-bd806c4a5a2d5bb307c0ae4bdf54412bb60a15d8.tar.bz2 gentoo-bd806c4a5a2d5bb307c0ae4bdf54412bb60a15d8.zip |
sys-kernel/vanilla-kernel: Bump to 5.4.206
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 2 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.4.206.ebuild | 108 |
2 files changed, 110 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 584db7bfe68e..99838aa4a967 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -39,3 +39,5 @@ DIST linux-5.4.204.tar.sign 991 BLAKE2B de8ff80c51520b6a8f79e625e98eefff09718905 DIST linux-5.4.204.tar.xz 112938836 BLAKE2B 8ec6e5693afb25a606c1f867f55ecdf14920149867a6a7ab6598a954f810af13f93bcdff40abb5373eaf61bab35c74eb1020e079c95b91f63c3b2a17b2a15228 SHA512 f22da92859eb94ec30b57f5efb2aa1af851152c152570f930ab4f09405843f8f60b457afda0d4b4a8647dc17c8f36bb8aa25376175b16073b96f98e87d19f1a3 DIST linux-5.4.205.tar.sign 991 BLAKE2B f4b3428db3b045b1540a3633147dcd8ad3363bf479eed2b921a4f17c38c43a24343941d33eac674bf5c2e03db7abc0e2d5766e4391a88b37353e58ada786e305 SHA512 34e093c1a7c28121247098edf86dc70ac82f52a76d388889bca5ae994dbafffdb540d7b222ee4e7c287fe4ce36d9719938db7435d0525661c916bfb8e6263c10 DIST linux-5.4.205.tar.xz 112921464 BLAKE2B b1e476274e0828459bb71f38bfa1dfc6dc088a6b92f34b1a5fbe07ac0ad62e874d0dc861d2e3c9efecb004e63d427c7a041ecc1ad9c483af0067badf42a14caf SHA512 6f54e88d7ba7a9d83472dc871b3fab36f55a90e6e49c4c5501e9cedb4fd00836c7ceca82e6b6eff1b8844ac5d89cccbabbfefb9b554126c7c51e426101666c53 +DIST linux-5.4.206.tar.sign 991 BLAKE2B 0d7814ef65a8a70f7113dce971ebae279cb0f267211b603a8524c96bd57f1f10c8bda0e2e3a0c1a71f9560e04f8f3b00e9b9f44dca399910170d8655ef57d234 SHA512 bcd313b523dfa15a85e0442eb0341abd2e645dd5c8822f81bd5041d393669c43f2179aa389933306da87359b90b8e7067165b9af1fc864f8fa000c370d27b2b3 +DIST linux-5.4.206.tar.xz 112942916 BLAKE2B 7066a482b73c5636f98f369e02eec7023313ae06cb78a2b5be947f9a618b01bc854f997df8e0a9912e25f8be453c277f865004268a558c75c0b7894802877037 SHA512 6f8ae37d4ea918d4590b52468ed60b30f848120ef4949e5719e4b225b4ef9597d449e520f4ed8ffe8a29d659da3191691ce9a2d9968f6f437265057f0ff301ba diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.206.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.206.ebuild new file mode 100644 index 000000000000..4f5f7870ccb8 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.206.ebuild @@ -0,0 +1,108 @@ +# Copyright 2020-2022 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=g1 + +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/${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 ~ppc ~x86" +IUSE="debug" + +BDEPEND=" + debug? ( dev-util/pahole ) + verify-sig? ( sec-keys/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.config.${CONFIG_VER}" .config || die + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .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[@]}" +} |