From: Michał Górny Date: Fri, 21 Feb 2020 06:01:39 +0000 (+0100) Subject: sys-kernel/vanilla-kernel: Bump to 5.5.5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=acf5c04dbc4e05ca86c088f5cb349639cfdd280f;p=gentoo.git sys-kernel/vanilla-kernel: Bump to 5.5.5 Signed-off-by: Michał Górny --- diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 2186489d3aaf..556c7e849ad2 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -14,6 +14,8 @@ DIST linux-5.4.21.tar.xz 109482812 BLAKE2B 21322e6bddbdb2d8e7c0e21a3bb908b83230b DIST linux-5.5.1-arch1.amd64.config 243880 BLAKE2B d8a5b3fc87c462000ee63bf8611c4075737a61a7fa939b941bb0b139f5e94ffcf53809e3ee1a80b280d2ad2241530f2aa524fbbd291c1198f0aebeaf3bbd9718 SHA512 0b58154a521e41f6275f56198ed8613afaf70b3b793aeed526c00caa74f94dd6191f2358e4678e18add05f6423f472372a1f5cf6ea652197da296ed2a5628ba5 DIST linux-5.5.2-arch1.i686.config 243261 BLAKE2B dc0a7efb9c94af540043db8e559c04bfe2eb493158b0fe7d25984b85ae364cf262cf78ee57f1b1b6c4e9cc51138be15c098268e77f63f158702851352952837b SHA512 29cbf564fc30f9e8030001cae09d2711292d4e2c9c66f96a61a7d1575dd93d86f00d356697f011ff3810c8db95f95ac1fd54d6220c1f9095797891c29a7e2723 DIST linux-5.5.3.tar.xz 110706004 BLAKE2B fee027190fec757fdda70f7ef302914420e99644fac151acd32f2c9e562ccfa866c6702a28db98e6df8947ec161d68165161516bad083f0de8f5b35fe82dab05 SHA512 ffc4f5605b6f9278030146d8ed8f1c3341bb588f6a96400ff5466daf0d74e95e94bc47f22308ef917adff3de211385e959de583b91523a1ab1e0e93b4326e3c3 +DIST linux-5.5.4-arch1.amd64.config 243869 BLAKE2B cf65ebea77e2c8d3de643ddec5b6a3afee6abb3f858ddd987c96a294152caa4aa6731350774a8438d5e2a40c6847433d4243dcebddaaa63bb4cc4187674d7d7d SHA512 a14808fd73c1d15ca1d73de1e0cf91cecc89332c8ed650352c972b116325c6126cb70e2a40b002616b2bcc9e9197f4486705c353ad3da300c7bbd6ce44ff3737 DIST linux-5.5.4.tar.xz 110717156 BLAKE2B 508995a96406fd40b4f85873dff56c9a992937424f148cbbf7b85298955f0207f6ce2ad93b7c1f79ac563d0195145801d403a571521bb0be7eeed8a857295d89 SHA512 87af2cf22b3c8884ce276a92d7a538a723b8fdbac9e40ec243ca78576afb4baa8a1d07b49d9bc9c773f020858121285d6a60a384fccbb0c82433a5597f133456 +DIST linux-5.5.5.tar.xz 110709764 BLAKE2B 7b0486c66f70dc58d84244810a8d7790a29c7a282b8e22585607bc87a98970dafba61c0894bcb523647b93b32e5511137cd350583b83715a15527dc02995d4a6 SHA512 2d0ed596509546169d0e0d46c23e10920e6b565178e044fe57b68b7ff0ec5c613bb090105affc74e5bcacda36f8c8a49c269017e90dd7145f58e9359707f35d1 DIST tinycorelinux-10.1-amd64.qcow2 16842752 BLAKE2B e013e76503c335739a9623c0901ca791937a0e6b177854535cadec1e2c2cd2df588283ed3128cf652595f32264fbfe5b3bd3a8c97665fd4da344e308535be366 SHA512 c3aeb20ff8769da9211694b7f701907cc7ae7582cdfad2c2fdc008d97ebcbd9dc08245b4e8f8450e1cb304bd705345a11fe79f901a47979fee91443841d55641 DIST tinycorelinux-10.1-x86.qcow2 14876672 BLAKE2B 3c760eb7438b13261e52ecfaa33a53649ced95f1ab40aae52134b8cdc31a16d7aa0d6a6dd716e268ed148e9d77a10b7c700b141b61d70c82d271ffe88e8e2a3c SHA512 9964538dc42f232a11949f74b61d46422ea5da3bdc253a217119bd0b8a750c40fd2da0b07157067be9ac0226472614f210a1248114df0d331df390979867a895 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.5.5.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.5.5.ebuild new file mode 100644 index 000000000000..5adc6d66089b --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.5.5.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.5.4-arch1 +AMD64_CONFIG_HASH=bc32e3380a53e4cda7fadbd706810437e135bb3f +# https://git.archlinux32.org/packages/log/core/linux/config.i686 +I686_CONFIG_VER=5.5.2-arch1 +I686_CONFIG_HASH=06ff2f85b50e8d38c79597e1dae4aee8b501f057 + +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 +}