summaryrefslogtreecommitdiffstats
path: root/lib/bb/runqueue.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-18 13:18:31 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-22 12:00:49 +0100
commitbdf437747b664479acde6deaa9096e2a6bcdf483 (patch)
tree998e373bf3d6b8a3997928c95dc89856ac334458 /lib/bb/runqueue.py
parente57497a24b6157c92519a34accd66035a39ad1f8 (diff)
downloadbitbake-bdf437747b664479acde6deaa9096e2a6bcdf483.tar.gz
runqueue.py: Ensure export flag is set for fakeroot environment variables
This means the variables show up in the shell execution "run" files since its useful to know what the fakeroot environment is and how to set it up manually. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/runqueue.py')
-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 e960b4f9d..f1964da90 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -1139,6 +1139,7 @@ class RunQueueExecute:
for e in fakeenv:
os.environ[e] = fakeenv[e]
the_data.setVar(e, fakeenv[e])
+ the_data.setVarFlag(e, 'export', "1")
if quieterrors:
the_data.setVarFlag(taskname, "quieterrors", "1")