Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo-dev@l.g.o
Cc: base-system@g.o, toolchain@g.o, floppym@g.o, mgorny@g.o
Subject: Re: [gentoo-dev] [PATCH 1/6] profiles: add global USE flag 'split-usr'
Date: Mon, 15 Jul 2019 14:21:29
Message-Id: 20190715142121.GA27497@linux1.home
In Reply to: Re: [gentoo-dev] [PATCH 1/6] profiles: add global USE flag 'split-usr' by "Michał Górny"
1 On Mon, Jul 15, 2019 at 05:29:28AM +0200, Michał Górny wrote:
2 > On Sun, 2019-07-14 at 19:50 -0400, Mike Gilbert wrote:
3 > > Signed-off-by: Mike Gilbert <floppym@g.o>
4 > > ---
5 > > profiles/use.desc | 1 +
6 > > 1 file changed, 1 insertion(+)
7 > >
8 > > diff --git a/profiles/use.desc b/profiles/use.desc
9 > > index fc19bbd0bbaa..ec5d4d6bc594 100644
10 > > --- a/profiles/use.desc
11 > > +++ b/profiles/use.desc
12 > > @@ -299,6 +299,7 @@ source - Zip the sources and install them
13 > > sox - Add support for Sound eXchange (SoX)
14 > > speex - Add support for the speex audio codec (used for speech)
15 > > spell - Add dictionary support
16 > > +split-usr - Splits /bin and /lib from /usr/bin and /usr/lib
17 > > sqlite - Add support for sqlite - embedded sql database
18 > > ssl - Add support for SSL/TLS connections (Secure Socket Layer / Transport Layer Security)
19 > > startup-notification - Enable application startup event feedback mechanism
20 >
21 > I have no explicit suggestions right now but this description sounds
22 > like it's going to magically take care of splitting or merging
23 > the directories, and AFAIK it doesn't do that.
24
25 Mgorny,
26
27 you are correct, so the more I think about this, the more I am wondering
28 about its value as a use flag.
29
30 On baselayout you need it, because when the stages are built it sets up
31 the directories, but after that it does nothing on baselayout. Once we
32 have 19.0 profiles in the tree and support for older profiles goes away,
33 you won't need the use flag because this is how all linux builds will be
34 done.
35
36 This should not be taken as a quick way to migrate live systems, we do
37 not have that yet. I have a script that I am working on for that purpose.
38
39 The gen_usr_ldscript function should do nothing on a system which has
40 the usr merge. Mike told me that you shouldn't check the live filesystem
41 inside gen_usr_ldscript, so do you know of a better way to check
42 temporarily than a use flag?
43
44 If there is a better way, I would argue that we don't need the use flag
45 on packages besides baselayout.
46
47 William

Attachments

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