-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 07/02/2014 02:14 PM, Duncan wrote: > Rich Freeman posted on Wed, 02 Jul 2014 09:30:50 -0400 as > excerpted: > >> Some things to think about include multilib (just another >> arch?), systemd, and usr-merge. I'm not saying that we need to >> implement any of that stuff completely - but when planning the >> profile layout we should at least consider whether it will handle >> things like this in the future. Should some types of profiles be >> only additive? Etc... > > FWIW, systemd with merge to / (/usr being a symlink to . and sbin > to bin) here. In particular, the merge "just works" with current > portage. I'm no-multilib. >
That merge only works because you happened to get lucky, and have portage merge coreutils in a particular manner (/usr/bin/uname installed before /bin/uname). If portage had installed /bin/uname first, you would have ended up with a /bin/uname symlink pointing to /bin/uname. The same is also true of basename, chroot, cut, dir, dirname, du, env, expr, head, mkfifo, mktemp, readlink, seq, sleep, sort, tail, touch, tr, tty, vdir, wc, and yes. I myself am currently running a system with the opposite merge (/bin, /lib, /lib64, and /sbin are symlinks to /usr/bin, /usr/lib, /usr/lib64, and /usr/sbin) although I do not yet have the sbin -> bin merge yet. I added a post_src_install and post_pkg_preinst hook in my /etc/portage/bashrc to ensure that there are no conflicts before the package is merged and a pre_pkg_setup hook to disarm gen_usr_ldscript (so as not to create a conflict). The only two packages I have installed that I had to modify to make this work were coreutils (as noted above) and plymouth. - -- Jonathan Callen -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCgAGBQJTtJCTAAoJELHSF2kinlg41W0P/19TAJErj3y7eMFGJG2BMVIM TtAj2wM+whB0Md1+TGypFS0ESO+hJAxNyyuIT215afRIqZJgYjZG5NZCnmygI71t 9das1k2JHn+PRO5KSZcw3Z3VcpspzADTwR+avaxiqRuslzyTvAYrsPj+7oQd6iDp 4XzDKFSEh2hNJHUQUQ3eT5NxlJNQu9uxKLc4aM+1/GImlSAVbbiKHUHWy3njSVWN twFkQJ59IHod9aZgn0txydd9hhMr43Et6uDJywjGuIeVQncAO/eBvT9hRE5tB3aN x/pd1Dcf0V5FTN/459kcoRwTBQ2k3quhGJBeSSGLUwNlTjdOWDbqU5HcgOf0d7v4 NXMIOr95ung3LgeqCyZU5S4XTyoh9w/nZRXuSTYL0sQL3IxffLRkVPcvis02cY6a jZaSAwkVkPhyAGkV0QxMsfhEP9+2wdtB7JMc28kslO0kGpdV5Oa8ES+QqnwVXgi7 umB+5D4IjTDK6uPcM5K5p+8wKWcsFMvn5X/+3Fh49S6KDiWZRsjq45pHC7+5lC0p S8EJb8XybieRvQsVGo8NfgucvRQFbeUn+BaUfztoNRvKG3NxsnxRJ+JycK9bi1pj znu7YKmCZMmt8PurliQPKQ6vtPjFQK19gZZf72zTVBycc2hdaKnbowAV0rBgTETN +8xryIRBNfISkUIjEip/ =Muzz -----END PGP SIGNATURE-----