DEPCACHE_PATH is not used with ROOT at all, so move it out of the target_root variabl...
authorFabian Groffen <grobian@gentoo.org>
Sat, 5 Sep 2009 13:33:29 +0000 (13:33 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sat, 5 Sep 2009 13:33:29 +0000 (13:33 -0000)
svn path=/main/trunk/; revision=14199

pym/portage/const.py

index e0c34e4942ae04503571c941f11bb25062a72d37..8b36aac141e785898a73a6fdfb801b673f5d3051 100644 (file)
@@ -45,7 +45,6 @@ DEPRECATED_PROFILE_FILE  = PROFILE_PATH + "/deprecated"
 # have a leading '/' since they are used directly with os.path.join)
 VDB_PATH                 = "var/db/pkg"
 CACHE_PATH               = "var/cache/edb"
-DEPCACHE_PATH            = CACHE_PATH + "/dep"  # FIXME: does not seem to use ROOT when used
 PRIVATE_PATH             = "var/lib/portage"
 WORLD_FILE               = PRIVATE_PATH + "/world"
 WORLD_SETS_FILE          = PRIVATE_PATH + "/world_sets"
@@ -53,6 +52,7 @@ CONFIG_MEMORY_FILE       = PRIVATE_PATH + "/config"
 NEWS_LIB_PATH            = "var/lib/gentoo"
 
 # these variables are not used with target_root or config_root
+DEPCACHE_PATH            = "/var/cache/edb/dep"
 GLOBAL_CONFIG_PATH       = "/usr/share/portage/config"
 PORTAGE_BASE_PATH        = os.path.join(os.sep, os.sep.join(__file__.split(os.sep)[:-3]))
 PORTAGE_BIN_PATH         = PORTAGE_BASE_PATH + "/bin"