1 |
Hey Folks- |
2 |
|
3 |
I'm working on trying to get prefixed installs working. (As such, I'm |
4 |
using some code kindly modified by Michael Haubenwallner. ) I'm now |
5 |
in python code (portage) and would like to compare what I have with |
6 |
gentoo proper. |
7 |
Is this the location of the latest up to date portage code (in CVS, I |
8 |
realized devs might have more "up to date" code on their boxes): |
9 |
http://www.gentoo.org/cgi-bin/viewcvs.cgi/portage/pym/?root=gentoo-src |
10 |
|
11 |
I looked through the dev documentation but couldn't find anywhere |
12 |
where it stated the actual location of the code in CVS. Any pointers |
13 |
would be great. |
14 |
|
15 |
thanks, |
16 |
matt |
17 |
|
18 |
ps. |
19 |
The issue I found is with pym/cache/fs_template.py. If I'm running as |
20 |
root (GID = 0) then this fails: |
21 |
|
22 |
def __init__(self, label, auxdbkeys, basepath=None, gid=-1, |
23 |
perms=0664, **config): |
24 |
"""throws InitializationError if needs args aren't specified""" |
25 |
if not gid: |
26 |
raise |
27 |
cache_errors.InitializationError(self.__class__, "must specify gid!") |
28 |
|
29 |
Shouldn't the logic be "if gid != -1"? I don't have access to a |
30 |
gentoo proper box right now... |
31 |
|
32 |
-- |
33 |
gentoo-portage-dev@g.o mailing list |