summaryrefslogtreecommitdiffstats
path: root/pym/portage/__init__.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-12-14 09:54:22 -0800
committerZac Medico <zmedico@gentoo.org>2011-12-14 09:54:22 -0800
commit85587655d47737be31415d36e8e6a0c9ff0f298f (patch)
treededf36d025122f02bd25131215bcc2574c4f53ec /pym/portage/__init__.py
parent32a5e5531d6fa0520478ff831953702365ca6cd9 (diff)
downloadportage-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.
Diffstat (limited to 'pym/portage/__init__.py')
-rw-r--r--pym/portage/__init__.py3
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