summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
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:08:54 +0100
commit20dbf0024385eaef61a04d8773fd7640e3c8cc6d (patch)
tree4ab9d2721eac3e39d1cb002f2f1268e0b821bc1b /bitbake/lib
parentacf62d33d0e3b11b39c242e557cc2d43dbf47adb (diff)
downloadast2050-yocto-poky-20dbf0024385eaef61a04d8773fd7640e3c8cc6d.zip
ast2050-yocto-poky-20dbf0024385eaef61a04d8773fd7640e3c8cc6d.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. (Bitbake rev: 459addf13721a6847406f215650fa1882fb83ea9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/runqueue.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index e2255e7..aca06b5 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/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")
OpenPOWER on IntegriCloud