diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-04-16 10:53:34 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-04-16 12:24:26 +0200 |
commit | b0efc9ffcb6b1e6bf425245935eee954bc03c22f (patch) | |
tree | 08bdfccc0abc237a3099d015885966167a242005 /sys-kernel/vanilla-kernel | |
parent | dev-libs/ppl: ppc stable wrt bug #717570 (diff) | |
download | gentoo-b0efc9ffcb6b1e6bf425245935eee954bc03c22f.tar.gz gentoo-b0efc9ffcb6b1e6bf425245935eee954bc03c22f.tar.bz2 gentoo-b0efc9ffcb6b1e6bf425245935eee954bc03c22f.zip |
sys-kernel/vanilla-kernel: Bump to 5.6.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel/vanilla-kernel')
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 3 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.6.4.ebuild | 65 |
2 files changed, 68 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 26aa1720e29b..8a96f1624bf7 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -8,5 +8,8 @@ DIST linux-5.5.16.tar.xz 110763424 BLAKE2B dd15f3d9c52356cae47c8c7bc57779fb8810a DIST linux-5.5.17.tar.xz 110755932 BLAKE2B 541210fd9b4f7229e63a6d38b6b857ca92c83509be1e0278ef76e9550c70b17e318d40bd5027c4793ca2bf232647a1021b21b80232cb9ad2fa1b5cc126eaceb7 SHA512 23a31092e2cb1e22b7bb2515accfaeeb15d5f4f17bec3315ee42c5043eef0238ffa90d237911adcf6ea1d99ebc1abe278ec51bc889a08aa159a5fecbf17ea663 DIST linux-5.5.5-arch1.amd64.config 243885 BLAKE2B 088e76a9981a64cd6163667fd09cc02148f15cc53812a429d1f5e22dc893823f57041e581ec957f38504c1fbb5aa0c7886847d1ea4cdc44d5ab245dcc304edc3 SHA512 e6958e1fd35e2a900fa6c81e68e35b42496e245829b8bfd85d9d351dcdf8bbea93d25a0edf74871beababb4ba28cd7a731e589e68e047ac972d973ea8c20d3ac DIST linux-5.5.6-arch1.i686.config 243301 BLAKE2B c5fdd9dc2a0baed1ea421faa8f254d6ece47e89b78fc4c25c38369b53acc1f954978f2f86eda23b77d20a35096a596944f9c433db66008278ed2b8140823ce62 SHA512 b2d75bb1826a4dfad10aa5b6fa9cce2684d5de2dabc6da165e192e5a33cbd6eeaff4d7f236e074f4c099830e01e767bd6bc14a70d644057dce59288ae9704877 +DIST linux-5.6.3-arch1.amd64.config 246166 BLAKE2B 150977291d2e9f44bb58894ce8511fc507274b1e06d7fb88d623e649b30a99bbef878b46bbbc4f148fca7460b47ec930c421dc90cd67787658a2809465137f41 SHA512 6a9bfb99cbafad5dd1d7835b0e5b4571913a126b9d160c0516b8c15187a852c449d86360b414d8a249b9a43ec8e7ae8bc9365e3cbcda9c953fb5791949356280 +DIST linux-5.6.3-arch1.i686.config 245339 BLAKE2B 537b5445869089f6e0ef8782dba018a1b2d15362df61eecd84401a51c6f79a1f47b2dc8b79c62b4966b3e08dcc21d4fbbc47f5ba81227110e041d2f3fc731197 SHA512 93d9e93b82d66e0ddac0785beec07440914c2e8bdc2f3a069595fa736832ba72c0ac5416aeb9b6af237f725300d99d434ca3c7db7d4178b212799b8b33bc39f2 +DIST linux-5.6.4.tar.xz 111782628 BLAKE2B b2380aea16b8ca8d4f3a5025e7772a5e250c76170955745f2c21066f27262731bdeda886cafe330a9b82502f4ffa71b463a7b025d093bf7e2c791200bc1010b0 SHA512 aa3c01539621ed85115710455c33aa5bd3c48217822a197deec50d1624cdf9aa06efe8761f70aa8802d5ccb6501ebb0045eb3552bbec397c2b9691519ac77eec 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.4.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.6.4.ebuild new file mode 100644 index 000000000000..f34fcb2255af --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.6.4.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.3-arch1 +AMD64_CONFIG_HASH=08a7fa88eaa91ef8b0e1f71b496d4097c3702e8d +# https://git.archlinux32.org/packages/log/core/linux/config.i686 +I686_CONFIG_VER=5.6.3-arch1 +I686_CONFIG_HASH=de86e84e5ed3bf7ff6c978eb32b6f7a03341feb7 + +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 +} |