diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-04-18 07:37:44 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-04-18 13:57:49 +0200 |
commit | fdb497c0f6fbaf3431afba7474592c49c474cf9e (patch) | |
tree | b1b3d92dca96bc5aec7d16912e87c5ff4aba4c4a /sys-kernel/vanilla-kernel | |
parent | sys-kernel/gentoo-kernel: Bump to 5.4.33 (diff) | |
download | gentoo-fdb497c0f6fbaf3431afba7474592c49c474cf9e.tar.gz gentoo-fdb497c0f6fbaf3431afba7474592c49c474cf9e.tar.bz2 gentoo-fdb497c0f6fbaf3431afba7474592c49c474cf9e.zip |
sys-kernel/vanilla-kernel: Bump to 5.5.18
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.5.18.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 2b937e71774c..26df1aa18ee6 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -7,6 +7,7 @@ DIST linux-5.4.32.tar.xz 109501416 BLAKE2B 0ac78d1eb97ce4689ccdab01fb1475d07f29a DIST linux-5.4.33.tar.xz 109516064 BLAKE2B 72e312962aa684a8eefac175e7b2cee25d4413eca92a16a40ef2ec4313f31a3b66bbd051b8f14f7e9ba0a6731fb21a40aa82ed650f78f2a8f97750ad36247fb1 SHA512 3a972efad935a4dd250de9ff192602760bd6919de2be15aab8b0b89ea87ae6c51368d65641280213003f8ce566acf092fa739e26f7c639d12eb23a25c51e35b2 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 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 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.5.18.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.5.18.ebuild new file mode 100644 index 000000000000..0fc8e2822599 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.5.18.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.5-arch1 +AMD64_CONFIG_HASH=e4d4ca36741d228042185e2a9047cd88fb5b4169 +# https://git.archlinux32.org/packages/log/core/linux/config.i686 +I686_CONFIG_VER=5.5.6-arch1 +I686_CONFIG_HASH=7d53d8a42f68648bce5b002aaf8c2b14e6298275 + +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 +} |