1 |
commit: f074e722edd12bf6eac9a6cb49a7edadb8d21368 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 6 17:09:38 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 6 20:43:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f074e722 |
7 |
|
8 |
sys-kernel/vanilla-kernel: Bump to 5.4.18 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
sys-kernel/vanilla-kernel/Manifest | 1 + |
13 |
.../vanilla-kernel/vanilla-kernel-5.4.18.ebuild | 65 ++++++++++++++++++++++ |
14 |
2 files changed, 66 insertions(+) |
15 |
|
16 |
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest |
17 |
index b4e1d22d8d8..844843a3708 100644 |
18 |
--- a/sys-kernel/vanilla-kernel/Manifest |
19 |
+++ b/sys-kernel/vanilla-kernel/Manifest |
20 |
@@ -7,5 +7,6 @@ DIST linux-5.4.13-arch1.i686.config 239816 BLAKE2B e776321fa163759332e7b5e3cca6a |
21 |
DIST linux-5.4.13.arch1.amd64.config 241498 BLAKE2B 3c6d13d84ea75247fae4f4474648abe295fb6ea577d4c9becc58551c3954d35a72edd5937b7bb345f783fe2015940035d5f6766e08e5a9dd6b8723cc69c85ee6 SHA512 3039a333f3000f416bfccd7efdc54c8ea07d9b01b349be87f83b7dcb3e0f13a1f3fb02ccae42412cf28958aa7df42ef73f87e637269c7525476d73682596fa07 |
22 |
DIST linux-5.4.16.tar.xz 109474712 BLAKE2B cf99bbd992d8e90c4255c0ce81fd27793663fb2b300ea1bf686ca21933e6ec6cd2ce7a2bea7b59e235ad70bc05519fd06e033baa0d6e881df732d3a85bc6a17c SHA512 994d0884230c258c97af8c9b1857241d34c780bc61271102707e7bd861270306b1f4c51a00d48826786d1544e8647de8c1e72fa74bf3e9a498a32b7db428337d |
23 |
DIST linux-5.4.17.tar.xz 109469504 BLAKE2B e03e9b5564320ea60d69db06b6a282d332718269bd8ed694e126e6aca83215de183b52ad331d7af80fee1b4682625a3489373894c4100d38943c097c6958bf06 SHA512 b909cc5fa383ca25496851cd8d0af0efbe1613ee6c3579abb122285fcdcd28f4736fbb26675d741474388a63d1a312cc70a6b0aa8f25c1cd62b9f95b99462628 |
24 |
+DIST linux-5.4.18.tar.xz 109470980 BLAKE2B 4345598577f39644b00693c95a8402d70c7aba94614bd9a61f5e212768c6e58ffbaa0d8392c129010e77d6c9770182d4967635c797a2d86e11ecad417df87a27 SHA512 ec4568bfb816b3645bbe6c709343b4cc058068500948c10e9da191d2556ab1bd66a90674880e5be2dbf169afe416fe88c48ed5bd9fc1a55739ea94f8f0cb62b2 |
25 |
DIST tinycorelinux-10.1-amd64.qcow2 16842752 BLAKE2B e013e76503c335739a9623c0901ca791937a0e6b177854535cadec1e2c2cd2df588283ed3128cf652595f32264fbfe5b3bd3a8c97665fd4da344e308535be366 SHA512 c3aeb20ff8769da9211694b7f701907cc7ae7582cdfad2c2fdc008d97ebcbd9dc08245b4e8f8450e1cb304bd705345a11fe79f901a47979fee91443841d55641 |
26 |
DIST tinycorelinux-10.1-x86.qcow2 14876672 BLAKE2B 3c760eb7438b13261e52ecfaa33a53649ced95f1ab40aae52134b8cdc31a16d7aa0d6a6dd716e268ed148e9d77a10b7c700b141b61d70c82d271ffe88e8e2a3c SHA512 9964538dc42f232a11949f74b61d46422ea5da3bdc253a217119bd0b8a750c40fd2da0b07157067be9ac0226472614f210a1248114df0d331df390979867a895 |
27 |
|
28 |
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.18.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.18.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..92992f98790 |
31 |
--- /dev/null |
32 |
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.18.ebuild |
33 |
@@ -0,0 +1,65 @@ |
34 |
+# Copyright 2020 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+inherit kernel-build |
40 |
+ |
41 |
+MY_P=linux-${PV} |
42 |
+# https://git.archlinux.org/svntogit/packages.git/log/trunk/config?h=packages/linux |
43 |
+AMD64_CONFIG_VER=5.4.13.arch1 |
44 |
+AMD64_CONFIG_HASH=9eed969590614a38d370a9fe04a4f5d38ba5e06e |
45 |
+# https://git.archlinux32.org/packages/log/core/linux/config.i686 |
46 |
+I686_CONFIG_VER=5.4.13-arch1 |
47 |
+I686_CONFIG_HASH=95f890a9f9131e7a0e01a4f3e9c5ee423756a233 |
48 |
+ |
49 |
+DESCRIPTION="Linux kernel built from vanilla upstream sources" |
50 |
+HOMEPAGE="https://www.kernel.org/" |
51 |
+SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
52 |
+ amd64? ( |
53 |
+ https://git.archlinux.org/svntogit/packages.git/plain/trunk/config?h=packages/linux&id=${AMD64_CONFIG_HASH} |
54 |
+ -> linux-${AMD64_CONFIG_VER}.amd64.config |
55 |
+ ) |
56 |
+ x86? ( |
57 |
+ https://git.archlinux32.org/packages/plain/core/linux/config.i686?id=${I686_CONFIG_HASH} |
58 |
+ -> linux-${I686_CONFIG_VER}.i686.config |
59 |
+ )" |
60 |
+S=${WORKDIR}/${MY_P} |
61 |
+ |
62 |
+LICENSE="GPL-2" |
63 |
+KEYWORDS="~amd64 ~x86" |
64 |
+ |
65 |
+RDEPEND=" |
66 |
+ !sys-kernel/vanilla-kernel-bin:${SLOT}" |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ default |
70 |
+ |
71 |
+ # prepare the default config |
72 |
+ case ${ARCH} in |
73 |
+ amd64) |
74 |
+ cp "${DISTDIR}"/linux-${AMD64_CONFIG_VER}.amd64.config .config || die |
75 |
+ ;; |
76 |
+ x86) |
77 |
+ cp "${DISTDIR}"/linux-${I686_CONFIG_VER}.i686.config .config || die |
78 |
+ ;; |
79 |
+ *) |
80 |
+ die "Unsupported arch ${ARCH}" |
81 |
+ ;; |
82 |
+ esac |
83 |
+ |
84 |
+ local config_tweaks=( |
85 |
+ # shove arch under the carpet! |
86 |
+ -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":' |
87 |
+ # we do support x32 |
88 |
+ -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:' |
89 |
+ # disable signatures |
90 |
+ -e '/CONFIG_MODULE_SIG/d' |
91 |
+ -e '/CONFIG_SECURITY_LOCKDOWN/d' |
92 |
+ # disable compression to allow stripping |
93 |
+ -e '/CONFIG_MODULE_COMPRESS/d' |
94 |
+ # disable gcc plugins to unbreak distcc |
95 |
+ -e '/CONFIG_GCC_PLUGIN_STRUCTLEAK/d' |
96 |
+ ) |
97 |
+ sed -i "${config_tweaks[@]}" .config || die |
98 |
+} |