Gentoo Archives: gentoo-dev

From: Jonathan Callen <jcallen@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: usr merge
Date: Wed, 06 Apr 2016 00:07:10
Message-Id: 57045320.60605@gentoo.org
In Reply to: Re: [gentoo-dev] usr merge by Alexis Ballier
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA512
3
4 On 04/05/2016 12:53 PM, Alexis Ballier wrote:
5 > On Tuesday, April 5, 2016 2:26:53 PM CEST, Duncan wrote:
6 >>
7 >> As I said in the other thread, I'm running merged /usr and
8 >> bin/sbin here, except that I merged them the other way, with /usr
9 >> -> . so everything in /usr is now in /.
10 >>
11 >> Portage has long "just worked" in that regard, tho I've no idea
12 >> whether the other PMs do. Portage has enough intelligence to
13 >> avoid replacing a file with a symlink pointing to it (and thus to
14 >> itself once the replacement is done), regardless of which way the
15 >> directory symlinks point.
16 >>
17 >> As such, coreutils "just works". If the two would end up in the
18 >> same canonical location, the file wins and the symlink isn't
19 >> installed.
20 >
21 > What about the unlikely case with two files ?
22 >
23
24 Having actually run this way myself, I did find one case that I
25 haven't filed a bug for yet: the plymouth ebuild tries to install
26 symlinks in /sbin pointing at /usr/sbin, and portage chose to install
27 the symlinks instead of the real files, for whatever reason
28 (apparently because the $ED/sbin directory is created after the
29 $ED/usr directory). Because of this, it might be best to ensure that
30 packages that do install in both places are modified not to do so
31 under such a configuration.
32
33 - --
34 Jonathan Callen
35 -----BEGIN PGP SIGNATURE-----
36 Version: GnuPG v2
37
38 iQIcBAEBCgAGBQJXBFMbAAoJEEIQbvYRB3mg2e4P/2lPBxpyjY311LP7gN2Nndn4
39 Dd4EtFbh8tQWoedPJQgr2CIeVgpPFA7l/stuvcoZAqLVDuFnn4ZmMWSIQOgHmgPp
40 +mIiCDPuLMjhqw/yINlTGGVVhffHFG4PrHcd2MwP6Gm9ME0NH8+Z0cgAznHsHQ5c
41 lgNdfXDsgBdrSrKu5/JTw7jDOv1A1TwIACJoLpEYZTlVCBClp6J01kqH1oyEzPf8
42 FO6fqAvFJXCq1um6/+ve8LOpS0OLBpg0dh5kcdkFgV1430FqNwUczMINhav5J0mp
43 qTAIZTO4OSLxyswOUiKoxROl4xrQ1ByYi1ZF7g24oh7M1fmkreNClrhJ1kA3M6ff
44 OJ3LJ6m350LEIVzAED66pnKOTNDOLJSaz6MsPk8CHzuJ2RCMatKjBA3Lb0tkkepp
45 5LOCBXbnVfSPRI+TQM91cHXVnh87T1zZSeGT8qOCfNoF7rFWNSlpIRnxMeeFlv2n
46 0kXfJo9YeiUAA9BYXBryMIsWr4StM4I9oq0ITc7h9WmB/WKW6zJhl7WHd7SgiePW
47 Lb2fHJtz0R8dUIc53Yxuls1Cbt8AUAFYmN9Ve615cVLs3+jO8HWmwiuFfiYH71k1
48 JaS51cgBjPBnQuiET0iNxu/gjIekwIjoNptn/cCr9IZ4jnZ9L13ai6Wug49vUwwK
49 bed4Tt3nl8GSbRtlV+rk
50 =PHpB
51 -----END PGP SIGNATURE-----