Gentoo Archives: gentoo-dev

From: "M. J. Everitt" <m.j.everitt@×××.org>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Adding USE=udev to linux profiles
Date: Fri, 20 Jul 2018 13:17:49
Message-Id: 8bb41fdf-11b1-57e6-ba42-5d8c11d68a86@iee.org
In Reply to: Re: [gentoo-dev] Adding USE=udev to linux profiles by nado@troglodyte.be
1 On 20/07/18 13:39, nado@××××××××××.be wrote:
2 > Hi,
3 >
4 > July 20, 2018 2:26 PM, "Ben Kohler" <bkohler@g.o> wrote:
5 >
6 >> On 07/19/18 23:04, Michael Orlitzky wrote:
7 >>
8 >>> <snip>
9 >>>
10 >>> If you really want to enable it globally after being told that it's bad
11 >>> engineering and downright annoying, go do it in a profile that I can
12 >>> avoid and not "linux".
13 >> I believe you're arguing against profile global USE in general, can you
14 >> start a new thread for that if you believe it's worth discussing?
15 >>
16 >> We do have global USE in profiles now and I believe that the sane
17 >> default for linux profiles is to have udev support globally.
18 > Why not introducing a new level in the hierarchy ? Something like "common" could be fit.
19 >
20 > default/linux/amd64/13.0
21 > default/linux/amd64/13.0/common
22 > default/linux/amd64/13.0/common/desktop
23 > default/linux/amd64/13.0/common/developer
24 > ...
25 >
26 > By doing so we could still have a bare profiles with minimal things set to work, and have the
27 > common subset with sane defaults for most users.
28 >
29 > --
30 > Corentin “Nado” Pazdera
31 >
32 default/linux/amd64/17.0/minimal
33 default/linux/amd64/17.0/default
34 default/linux/amd64/17.0/default/desktop
35 default/linux/amd64/17.0/default/desktop/kde
36 default/linux/amd64/17.0/developer
37
38 The hierarchy method is indeed flawed, it would be better to have
39 something akin to USE flags for profiles (PROFLAGS?) .. so that you
40 could mingle different aspects without replicating sections of the
41 'tree' to get the common configurations covered ..
42
43 eg. LINUX + AMD64 + DEVELOPER + KDE
44 LINUX + ARM + DESKTOP
45 LINUX + X86 + CONTAINER
46 FREEBSD + DESKTOP
47
48 And then have some rules which say that .. eg. KDE inherits DESKTOP (if
49 required)
50
51 I know you're gonna bike-shed this to death, but its an idea ..
52
53 MJE

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Adding USE=udev to linux profiles Rich Freeman <rich0@g.o>