public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jonathan Callen <jcallen@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Re: Making a common sub-profile for no-multilib
Date: Wed, 02 Jul 2014 19:06:59 -0400	[thread overview]
Message-ID: <53B49093.5070303@gentoo.org> (raw)
In-Reply-To: <pan$6ce03$fcfdd97$b5b824ed$7c0b07f2@cox.net>

-----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-----


  reply	other threads:[~2014-07-02 23:07 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-25 17:01 [gentoo-dev] Making a common sub-profile for no-multilib Ian Stakenvicius
2014-06-25 18:44 ` Michał Górny
2014-06-25 19:00   ` Chris Reffett
2014-06-25 19:14     ` Anthony G. Basile
2014-06-25 19:11   ` Rich Freeman
2014-06-25 20:01     ` Andreas K. Huettel
2014-07-02 13:30       ` Rich Freeman
2014-07-02 18:14         ` [gentoo-dev] " Duncan
2014-07-02 23:06           ` Jonathan Callen [this message]
2014-07-03  4:59             ` Duncan
2014-07-03  7:05               ` Jonathan Callen
2014-07-03  9:05                 ` Duncan
2014-07-03  9:43                   ` Michał Górny
2014-07-03 10:58 ` [gentoo-dev] " Michał Górny
2014-07-03 12:07   ` Peter Stuge
2014-07-03 12:12     ` Michał Górny
2014-07-03 12:42       ` Peter Stuge
2014-07-03 12:33     ` Rich Freeman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53B49093.5070303@gentoo.org \
    --to=jcallen@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox