Commit cdc3460e authored by Oliver Horst's avatar Oliver Horst
Browse files

[chg] Added support for relative hw-image paths

parent 4eb4aacb
......@@ -44,9 +44,15 @@ def get_toki_core_config_path(d):
return toki_config_path
def get_toki_hw_image(d):
import os
config = get_toki_deployment_config(d)
return config["hw-image"]
path = config["hw-image"]
if not os.path.isabs(path):
path = os.path.join(os.getenv('TOKI_SRC_DIR', os.curdir), path)
return path
def get_toki_master_core(d):
config = get_toki_deployment_config(d)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment