Gentoo Archives: gentoo-alt

From: Peter Abrahamsen <rainhead@×××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] Portability of Prefixed installs?
Date: Tue, 24 Jun 2008 21:46:44
Message-Id: e3171c650806241446l6cd26a88n5cc3f68151e75734@mail.gmail.com
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

Replies