Skip to contentSkip to conversation

runqueue.py: Ensure export flag is set for fakeroot environment variables

PATCH New Richard Purdie 1 participant 1 message Feb 18, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/lib/bb/runqueue.py |    1 +
 1 file changed, 1 insertion(+)
bitbake/lib/bb/runqueue.py +1 -0
index 1bbe791..58a3ce7 100644
@@ -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")