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:08:54 +0100
commit20dbf0024385eaef61a04d8773fd7640e3c8cc6d (patch)
tree4ab9d2721eac3e39d1cb002f2f1268e0b821bc1b
parentacf62d33d0e3b11b39c242e557cc2d43dbf47adb (diff)
downloadpoky-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>
-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 e2255e7b7d..aca06b57be 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1146,6 +1146,7 @@ class RunQueueExecute:
1146 os.environ[e] = v 1146 os.environ[e] = v
1147 for e in fakeenv: 1147 for e in fakeenv:
1148 os.environ[e] = fakeenv[e] 1148 os.environ[e] = fakeenv[e]
1149 the_data.setVar(e, fakeenv[e])
1149 1150
1150 if quieterrors: 1151 if quieterrors:
1151 the_data.setVarFlag(taskname, "quieterrors", "1") 1152 the_data.setVarFlag(taskname, "quieterrors", "1")