List Archive: gentoo-portage-dev
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
m h wrote:
> Hey Folks-
> I'm working on trying to get prefixed installs working. (As such, I'm
> using some code kindly modified by Michael Haubenwallner. ) I'm now
> in python code (portage) and would like to compare what I have with
> gentoo proper.
> Is this the location of the latest up to date portage code (in CVS, I
> realized devs might have more "up to date" code on their boxes):
> I looked through the dev documentation but couldn't find anywhere
> where it stated the actual location of the code in CVS. Any pointers
> would be great.
> The issue I found is with pym/cache/fs_template.py. If I'm running as
> root (GID = 0) then this fails:
> def __init__(self, label, auxdbkeys, basepath=None, gid=-1,
> perms=0664, **config):
> """throws InitializationError if needs args aren't specified"""
> if not gid:
> cache_errors.InitializationError(self.__class__, "must specify gid!")
> Shouldn't the logic be "if gid != -1"? I don't have access to a
> gentoo proper box right now...
I thought that part of brian's domain stuff in Savior was to cover this.
In either case no one should be writing any real code at this point
since no one has agreed on any sane way to pull this off. There needs
to be plenty of healthy discussion the pro's and con's of how things
should be done in regards to *-prefix.
In conclusion, if you think this will be 'easy', think again ;)
PS. However starting discussion on how exactly this would work might be
a nice thing to do ;)
firstname.lastname@example.org mailing list