Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: Gentoo Dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] [PATCH] use.desc: add global USE flag 'split-sbin'
Date: Sun, 13 Oct 2019 16:43:52
Message-Id: CAJ0EP42sNqcqdOWSTi17qW6UM7LFXZpJv9md3Mm_ouDGqdNLeQ@mail.gmail.com
In Reply to: Re: [gentoo-dev] [PATCH] use.desc: add global USE flag 'split-sbin' by Mike Gilbert
1 On Sun, Oct 13, 2019 at 12:33 PM Mike Gilbert <floppym@g.o> wrote:
2 >
3 > On Sat, Oct 12, 2019 at 1:52 PM David Seifert <soap@g.o> wrote:
4 > >
5 > > On Sat, 2019-10-12 at 19:01 +0200, Dennis Schridde wrote:
6 > > > On Samstag, 12. Oktober 2019 18:02:28 CEST William Hubbs wrote:
7 > > > > On Sat, Oct 12, 2019 at 01:11:49PM +0200, Michał Górny wrote:
8 > > > > > On Sat, 2019-10-12 at 13:00 +0200, David Seifert wrote:
9 > > > > > > * Some distros have not just merged / and /usr, they
10 > > > > > >
11 > > > > > > have also merged /usr/bin and /usr/sbin. By giving
12 > > > > > > users the choice of merging */bin and */sbin,
13 > > > > > > Gentoo follows suit.
14 > > > > >
15 > > > > > What about the scenario when /bin has been merged with /usr/sbin
16 > > > > > and /sbin with /usr/bin? ;-P
17 > > > >
18 > > > > I also don't see the need for something like this. The idea of the
19 > > > > /usr
20 > > > > merge is to have all binaries available in one place, and there
21 > > > > really
22 > > > > is not a good justification for separating bin from sbin.
23 > > >
24 > > > Do I read this correctly? USE=-split-usr currently means that /bin,
25 > > > /sbin, /
26 > > > usr/bin and /usr/sbin point to the same directory?
27 > > >
28 > > > If that is not the case, then I agree that users should have the
29 > > > possibility
30 > > > to set it up like this and USE=-split-sbin should be supported.
31 > > >
32 > > > --Dennis
33 > >
34 > > I agree, I wasn't aware that USE=-split-usr implies the complete 2-
35 > > level (/usr and *sbin) merge. In that case, all of this is obsolete.
36 >
37 > That was NOT my intention when I introduced the split-usr USE flag.
38 >
39 > For bin/sbin, I would prefer to drop any conflicting links
40 > unconditionally. Do you have examples of scenarios where this is not
41 > possible?
42
43 I guess more generally, I would like to know how you see this USE flag
44 being used.
45
46 I have some guidelines for split-usr on my devspace (needs a home on the wiki).
47
48 https://dev.gentoo.org/~floppym/split-usr.txt

Replies

Subject Author
Re: [gentoo-dev] [PATCH] use.desc: add global USE flag 'split-sbin' "Michał Górny" <mgorny@g.o>