diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-06-18 08:35:26 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-06-19 08:02:24 +0200 |
commit | 1ddcdaeea8cc45ae3d8871723a0655749400d7b3 (patch) | |
tree | a004b88d44626e700c89981c326e819fef4bb1fa | |
parent | media-libs/rlottie: remove old 0.1 (diff) | |
download | gentoo-1ddcdaeea8cc45ae3d8871723a0655749400d7b3.tar.gz gentoo-1ddcdaeea8cc45ae3d8871723a0655749400d7b3.tar.bz2 gentoo-1ddcdaeea8cc45ae3d8871723a0655749400d7b3.zip |
sys-kernel/vanilla-kernel: Bump to 5.4.47
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 1 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.4.47.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 4b32b68c6391..fecf3e06b3bc 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -7,6 +7,7 @@ DIST linux-5.4.43.tar.xz 109534404 BLAKE2B 33a467b5c57d1457ec4c02961bc4ea798819e DIST linux-5.4.44.tar.xz 109536112 BLAKE2B 85a355b99cb2c69a87899162a41dc48b2f956ddab6e9927daf2f99de126766571e04ac17a3317638ee43497056ed643ff258315bc9e095b22d51b4112031d252 SHA512 e91ddf29880668786de8d08ab220616fc0fc11ac962789a843dd70f92697c782699df2356c55f355161804c91653b63467a582694fafc85b23e3ab0189f5059a DIST linux-5.4.45.tar.xz 109551316 BLAKE2B ae8829277fa716dd786f5a27148f038d326f3a00d8967242d18b6f7e65de9d802b733cb64136f2904dc6b04364baa8925299742cb72812e3db6cd2c4e3ac4430 SHA512 c50acbc6466d276e41f511a63e86f7280c5f4bddbbc5c482dc303c72b30d3e6051b1f9e66bee85fc091209daf35118bb886b6efbb8df809f5dbb949185e55ab7 DIST linux-5.4.46.tar.xz 109542096 BLAKE2B 99c63fc28649fc7e75a18a8a6786ca81f46516979cae9dabfe604f3353ae8a145a1a2b7e6e2747af6ea7e11d52518e7ff4261ffce0cbbd7084318da56d429e2c SHA512 780d515dfb7490f3d0ea8683d4a8f7da88c2d027c1d94a0c76507f0a9b2aa3a898401eec6684206dafd281a886062c2537b8ab1865ed08a576bb1cd6c9c75f7c +DIST linux-5.4.47.tar.xz 109535968 BLAKE2B 0c0226343b26d43a39c7188ead8c07b0e7bd4b5c237d5327f22b60462129914dd285d1205ff249be2a8820040a3f471530737a28103881b0b3e4e00fa7eb7b26 SHA512 58dfd71a49543582ef3ecd1406bb82348d21ac780a01a24a3270cc3564b94169f2838fe33309a0bb9de53b29bdf55bf676456b60bac110fa1b804f0a0446fe94 DIST linux-5.6.11.tar.xz 111798824 BLAKE2B 0b483cea53eade0e0f74dfc7230c79c0df8b383f1bcbaa71c6bcfa05a06f15e3c8b7ad2ffd0fb096d091cc3d191ffa91c984b60377f28c8fd77873ed8751668a SHA512 f4c02f59353d2199084583bed6fa9cec6e7a7cb755296c883969c579a8f9d34e202c3c922eaf32ca7a3ffbd35ada7f835545d4beab50b2bab2a66c43e739ec74 DIST linux-5.6.12.tar.xz 111805220 BLAKE2B e7fe1bdfd7acbbe774c6630785533d3f76e6d0bc195472f106a5859579a5d7ff11b9ec474a86d9a714283110606865bc0abdb96d57b478f7b90fea328f197fcc SHA512 34f91c07287707901786166c6056e75edabea263fa61bcce8d5c925ed48323020e1400283fa29263e6e2e740b75e0165077388330ed900d81f30b35c73fa7752 DIST linux-5.6.14.tar.xz 111812744 BLAKE2B 6613ae43fde5313c972a314a5e4008d32da51b87a5773e2f9819d53209e8661fd7436e029a3b28f21e26aab937fb0a4b1b6891bd1f865b642a386ae3d89470f7 SHA512 fe19ad3165ae46f1511e39c495ba1a5a304ea3f69a169debe27026e0c888a4766b1618c76aee2279ba6fb0316cb731fdcd8ad5f9ac8dc1d4058573bd5dc00cd0 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.47.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.47.ebuild new file mode 100644 index 000000000000..cc5e365bda59 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.47.ebuild @@ -0,0 +1,65 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build + +MY_P=linux-${PV} +# https://git.archlinux.org/svntogit/packages.git/log/trunk/config?h=packages/linux +AMD64_CONFIG_VER=5.4.15-arch1 +AMD64_CONFIG_HASH=dc8d69b59a7a529ec5aaeb6b32b16e59a3cc1569 +# https://git.archlinux32.org/packages/log/core/linux/config.i686 +I686_CONFIG_VER=5.4.15-arch1 +I686_CONFIG_HASH=1ad219bd3f0ab439a81ed01fec7660eeea7daa0e + +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 + amd64? ( + https://git.archlinux.org/svntogit/packages.git/plain/trunk/config?h=packages/linux&id=${AMD64_CONFIG_HASH} + -> linux-${AMD64_CONFIG_VER}.amd64.config + ) + x86? ( + https://git.archlinux32.org/packages/plain/core/linux/config.i686?id=${I686_CONFIG_HASH} + -> linux-${I686_CONFIG_VER}.i686.config + )" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + !sys-kernel/vanilla-kernel-bin:${SLOT}" + +src_prepare() { + default + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}"/linux-${AMD64_CONFIG_VER}.amd64.config .config || die + ;; + x86) + cp "${DISTDIR}"/linux-${I686_CONFIG_VER}.i686.config .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local config_tweaks=( + # shove arch under the carpet! + -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":' + # we do support x32 + -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:' + # disable signatures + -e '/CONFIG_MODULE_SIG/d' + -e '/CONFIG_SECURITY_LOCKDOWN/d' + # disable compression to allow stripping + -e '/CONFIG_MODULE_COMPRESS/d' + # disable gcc plugins to unbreak distcc + -e '/CONFIG_GCC_PLUGIN_STRUCTLEAK/d' + ) + sed -i "${config_tweaks[@]}" .config || die +} |