Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/arch/arm/, profiles/, profiles/arch/powerpc/ppc64/64le/, ...
Date: Thu, 07 Jan 2021 12:39:48
Message-Id: 1610023148.f6088d565d3e3aff0da992aec1ddaca3934b0e14.mgorny@gentoo
1 commit: f6088d565d3e3aff0da992aec1ddaca3934b0e14
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 3 00:36:04 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 7 12:39:08 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6088d56
7
8 linux-mod.eclass: Add a prebuilt-kernel rebuild flag
9
10 Add a 'prebuilt-kernel' USE flag that controls a bound-slot dependency
11 on virtual/prebuilt-kernel. If the flag is enabled, it should ensure
12 that the module will be rebuilt automatically on future kernel upgrades.
13
14 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
15
16 eclass/linux-mod.eclass | 13 ++++++++++---
17 profiles/arch/amd64/use.mask | 6 +++++-
18 profiles/arch/amd64/use.stable.mask | 6 +++++-
19 profiles/arch/arm/use.mask | 6 +++++-
20 profiles/arch/arm/use.stable.mask | 6 +++++-
21 profiles/arch/arm64/use.mask | 6 +++++-
22 profiles/arch/arm64/use.stable.mask | 6 +++++-
23 profiles/arch/base/use.mask | 6 +++++-
24 profiles/arch/powerpc/ppc64/64le/use.mask | 6 +++++-
25 profiles/arch/powerpc/ppc64/64le/use.stable.mask | 6 +++++-
26 profiles/arch/x86/use.mask | 6 +++++-
27 profiles/arch/x86/use.stable.mask | 6 +++++-
28 profiles/use.desc | 3 ++-
29 13 files changed, 67 insertions(+), 15 deletions(-)
30
31 diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
32 index f5a5a427636..e0444eacc61 100644
33 --- a/eclass/linux-mod.eclass
34 +++ b/eclass/linux-mod.eclass
35 @@ -1,4 +1,4 @@
36 -# Copyright 1999-2020 Gentoo Authors
37 +# Copyright 1999-2021 Gentoo Authors
38 # Distributed under the terms of the GNU General Public License v2
39
40 # @ECLASS: linux-mod.eclass
41 @@ -144,9 +144,16 @@ esac
42 0) die "EAPI=${EAPI} is not supported with MODULES_OPTIONAL_USE_IUSE_DEFAULT due to lack of IUSE defaults" ;;
43 esac
44
45 -IUSE="kernel_linux ${MODULES_OPTIONAL_USE:+${_modules_optional_use_iuse_default}}${MODULES_OPTIONAL_USE}"
46 +IUSE="kernel_linux dist-kernel
47 + ${MODULES_OPTIONAL_USE:+${_modules_optional_use_iuse_default}}${MODULES_OPTIONAL_USE}"
48 SLOT="0"
49 -RDEPEND="${MODULES_OPTIONAL_USE}${MODULES_OPTIONAL_USE:+? (} kernel_linux? ( sys-apps/kmod[tools] ) ${MODULES_OPTIONAL_USE:+)}"
50 +RDEPEND="
51 + ${MODULES_OPTIONAL_USE}${MODULES_OPTIONAL_USE:+? (}
52 + kernel_linux? (
53 + sys-apps/kmod[tools]
54 + dist-kernel? ( virtual/dist-kernel:= )
55 + )
56 + ${MODULES_OPTIONAL_USE:+)}"
57 DEPEND="${RDEPEND}
58 ${MODULES_OPTIONAL_USE}${MODULES_OPTIONAL_USE:+? (}
59 sys-apps/sed
60
61 diff --git a/profiles/arch/amd64/use.mask b/profiles/arch/amd64/use.mask
62 index 2334ab31938..30c8a9b4114 100644
63 --- a/profiles/arch/amd64/use.mask
64 +++ b/profiles/arch/amd64/use.mask
65 @@ -1,4 +1,4 @@
66 -# Copyright 1999-2020 Gentoo Authors
67 +# Copyright 1999-2021 Gentoo Authors
68 # Distributed under the terms of the GNU General Public License v2
69
70 # Unmask the flag which corresponds to ARCH.
71 @@ -6,6 +6,10 @@
72
73 # SECTION: Unmask
74
75 +# Michał Górny <mgorny@g.o> (2021-01-07)
76 +# Prebuilt kernels are supported here.
77 +-dist-kernel
78 +
79 # Andreas Sturmlechner <asturm@g.o> (2020-06-06)
80 # sci-libs/mkl works on amd64
81 -mkl
82
83 diff --git a/profiles/arch/amd64/use.stable.mask b/profiles/arch/amd64/use.stable.mask
84 index b83b8507d91..ba88ea41c2e 100644
85 --- a/profiles/arch/amd64/use.stable.mask
86 +++ b/profiles/arch/amd64/use.stable.mask
87 @@ -1,9 +1,13 @@
88 -# Copyright 1999-2019 Gentoo Authors
89 +# Copyright 1999-2021 Gentoo Authors
90 # Distributed under the terms of the GNU General Public License v2
91
92 # This file requires eapi 5 or later. New entries go on top.
93 # Please use the same syntax as in use.mask
94
95 +# Michał Górny <mgorny@g.o> (2021-01-07)
96 +# Prebuilt kernel rebuilds are supported on stable yet.
97 +dist-kernel
98 +
99 # Andreas Sturmlechner <asturm@g.o> (2020-06-06)
100 # sci-libs/mkl is not stable, needs online registration to even run pkg_setup
101 mkl
102
103 diff --git a/profiles/arch/arm/use.mask b/profiles/arch/arm/use.mask
104 index 5af05ca0a69..600ca159c4e 100644
105 --- a/profiles/arch/arm/use.mask
106 +++ b/profiles/arch/arm/use.mask
107 @@ -1,9 +1,13 @@
108 -# Copyright 1999-2020 Gentoo Authors
109 +# Copyright 1999-2021 Gentoo Authors
110 # Distributed under the terms of the GNU General Public License v2
111
112 # Unmask the flag which corresponds to ARCH.
113 -arm
114
115 +# Michał Górny <mgorny@g.o> (2021-01-07)
116 +# Prebuilt kernels are supported here.
117 +-dist-kernel
118 +
119 # Unmask arm arch specific flags
120 -cpu_flags_arm_iwmmxt
121 -cpu_flags_arm_iwmmxt2
122
123 diff --git a/profiles/arch/arm/use.stable.mask b/profiles/arch/arm/use.stable.mask
124 index d969a69e4d3..0edb74fb7ac 100644
125 --- a/profiles/arch/arm/use.stable.mask
126 +++ b/profiles/arch/arm/use.stable.mask
127 @@ -1,9 +1,13 @@
128 -# Copyright 1999-2019 Gentoo Authors
129 +# Copyright 1999-2021 Gentoo Authors
130 # Distributed under the terms of the GNU General Public License v2
131
132 # This file requires eapi 5 or later. New entries go on top.
133 # Please use the same syntax as in use.mask
134
135 +# Michał Górny <mgorny@g.o> (2021-01-07)
136 +# Prebuilt kernel rebuilds are supported on stable yet.
137 +dist-kernel
138 +
139 # Sam James <sam@g.o> (2020-12-22)
140 # Not yet stable
141 lirc
142
143 diff --git a/profiles/arch/arm64/use.mask b/profiles/arch/arm64/use.mask
144 index 238d22b897c..3f63db907c7 100644
145 --- a/profiles/arch/arm64/use.mask
146 +++ b/profiles/arch/arm64/use.mask
147 @@ -1,9 +1,13 @@
148 -# Copyright 1999-2020 Gentoo Authors
149 +# Copyright 1999-2021 Gentoo Authors
150 # Distributed under the terms of the GNU General Public License v2
151
152 # Unmask the flag which corresponds to ARCH.
153 -arm64
154
155 +# Michał Górny <mgorny@g.o> (2021-01-07)
156 +# Prebuilt kernels are supported here.
157 +-dist-kernel
158 +
159 # Sam James <sam@g.o> (2020-10-08)
160 # PyPy3 works on arm64
161 -python_targets_pypy3
162
163 diff --git a/profiles/arch/arm64/use.stable.mask b/profiles/arch/arm64/use.stable.mask
164 index 4afbfad4164..8ba26c22d2c 100644
165 --- a/profiles/arch/arm64/use.stable.mask
166 +++ b/profiles/arch/arm64/use.stable.mask
167 @@ -1,9 +1,13 @@
168 -# Copyright 1999-2020 Gentoo Authors
169 +# Copyright 1999-2021 Gentoo Authors
170 # Distributed under the terms of the GNU General Public License v2
171 #
172 # This file requires eapi 5 or later. New entries go on top.
173 # Please use the same syntax as in use.mask
174
175 +# Michał Górny <mgorny@g.o> (2021-01-07)
176 +# Prebuilt kernel rebuilds are supported on stable yet.
177 +dist-kernel
178 +
179 # Sam James <sam@g.o> (2020-12-23)
180 # dev-lang/luajit is not yet stable
181 lua_single_target_luajit
182
183 diff --git a/profiles/arch/base/use.mask b/profiles/arch/base/use.mask
184 index ba124ae0487..887839c4815 100644
185 --- a/profiles/arch/base/use.mask
186 +++ b/profiles/arch/base/use.mask
187 @@ -1,6 +1,10 @@
188 -# Copyright 1999-2020 Gentoo Authors
189 +# Copyright 1999-2021 Gentoo Authors
190 # Distributed under the terms of the GNU General Public License v2
191
192 +# Michał Górny <mgorny@g.o> (2021-01-07)
193 +# Prebuilt kernels are not supported on all architectures.
194 +dist-kernel
195 +
196 # Andreas Sturmlechner <asturm@g.o> (2020-06-06)
197 # sci-libs/mkl is only supported on specific architectures
198 mkl
199
200 diff --git a/profiles/arch/powerpc/ppc64/64le/use.mask b/profiles/arch/powerpc/ppc64/64le/use.mask
201 index abc4d0b9c1b..e0ecc03fcaf 100644
202 --- a/profiles/arch/powerpc/ppc64/64le/use.mask
203 +++ b/profiles/arch/powerpc/ppc64/64le/use.mask
204 @@ -1,6 +1,10 @@
205 -# Copyright 1999-2020 Gentoo Authors
206 +# Copyright 1999-2021 Gentoo Authors
207 # Distributed under the terms of the GNU General Public License v2
208
209 +# Michał Górny <mgorny@g.o> (2021-01-07)
210 +# Prebuilt kernels are supported here.
211 +-dist-kernel
212 +
213 # Georgy Yakovlev <gyakovlev@g.o (2020-10-16)
214 # dev-qt/qtwebengine works on ppc64le
215 -webengine
216
217 diff --git a/profiles/arch/powerpc/ppc64/64le/use.stable.mask b/profiles/arch/powerpc/ppc64/64le/use.stable.mask
218 index 1cda5eff133..4efce43db19 100644
219 --- a/profiles/arch/powerpc/ppc64/64le/use.stable.mask
220 +++ b/profiles/arch/powerpc/ppc64/64le/use.stable.mask
221 @@ -1,6 +1,10 @@
222 -# Copyright 2019-2020 Gentoo Authors
223 +# Copyright 2019-2021 Gentoo Authors
224 # Distributed under the terms of the GNU General Public License v2
225
226 +# Michał Górny <mgorny@g.o> (2021-01-07)
227 +# Prebuilt kernel rebuilds are supported on stable yet.
228 +dist-kernel
229 +
230 # Georgy Yakovlev <gyakovlev@g.o> (2020-01-21)
231 # works, but deps not stable yet
232 vaapi
233
234 diff --git a/profiles/arch/x86/use.mask b/profiles/arch/x86/use.mask
235 index 4b6386ca8b2..8a86d7306ed 100644
236 --- a/profiles/arch/x86/use.mask
237 +++ b/profiles/arch/x86/use.mask
238 @@ -1,9 +1,13 @@
239 -# Copyright 1999-2020 Gentoo Authors
240 +# Copyright 1999-2021 Gentoo Authors
241 # Distributed under the terms of the GNU General Public License v2
242
243 # Unmask the flag which corresponds to ARCH.
244 -x86
245
246 +# Michał Górny <mgorny@g.o> (2021-01-07)
247 +# Prebuilt kernels are supported here.
248 +-dist-kernel
249 +
250 # Andreas Sturmlechner <asturm@g.o> (2020-06-06)
251 # sci-libs/mkl works on x86
252 -mkl
253
254 diff --git a/profiles/arch/x86/use.stable.mask b/profiles/arch/x86/use.stable.mask
255 index 0e1538cf887..3b3d1cfe3b1 100644
256 --- a/profiles/arch/x86/use.stable.mask
257 +++ b/profiles/arch/x86/use.stable.mask
258 @@ -1,9 +1,13 @@
259 -# Copyright 1999-2020 Gentoo Authors
260 +# Copyright 1999-2021 Gentoo Authors
261 # Distributed under the terms of the GNU General Public License v2
262
263 # This file requires eapi 5 or later. New entries go on top.
264 # Please use the same syntax as in use.mask
265
266 +# Michał Górny <mgorny@g.o> (2021-01-07)
267 +# Prebuilt kernel rebuilds are supported on stable yet.
268 +dist-kernel
269 +
270 # Sam James <sam@g.o> (2020-11-10)
271 # media-gfx/openvdb is not stable on x86
272 # ... and has failing tests right now anyway
273
274 diff --git a/profiles/use.desc b/profiles/use.desc
275 index e51db598202..6ede79cb784 100644
276 --- a/profiles/use.desc
277 +++ b/profiles/use.desc
278 @@ -1,4 +1,4 @@
279 -# Copyright 1999-2020 Gentoo Authors
280 +# Copyright 1999-2021 Gentoo Authors
281 # Distributed under the terms of the GNU General Public License v2
282
283 # Keep them sorted
284 @@ -62,6 +62,7 @@ dbus - Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
285 debug - Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
286 dedicated - Add support for dedicated game servers (some packages do not provide clients and servers at the same time)
287 dga - Add DGA (Direct Graphic Access) support for X
288 +dist-kernel - Enable subslot rebuilds on Distribution Kernel upgrades
289 djvu - Support DjVu, a PDF-like document format esp. suited for scanned documents
290 doc - Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
291 dri - Enable direct rendering: used for accelerated 3D and some 2D, like DMA