summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2014-12-13 19:33:26 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2014-12-13 19:33:26 +0200
commitacd5ce18715fa69a6e7dba0e2140d64bd3cbf9d0 (patch)
tree1930f0bdc7da129384e5d6489b974c9388341d65
parent8489643f9b4525cdb1d8017741748169abc2d524 (diff)
downloadlci-build-tools-acd5ce18715fa69a6e7dba0e2140d64bd3cbf9d0.tar.gz
yaml-to-json: add BOOT_URL, DATA_URL and SYSTEM_URL support
Change-Id: Ia7c9933c8a0b3fddebd3804576d759914accff93 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
-rwxr-xr-xyaml-to-json.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/yaml-to-json.py b/yaml-to-json.py
index 198b9ff..5cf9d98 100755
--- a/yaml-to-json.py
+++ b/yaml-to-json.py
@@ -12,9 +12,11 @@ def main():
template = string.Template(f.read())
lava_template = template.safe_substitute(
+ BOOT_URL=os.environ.get('BOOT_URL'),
BUILD_NUMBER=os.environ.get('BUILD_NUMBER'),
BUILD_URL=os.environ.get('BUILD_URL'),
BUNDLE_STREAM_NAME=os.environ.get('BUNDLE_STREAM_NAME'),
+ DATA_URL=os.environ.get('DATA_URL'),
DEVICE_TYPE=os.environ.get('DEVICE_TYPE'),
DTB=os.environ.get('DTB'),
DTB_URL=os.environ.get('DTB_URL'),
@@ -29,6 +31,7 @@ def main():
ROOTFS_BUILD_NUMBER=os.environ.get('ROOTFS_BUILD_NUMBER'),
ROOTFS_BUILD_URL=os.environ.get('ROOTFS_BUILD_URL'),
STARTUP_NSH=os.environ.get('STARTUP_NSH'),
+ SYSTEM_URL=os.environ.get('SYSTEM_URL'),
defconfig=os.environ.get('defconfig'),
hwpack_type=os.environ.get('hwpack_type'),
kernel_config=os.environ.get('kernel_config'),