diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-04-22 08:02:34 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-04-22 18:02:27 +0200 |
commit | 14eeb1733187b258a599fada3b71014c5ba3b606 (patch) | |
tree | f7c54ca668a4990e63a28a4798606de8581f02fa /sys-kernel/vanilla-kernel | |
parent | dev-python/aiohttp-jinja2: Enable py3.{7,8} (diff) | |
download | gentoo-14eeb1733187b258a599fada3b71014c5ba3b606.tar.gz gentoo-14eeb1733187b258a599fada3b71014c5ba3b606.tar.bz2 gentoo-14eeb1733187b258a599fada3b71014c5ba3b606.zip |
sys-kernel/vanilla-kernel: Bump to 5.4.34
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel/vanilla-kernel')
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 1 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.4.34.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 5bc0f7c62a46..11a3a03b9aad 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -5,6 +5,7 @@ DIST linux-5.4.24.arch1.i686.config 240684 BLAKE2B 8c29d083cef61f0c61e7256553c00 DIST linux-5.4.31.tar.xz 109511080 BLAKE2B d4feb08f0c84397c185551aa1d1220cede176d4c46904bde68492cf0db8d3bc8c3562de24b11674d23cc2850cdce2cf0bb77dcec962814f8b348690b566d7372 SHA512 0afd762ea25f5cfb0de26be30c67973f34902a7c2a1541b05921ce94e893a7a3a67f6c56b7b89ef5efd8f3b81a08197b479e28b57e53cfaf56c02fb00bcd95eb DIST linux-5.4.32.tar.xz 109501416 BLAKE2B 0ac78d1eb97ce4689ccdab01fb1475d07f29a90251b44b05fcf030d2f9aa644ac9dbb1315c7fe1eb991ef1435b7f17669e2b4f66187e3404599a0f136d2b1a50 SHA512 197f292fa541031071b8ed64880a3d4251fa65059747cbdf3900b8f934d17f681b506ca5f70132899bdef343d2d249a7902215d2ea04af5410599f1e50d6cbac DIST linux-5.4.33.tar.xz 109516064 BLAKE2B 72e312962aa684a8eefac175e7b2cee25d4413eca92a16a40ef2ec4313f31a3b66bbd051b8f14f7e9ba0a6731fb21a40aa82ed650f78f2a8f97750ad36247fb1 SHA512 3a972efad935a4dd250de9ff192602760bd6919de2be15aab8b0b89ea87ae6c51368d65641280213003f8ce566acf092fa739e26f7c639d12eb23a25c51e35b2 +DIST linux-5.4.34.tar.xz 109518236 BLAKE2B f8a73185310efa1b2eaf401a2e33f0e94564ca0e831256b8d341a211cc5ade93f3a559c1f64ae1e96638bdff9d7637e5e2631998e86e9136d5869880c3a77641 SHA512 4569e21d2b32bc10c87bfb310fdca836176828d2a000a7c92461c918b266762f043c71dccd03ca06b539601fa0eb9c8adf3f9d859fea665e191bdd507d60a306 DIST linux-5.5.16.tar.xz 110763424 BLAKE2B dd15f3d9c52356cae47c8c7bc57779fb8810afa3695daf207165f0508557d7d3a6cd92a1c023d86d264aee73503c10d32e8cedda1111ebf0202df48ae84f514d SHA512 018a01aea483b43cac2313bcaeddd85c59bf9f233106ffdb057b98f5c57a97205ff3fc7b80310cef04cd9fee61584ce82e0c14409cab4391bfc6ce396ebb5333 DIST linux-5.5.17.tar.xz 110755932 BLAKE2B 541210fd9b4f7229e63a6d38b6b857ca92c83509be1e0278ef76e9550c70b17e318d40bd5027c4793ca2bf232647a1021b21b80232cb9ad2fa1b5cc126eaceb7 SHA512 23a31092e2cb1e22b7bb2515accfaeeb15d5f4f17bec3315ee42c5043eef0238ffa90d237911adcf6ea1d99ebc1abe278ec51bc889a08aa159a5fecbf17ea663 DIST linux-5.5.18.tar.xz 110772788 BLAKE2B b30d52ddb7833e61d6ac84b97e3bde362992b3bb4fca307acfdafd01d703654dafa48c8bdc38c6821e82e139cefff8e699c31da6832af37a77cd574d63475e3b SHA512 027c2859aa5ccdabc824db4532a0522ed4594355b5383199ee6da144bfed64a5c2fa8ace59eb684a237790c954abbace4132a2cfa4902de67bdd96ba0528fe2c diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.34.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.34.ebuild new file mode 100644 index 000000000000..cc5e365bda59 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.34.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 +} |