summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-09 19:07:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-09 19:07:45 +0100
commit459addf13721a6847406f215650fa1882fb83ea9 (patch)
tree8307e6def039e6e97bf82ada8550a97988854d06
parent67e5e23034c5ec2b9efcca935242830306c0048d (diff)
downloadbitbake-459addf13721a6847406f215650fa1882fb83ea9.tar.gz
runqueue.py: Ensure fakeroot variables are reflected in the datastore
Without this, variables can be set to one thing in one part of the environment and something different in another part. This change ensures the datastore and the environment are consistent. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/runqueue.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index cf3363c99..9a1bad7f5 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -1146,6 +1146,7 @@ class RunQueueExecute:
os.environ[e] = v
for e in fakeenv:
os.environ[e] = fakeenv[e]
+ the_data.setVar(e, fakeenv[e])
if quieterrors:
the_data.setVarFlag(taskname, "quieterrors", "1")