diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-12-14 09:54:22 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-12-14 09:54:22 -0800 |
commit | 85587655d47737be31415d36e8e6a0c9ff0f298f (patch) | |
tree | dedf36d025122f02bd25131215bcc2574c4f53ec | |
parent | 32a5e5531d6fa0520478ff831953702365ca6cd9 (diff) | |
download | portage-85587655d47737be31415d36e8e6a0c9ff0f298f.tar.gz portage-85587655d47737be31415d36e8e6a0c9ff0f298f.tar.bz2 portage-85587655d47737be31415d36e8e6a0c9ff0f298f.zip |
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.
-rw-r--r-- | pym/portage/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |