Gentoo Archives: gentoo-dev

From: Alexis Ballier <aballier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 00/21] gen_usr_ldscript: migrate away from a sep-/usr by default
Date: Thu, 31 Mar 2016 14:05:41
Message-Id: 95d3d986-aecd-47f1-85c7-fd47be8ffd39@gentoo.org
In Reply to: [gentoo-dev] [PATCH 00/21] gen_usr_ldscript: migrate away from a sep-/usr by default by Mike Frysinger
1 On Thursday, March 31, 2016 1:58:19 AM CEST, Mike Frysinger wrote:
2 > To make forward progress on bug 417451, introduce a new sep-usr eclass
3 > that will hold all logic related to having a separate /usr. For now,
4 > this is just the gen_usr_ldscript function and a new USE=sep-usr flag.
5
6 Good idea, thanks. I'm not 100% convinced it is worth a useflag (instead of
7 e.g. a make.defaults variable that one can override in make.conf), but why
8 not.
9
10 > All ebuilds that call gen_usr_ldscript today will migrate to this and
11 > will allow people to move away from installing things into /. For the
12 > systems that want to have a split-/usr partition, they can turn on this
13 > USE flag across their system.
14
15 Your patchset seems to be missing some ebuilds in that regard: expat and
16 sys-freebsd/* come to mind.
17
18
19 > This also allows us to mask the flag on many targets where it doesn't
20 > make sense (like most prefix setups) and where we don't want to support
21 > it at all.
22
23 It should be noted that, unless I missed something, the default settings
24 will *not anymore* allow sep-usr after this patchset (sep-usr useflag will
25 be disabled). This should be advertised more (a news item?) or simply
26 sep-usr added to make.defaults. The latter will also enable busybox's
27 sep-usr support.
28
29 Alexis.

Replies