Inside, create_trees(), pass target_root="/" into the config constructor
authorZac Medico <zmedico@gentoo.org>
Sat, 7 Jun 2008 23:52:19 +0000 (23:52 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 7 Jun 2008 23:52:19 +0000 (23:52 -0000)
when necessary to override the setting in make.conf. (trunk r10598)

svn path=/main/branches/2.1.2/; revision=10599

pym/portage.py

index f845fc12d690a4c82b3a1a8ecdc7d889f5ea6dff..9abbc53af32daaeb573ff6969526c95cf92921ab 100644 (file)
@@ -10695,7 +10695,7 @@ def create_trees(config_root=None, target_root=None, trees=None):
 
        myroots = [(settings["ROOT"], settings)]
        if settings["ROOT"] != "/":
-               settings = config(config_root=None, target_root=None,
+               settings = config(config_root=None, target_root="/",
                        config_incrementals=portage_const.INCREMENTALS)
                # When ROOT != "/" we only want overrides from the calling
                # environment to apply to the config that's associated