diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2018-06-26 21:38:59 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2018-06-26 21:38:59 +0000 |
commit | 7a33658a76154db577bb902e02666030602e453c (patch) | |
tree | 1589b1c2ee883be0bb1e7baddecd27c2fa830d24 /utils | |
parent | 36b21e65802392c8bd8fc23dfdcbb6f1b7cca509 (diff) | |
parent | 8d0014115f4efb3abd00d62dc85e582f831baa2a (diff) |
Merge "utils/agljobtemplate: fixup image_type, branch and version"
Diffstat (limited to 'utils')
-rw-r--r-- | utils/agljobtemplate.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py index 59abcb0..dda2d77 100644 --- a/utils/agljobtemplate.py +++ b/utils/agljobtemplate.py @@ -99,6 +99,7 @@ class Agljobtemplate(object): job['yocto_machine'] = machine job['priority'] = priority job['build_type'] = build_type + job['image_type'] = "AGL-%s" % build_type defaults, infra = parse_cfg_file(self._template_path, 'default.cfg', build_type) @@ -150,6 +151,12 @@ class Agljobtemplate(object): if build_version is not None: job['kernel_version'] = build_version + if url_version: + job['kernel_version'] = url_version + + if url_branch: + job['vcs_branch'] = url_branch + if rfs_type is not None: job['rootfs_type'] = rfs_type |