From: Zac Medico Date: Wed, 14 Dec 2011 17:54:22 +0000 (-0800) Subject: create_trees: pass __PORTAGE_TEST_HARDLINK_LOCKS X-Git-Tag: v2.2.0_alpha81~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=85587655d47737be31415d36e8e6a0c9ff0f298f;p=portage.git create_trees: pass __PORTAGE_TEST_HARDLINK_LOCKS This allows testing of stage builds with __PORTAGE_TEST_HARDLINK_LOCKS set in the environment, since __PORTAGE_TEST_HARDLINK_LOCKS needs to propagate to childs processes for all ROOTs. --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 339c64fc6..3495b96ec 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -522,7 +522,8 @@ def create_trees(config_root=None, target_root=None, trees=None, env=None, clean_env = {} for k in ('PATH', 'PORTAGE_GRPNAME', 'PORTAGE_USERNAME', 'SSH_AGENT_PID', 'SSH_AUTH_SOCK', 'TERM', - 'ftp_proxy', 'http_proxy', 'no_proxy'): + 'ftp_proxy', 'http_proxy', 'no_proxy', + '__PORTAGE_TEST_HARDLINK_LOCKS'): v = settings.get(k) if v is not None: clean_env[k] = v