diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2013-10-19 15:46:31 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2013-10-19 15:46:31 +0300 |
commit | 5cae899be6a818ead67da1a4eb3326540a53600f (patch) | |
tree | a58b9d305097c89d89c300461c8eb8acc525f78b | |
parent | 653938978f776786414dde79e3176ca3ee8f33db (diff) |
Extract hwpack type in multi-configuration projects
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
-rwxr-xr-x | lava-submit.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lava-submit.py b/lava-submit.py index 41cc996..0345e7a 100755 --- a/lava-submit.py +++ b/lava-submit.py @@ -143,7 +143,11 @@ def main(): if hwpack_type.startswith('pre-built-images-'): hwpack_type = hwpack_type[(len('pre-built-images-')):] if '=' in hwpack_type: - hwpack_type = hwpack_type[(len('pre-built-images/hwpack=')):] + hwpack_type = hwpack_type[(len('pre-built-images/')):] + ret_split = dict( + token.split('=') for token in hwpack_type.split(',')) + hwpack_type = ret_split['hwpack'] + # Rootfs type, default is developer rootfs_type = os.getenv('ROOTFS_TYPE', 'developer') |