summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bitbake-dev/lib/bb/data.py1
-rw-r--r--bitbake/lib/bb/data.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/bitbake-dev/lib/bb/data.py b/bitbake-dev/lib/bb/data.py
index 19e67dbc3..cc08d6900 100644
--- a/bitbake-dev/lib/bb/data.py
+++ b/bitbake-dev/lib/bb/data.py
@@ -329,6 +329,7 @@ def inheritFromOS(d):
for s in os.environ.keys():
try:
setVar(s, os.environ[s], d)
+ setVarFlag(s, "export", True, d)
except TypeError:
pass
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py
index 19e67dbc3..cc08d6900 100644
--- a/bitbake/lib/bb/data.py
+++ b/bitbake/lib/bb/data.py
@@ -329,6 +329,7 @@ def inheritFromOS(d):
for s in os.environ.keys():
try:
setVar(s, os.environ[s], d)
+ setVarFlag(s, "export", True, d)
except TypeError:
pass