From 335d83e4fd1207b01605db0ee56b93d123accdce Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 10 Mar 2009 00:05:25 +0000 Subject: [PATCH] Inside create_trees(), when cleansing the environment for the ROOT=/ config instance, call config.reset() so that configdict['env'] is cleared as was originally intended here. This prevents thinks like CHOST overrides from the calling environment from inappropriately being applied to ROOT=/. svn path=/main/trunk/; revision=12811 --- pym/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 9903cd820..03b9e1a30 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -7917,7 +7917,7 @@ def create_trees(config_root=None, target_root=None, trees=None): if k in env_d or \ v == backupenv.get(k): backupenv.pop(k, None) - settings.regenerate() + settings.reset() settings.lock() myroots.append((settings["ROOT"], settings)) -- 2.26.2