Patchwork [bitbake-devel] runqueue.py: Ensure export flag is set for fakeroot environment variables

login
register
mail settings
Submitter Richard Purdie
Date Feb. 18, 2013, 1:18 p.m.
Message ID <1361193511.5927.8.camel@ted>
Download mbox | patch
Permalink /patch/44807/
State New
Headers show

Comments

Richard Purdie - Feb. 18, 2013, 1:18 p.m.
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>
---
 bitbake/lib/bb/runqueue.py |    1 +
 1 file changed, 1 insertion(+)

Patch

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")