We have a most confusing situation here, which is most of all pretty
authorFabian Groffen <grobian@gentoo.org>
Wed, 16 Jul 2008 13:10:43 +0000 (13:10 -0000)
committerFabian Groffen <grobian@gentoo.org>
Wed, 16 Jul 2008 13:10:43 +0000 (13:10 -0000)
commit01346e323a11149e8596efd8dad7a09fbcc2b347
tree6ca8072cc27210f1aee9f74faa32560c576e481f
parent08c324861883494113f2eed8cb17fa9320c652a7
We have a most confusing situation here, which is most of all pretty
weak for protecting us from making mistakes.
First there is a config_root (PORTAGE_CONFIGROOT) which can be a path
somewhere, from which all paths need to be relative (e.g.
etc/portage), hence those constants do NOT have EPREFIX, because
config_root contains EPREFIX by default -- overriding it loses the
EPREFIX as one would expect.
Second there is target_root (ROOT) which is to install somewhere
completely else, in Prefix of limited use.  Because this is an offset
always given, the EPREFIX should always be applied in it.  Those
constants (like VDB_PATH) DO have EPREFIX.

svn path=/main/branches/prefix/; revision=11082
pym/_emerge/__init__.py
pym/portage/__init__.py
pym/portage/const.py
pym/portage/output.py
pym/portage/update.py