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 17:00:32
Message-Id: 1ca1fc7d-c610-4221-9a5d-91c829b2f635@gentoo.org
In Reply to: Re: [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 6:07:28 PM CEST, Mike Frysinger wrote:
2 > On 31 Mar 2016 16:05, Alexis Ballier wrote:
3 >> On Thursday, March 31, 2016 1:58:19 AM CEST, Mike Frysinger wrote:
4 >>> All ebuilds that call gen_usr_ldscript today will migrate to this and
5 >>> will allow people to move away from installing things into /. For the
6 >>> systems that want to have a split-/usr partition, they can turn on this
7 >>> USE flag across their system.
8 >>
9 >> Your patchset seems to be missing some ebuilds in that regard: expat and
10 >> sys-freebsd/* come to mind.
11 >
12 > i did not do a full migration as i got bored, but i did do enough to show
13 > it in action. the current method does not require all be converted at the
14 > same time though, so it can be left up to maintainers of relevant packages
15 > to do the change over themselves.
16
17 i dont think anybody expects you to post tree-wide conversion patches to
18 -dev ml :)
19
20 but i also dont think it is a good idea to leave the toolchain-funcs
21 version around, and if you want to drop it, you'll have to fill bugs to let
22 ppl know, which is probably more work than adding 8 chars to an inherit
23 line that can be automated
24
25
26 >>> This also allows us to mask the flag on many targets where it doesn't
27 >>> make sense (like most prefix setups) and where we don't want to support
28 >>> it at all.
29 >>
30 >> It should be noted that, unless I missed something, the default settings
31 >> will *not anymore* allow sep-usr after this patchset (sep-usr
32 >> useflag will
33 >> be disabled). This should be advertised more (a news item?) or simply
34 >> sep-usr added to make.defaults. The latter will also enable busybox's
35 >> sep-usr support.
36 >
37 > the patchset allows for some targets (notably Linux systems) to control
38 > whether the flag is enabled. it is turned off by default and i think
39 > that's the behavior we want. i have not forced enabled it for any target
40 > but maybe the prefix/darwin guys will want to do that.
41
42 not sure if this was phrased as such, but I seem to recall a council
43 decision stating that separate /usr should be made easy to users unless
44 this causes serious issues; thus, no, I don't think that is the behavior we
45 want :)
46
47 Alexis.

Replies