Browse Source

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>
Richard Purdie 12 years ago
parent
commit
459addf137
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/bb/runqueue.py

+ 1 - 0
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")