From ca60e67b7a71f4935c67ae5cf9a71f0696d7d5f6 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Fri, 24 Jan 2020 14:15:52 +0100 Subject: SPEC-3132: upsquare does not have dtb Asking dtb for upsquare lead to utils/job-prereq.py crash since x86 machines does not have dtb. This patch made upsquare to use FILE_MAP_X86 Bug-AGL: SPEC-3132 Change-Id: I4d33b61719c0d5e3afd83e5d8bb8dc468e26e259 Signed-off-by: Corentin LABBE --- utils/job-prereq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/job-prereq.py') diff --git a/utils/job-prereq.py b/utils/job-prereq.py index c4c0780..a7b414b 100755 --- a/utils/job-prereq.py +++ b/utils/job-prereq.py @@ -68,7 +68,7 @@ def main(): for key in FILE_MAP_QEMU: if getattr(args, key): print job_yaml["actions"][0]["deploy"]["images"][FILE_MAP_QEMU[key]].get("url").split('/')[-1] - elif args.machine == "intel-corei7-64": + elif args.machine == "intel-corei7-64" or args.machine == "upsquare": for key in FILE_MAP_X86: if getattr(args, key): print job_yaml["actions"][0]["deploy"][key].get("url").split('/')[-1] -- cgit 1.2.3-korg