The readme suggests exporting this variable from the
environment to expose multiple configuration JSON files
but the intended behavior doesn't work without adding the
variable to extra_env.

Signed-off-by: Thomas Goodwin <btgood...@geontech.com>
---
 builders.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/builders.py b/builders.py
index 5765040..3d12969 100644
--- a/builders.py
+++ b/builders.py
@@ -15,7 +15,8 @@ maxsteps = 9
 # Environment to pass into the workers, e.g. to load further local 
configuration
 # fragments
 extra_env = {}
-#extra_env = {"ABHELPER_JSON" : "config.json 
/home/pokybuild/config-local.json"}
+if os.environ.get('ABHELPER_JSON'):
+    extra_env['ABHELPER_JSON'] = os.environ['ABHELPER_JSON']
 
 @util.renderer
 def get_sstate_release_number(props):
-- 
2.17.1

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to