From 85587655d47737be31415d36e8e6a0c9ff0f298f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 14 Dec 2011 09:54:22 -0800 Subject: [PATCH] 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. --- pym/portage/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.26.2