summaryrefslogtreecommitdiffstats
path: root/bitbake/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:10:14 +0100
commit0c0bb02f5104e3856c9d90088e1ece08652cc19f (patch)
treed235ca15d4c92e747d2ce1ade34f78bf87b05d27 /bitbake/lib/bb/runqueue.py
parentba707d0ffaf8f0709166514667b65c356fe1d48c (diff)
downloadpoky-0c0bb02f5104e3856c9d90088e1ece08652cc19f.tar.gz
bitbake: 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. (Bitbake rev: bdf437747b664479acde6deaa9096e2a6bcdf483) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-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 e960b4f9da..f1964da906 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1139,6 +1139,7 @@ class RunQueueExecute:
1139 for e in fakeenv: 1139 for e in fakeenv:
1140 os.environ[e] = fakeenv[e] 1140 os.environ[e] = fakeenv[e]
1141 the_data.setVar(e, fakeenv[e]) 1141 the_data.setVar(e, fakeenv[e])
1142 the_data.setVarFlag(e, 'export', "1")
1142 1143
1143 if quieterrors: 1144 if quieterrors:
1144 the_data.setVarFlag(taskname, "quieterrors", "1") 1145 the_data.setVarFlag(taskname, "quieterrors", "1")