Gentoo Archives: gentoo-dev

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

Attachments

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