From: Zac Medico Date: Wed, 11 Mar 2009 07:41:09 +0000 (-0000) Subject: Inside create_trees(), when cleansing the environment for the ROOT=/ config X-Git-Tag: v2.1.6.8~34 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=976231854d1bddfd6df1ce7c302c31481f4cc37f;p=portage.git 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=/. (trunk r12811) svn path=/main/branches/2.1.6/; revision=13043 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index ff86002f0..5958badbf 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -7904,7 +7904,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))