diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-04-24 07:24:21 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-04-24 11:03:09 +0200 |
commit | 15f6d5b3efec78169ffa852e124e87d0f546e5fe (patch) | |
tree | 7710339c9d018da84dcf8f0f2334457cc2c8ae27 /sys-kernel | |
parent | sys-kernel/gentoo-kernel: Bump to 5.4.35 (diff) | |
download | gentoo-15f6d5b3efec78169ffa852e124e87d0f546e5fe.tar.gz gentoo-15f6d5b3efec78169ffa852e124e87d0f546e5fe.tar.bz2 gentoo-15f6d5b3efec78169ffa852e124e87d0f546e5fe.zip |
sys-kernel/vanilla-kernel: Bump to 5.6.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 1 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.6.7.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index eda172e382f8..92a8a5dfcac1 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -20,5 +20,6 @@ DIST linux-5.6.5-arch2.amd64.config 246155 BLAKE2B a30fa47b1384574076d5e3f02e1ea DIST linux-5.6.5-arch3.i686.config 245328 BLAKE2B 58f39c963aa4276360df1e61526bc3ac575f5d4a364ca888b4f82eb74c6f609d94236715860a47a824ecc4c4b52ef1e59ba048bc2ab3b9e9157a8393846413cd SHA512 3e9db780b3607d839c2bf5fbb18f150024c65782e79879ee4758ed89e914a7d4fd39c0014addea0bcff3c2082730bbd458c69bf4770ec7255135b18cebae3858 DIST linux-5.6.5.tar.xz 111784704 BLAKE2B 92d4ea253eb70a77ea6d891b34406d5c78422d491ea66946e87fb4f1e91b786fd67fb5bf38bc5883f929cb16b916fea2b600d4223457e603c5ca8f1ea5ba8652 SHA512 42a160b6d51619e77ef3743cdafc18aa3d0c86aec0508f057730cd25f21dbb5765f20627dc938d9c9c348f64bb5608aab790d6ff8984b76a8980522d45d9cc39 DIST linux-5.6.6.tar.xz 111787404 BLAKE2B 885c30732c91ea3af1a797db14f1f517a05e0f388c5b854eb404a6b46f8be20debca5fd517c3e9910b012385a96154a7b1fa18f56c1d5927b7575b62ded98b74 SHA512 62fa97250323560323eaed57afba43f4fdef97a180ec8f0e0c39d86d41a63c3fa4242d27cda28f5c65f03290596cab2055d1ae7594c6134c3dcc821e24c21d4e +DIST linux-5.6.7.tar.xz 111786832 BLAKE2B 75eac8b00d9cce03c57f3b2636da09742230b054c3e642adc39dcd699313837899eba5902bfbb8bd47c8e0f57a101383e19fe2b545dc030e147f04dc58f4d373 SHA512 aa943c61a639ee1348a70878e728ec7bf25dcdfa54cac0e66d1bd3d8093e347758bb1667a8b7424636c557cfd98cf471154e9c6b42710907736f6986d9ff982c 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.6.7.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.6.7.ebuild new file mode 100644 index 000000000000..108026c3f559 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.6.7.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.6.5-arch2 +AMD64_CONFIG_HASH=fdf9d6f7ce59ea8e64911c1a1e7992026b57f552 +# https://git.archlinux32.org/packages/log/core/linux/config.i686 +I686_CONFIG_VER=5.6.5-arch3 +I686_CONFIG_HASH=e36c1ea7991eca34f6d80d325da9413a4827eabf + +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 +} |