Gentoo Archives: gentoo-alt

From: mattmatteh@×××.com
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Portability of Prefixed installs?
Date: Wed, 25 Jun 2008 04:04:28
Message-Id: Pine.LNX.4.64.0806242254310.20492@ssbook.home
In Reply to: [gentoo-alt] Portability of Prefixed installs? by Peter Abrahamsen
i had that problem; grobian helped me fix it, its easy.  i changed 
my uid to match my gentoo linux file server for nfs mounts. look at:

etc/make.globals:PORTAGE_INST_UID
usr/lib/portage/pym/portage/const_autotool.py:rootuid

matt

On Tue, 24 Jun 2008, Peter Abrahamsen wrote:

> Hi all, > > We have a prefixed Gentoo disk image here at our office that we > distribute to developers on OS X boxes so they can run full > development environments locally. It has postgresql, memcached, and > other goodies pre-installed with the right USE flags. > > Presently, the images are pretty much fixed once they're distributed > -- any updates have to come from the person who made the image. It > seems that their username is hard-coded in some scripts and config > files here and there, and emerge is unhappy if run by a different > user. I've changed those entries manually before, but I'm wondering if > it's really necessary that the username be hard-coded anywhere? Would > it be easy to make the code user-agnostic? > > It would be even more awesome to keep installs agnostic with respect > to where they are mounted, but I'm guessing this would be a much > larger undertaking, requiring more fundamental changes to portage. > > Neither of these issues is a huge deal, as we're happy just > distributing new images from time to time and not making our devs deal > with system management, but there've been several times when I've > wanted these flexibilities from portage. > > Thanks, > Peter > -- > gentoo-alt@l.g.o mailing list > >
-- gentoo-alt@l.g.o mailing list