Bug fix: added support for ABHELPER_JSON environ.

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 <btgoodwin@geontech.com>
This commit is contained in:
Thomas Goodwin 2019-07-30 14:03:10 -04:00
parent 61ae6e954d
commit abed20475a

View File

@ -15,7 +15,8 @@ maxsteps = 9
# Environment to pass into the workers, e.g. to load further local configuration # Environment to pass into the workers, e.g. to load further local configuration
# fragments # fragments
extra_env = {} 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 @util.renderer
def get_sstate_release_number(props): def get_sstate_release_number(props):