[bitbake-devel] [PATCH] runqueue.py: Ensure export flag is set for fakeroot environment variables
Richard Purdie
richard.purdie at linuxfoundation.org
Mon Feb 18 13:18:31 UTC 2013
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 at linuxfoundation.org>
---
bitbake/lib/bb/runqueue.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 1bbe791..58a3ce7 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/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")
More information about the bitbake-devel
mailing list