1 |
commit: 99bb87b48f9f56f3888ab530c6e462ab2c2deb30 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 5 18:47:53 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 5 21:02:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99bb87b4 |
7 |
|
8 |
sys-kernel/vanilla-kernel: Bump to 5.4.63 |
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.63.ebuild | 83 ++++++++++++++++++++++ |
14 |
2 files changed, 84 insertions(+) |
15 |
|
16 |
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest |
17 |
index 2c8b4af3a24..941072db6a9 100644 |
18 |
--- a/sys-kernel/vanilla-kernel/Manifest |
19 |
+++ b/sys-kernel/vanilla-kernel/Manifest |
20 |
@@ -16,6 +16,7 @@ DIST kernel-x86_64.config.5.4.21 184907 BLAKE2B 0eb2b07c14cea7545350fcdf3a94f2a5 |
21 |
DIST linux-5.4.60.tar.xz 109583396 BLAKE2B 1f6296eb9be00329b1eb015eafb4a965c575ded58b8618cfc0af3d15072c424afbbc029fad4d65e0af3bccc5963c4304c14b4a9d4763cfaec9b4596834a0f9b0 SHA512 fb9ebada932c17d0adbc099a1df31a7d97afe3be694665b1f8171e7159bda84a36a435ceecfdce6d492d8e5075ed4253c68029dcdf952e75a3fe7ee36646327b |
22 |
DIST linux-5.4.61.tar.xz 109579356 BLAKE2B 78e8ee2fcd0e8cce8f536ba907a24676b5aafa662d97eb5c02f97150b0be4616dc564542503d4250d3fd8a674598cd2d3fdcaa34c880e0f3df558c4b5da8b24c SHA512 1c2d7226dc8b4b6ca468a7082b42ac14bdf9f2ff4d0824737cb6a2e959b2c5da320877efe8b6dc7fd66200daadfe5ac424d8c8abc52888358e45ee594f60937d |
23 |
DIST linux-5.4.62.tar.xz 109580336 BLAKE2B 4cc346ae1b9def22ddbab11ea9a73eeedeb742290f5726eac9d72d7b6b8a6e8599cc6ad264ef840136a214152007c7c32757a01109129d6fd27a0ce504318311 SHA512 0d1d1b2e2e809caf0c5a6fd3d06494fc02ed8ad84c2aef37670afaa20611c8c4dc8a21b9ceeec406f0533ba85c9c1251a78da4ca5bba14b727926ca741183d53 |
24 |
+DIST linux-5.4.63.tar.xz 109583360 BLAKE2B f1afaf0d30b26ce325e9b7e4c8b328749f466796839ff7bc63b4ee14215627347dad38c168efa7099dc964d4378ac8ca94de7771339446acc51a75e9377442a0 SHA512 1e97faea4c5f4a814d207f0a850cd5dd4aab33259f5501d54fea3f5487aab3e7b38af3f38d9c2bb127222d859e8ad6cdc0d19e10e42ec455b53d3728b085353d |
25 |
DIST linux-5.7.17.tar.xz 112744000 BLAKE2B ef73f9c940d678465d1ff2c4eb880b6878827f563942666aab0fb49be9c24d6a12a78a2c569c9cb35023c82a195945b392ca00a933726701c0cff092f71141b6 SHA512 e4618e3d28882b81699892eb04b266a3e0b508806d02bd9671c84027a5a343535561b7094755ab6358ffd72e9ce5a2296b126ce9218a334b260c31535e2de59f |
26 |
DIST linux-5.7.18.tar.xz 112759392 BLAKE2B 22fb5388521bd824a8ecbde7484db3319817eaebc6c74b5f615b872ec18b1cf6abd6b9aed651400bfee2b12e2d759a066ea79412021202a05b8fa1934b9b14aa SHA512 d84a1dfb3ae6fad1f4ca3b42bbd01e9b6e1543e23f319237bc4db2381770df5a30d799cf5ed6ca85c5ece6779502327afdb4892452f612b9e4dbca3305c9901c |
27 |
DIST linux-5.7.19.tar.xz 112742648 BLAKE2B 408fdc49f8a341f6d7c0fead1ddc1b0816caf4a7393286127440a6ec1b513cd413067d6e56180310cc9d634b95c9583b7f38ae4711cd115f4ac2f08918e6b916 SHA512 c64aacd11f90dd1fb4f163ba3757ba52543c8a3c3932b9600109ad2b8ac97c8819d430067266e1e347998b5e9df92f7c0f1945a73142442ba5bccd41439a4988 |
28 |
|
29 |
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.63.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.63.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..d2655d6349c |
32 |
--- /dev/null |
33 |
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.63.ebuild |
34 |
@@ -0,0 +1,83 @@ |
35 |
+# Copyright 2020 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+inherit kernel-build |
41 |
+ |
42 |
+MY_P=linux-${PV} |
43 |
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 |
44 |
+CONFIG_VER=5.4.21 |
45 |
+CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea |
46 |
+ |
47 |
+DESCRIPTION="Linux kernel built from vanilla upstream sources" |
48 |
+HOMEPAGE="https://www.kernel.org/" |
49 |
+SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
50 |
+ amd64? ( |
51 |
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config |
52 |
+ -> kernel-x86_64.config.${CONFIG_VER} |
53 |
+ ) |
54 |
+ arm64? ( |
55 |
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config |
56 |
+ -> kernel-aarch64.config.${CONFIG_VER} |
57 |
+ ) |
58 |
+ x86? ( |
59 |
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config |
60 |
+ -> kernel-i686.config.${CONFIG_VER} |
61 |
+ )" |
62 |
+S=${WORKDIR}/${MY_P} |
63 |
+ |
64 |
+LICENSE="GPL-2" |
65 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
66 |
+IUSE="debug" |
67 |
+ |
68 |
+RDEPEND=" |
69 |
+ !sys-kernel/vanilla-kernel-bin:${SLOT}" |
70 |
+BDEPEND=" |
71 |
+ debug? ( dev-util/dwarves )" |
72 |
+ |
73 |
+pkg_pretend() { |
74 |
+ ewarn "Starting with 5.4.52, Distribution Kernels are switching from Arch" |
75 |
+ ewarn "Linux configs to Fedora. Please keep a backup kernel just in case." |
76 |
+ |
77 |
+ kernel-install_pkg_pretend |
78 |
+} |
79 |
+ |
80 |
+src_prepare() { |
81 |
+ default |
82 |
+ |
83 |
+ # prepare the default config |
84 |
+ case ${ARCH} in |
85 |
+ amd64) |
86 |
+ cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die |
87 |
+ ;; |
88 |
+ arm64) |
89 |
+ cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die |
90 |
+ ;; |
91 |
+ x86) |
92 |
+ cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die |
93 |
+ ;; |
94 |
+ *) |
95 |
+ die "Unsupported arch ${ARCH}" |
96 |
+ ;; |
97 |
+ esac |
98 |
+ |
99 |
+ local config_tweaks=( |
100 |
+ # shove arch under the carpet! |
101 |
+ -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":' |
102 |
+ # we do support x32 |
103 |
+ -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:' |
104 |
+ # disable signatures |
105 |
+ -e '/CONFIG_MODULE_SIG/d' |
106 |
+ -e '/CONFIG_SECURITY_LOCKDOWN/d' |
107 |
+ ) |
108 |
+ use debug || config_tweaks+=( |
109 |
+ -e '/CONFIG_DEBUG_INFO/d' |
110 |
+ ) |
111 |
+ [[ ${ARCH} == x86 ]] && config_tweaks+=( |
112 |
+ # fix autoenabling 64bit |
113 |
+ -e '2i\ |
114 |
+# CONFIG_64BIT is not set' |
115 |
+ ) |
116 |
+ sed -i "${config_tweaks[@]}" .config || die |
117 |
+} |