summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/runqueue.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 9000c5cafc..95828ca2d6 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1063,6 +1063,7 @@ class RunQueueExecute:
1063 # We need to setup the environment BEFORE the fork, since 1063 # We need to setup the environment BEFORE the fork, since
1064 # a fork() or exec*() activates PSEUDO... 1064 # a fork() or exec*() activates PSEUDO...
1065 1065
1066 env = {}
1066 envbackup = {} 1067 envbackup = {}
1067 1068
1068 taskdep = self.rqdata.dataCache.task_deps[fn] 1069 taskdep = self.rqdata.dataCache.task_deps[fn]
@@ -1071,6 +1072,7 @@ class RunQueueExecute:
1071 for key, value in (var.split('=') for var in envvars): 1072 for key, value in (var.split('=') for var in envvars):
1072 envbackup[key] = os.environ.get(key) 1073 envbackup[key] = os.environ.get(key)
1073 os.environ[key] = value 1074 os.environ[key] = value
1075 env[key] = value
1074 1076
1075 fakedirs = (self.rqdata.dataCache.fakerootdirs[fn] or "").split() 1077 fakedirs = (self.rqdata.dataCache.fakerootdirs[fn] or "").split()
1076 for p in fakedirs: 1078 for p in fakedirs: