summaryrefslogtreecommitdiffstats
path: root/scripts/qemucommand.py
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2020-09-03 14:01:28 +0200
committerGitHub <noreply@github.com>2020-09-03 14:01:28 +0200
commitfbc67c12879d1797873b56d8f29012c69e84dae9 (patch)
treed6c1f3ecf61d8a1255b215294e806631099c384a /scripts/qemucommand.py
parent2594d57b85e22ce657d9259405746bd834c57983 (diff)
parent40b04fe27e573fdb256accd35e5df793c894033f (diff)
downloadmeta-updater-fbc67c12879d1797873b56d8f29012c69e84dae9.tar.gz
Merge pull request #770 from advancedtelematic/feat/thud/2020.9
Feat/thud/2020.9
Diffstat (limited to 'scripts/qemucommand.py')
-rw-r--r--scripts/qemucommand.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/qemucommand.py b/scripts/qemucommand.py
index 30929ac..9658fcd 100644
--- a/scripts/qemucommand.py
+++ b/scripts/qemucommand.py
@@ -75,7 +75,10 @@ class QemuCommand(object):
75 if args.efi: 75 if args.efi:
76 self.bios = 'OVMF.fd' 76 self.bios = 'OVMF.fd'
77 elif self.enable_u_boot: 77 elif self.enable_u_boot:
78 uboot_path = abspath(join(args.dir, self.machine, 'u-boot-qemux86-64.rom')) 78 if args.bootloader:
79 uboot_path = args.bootloader
80 else:
81 uboot_path = abspath(join(args.dir, self.machine, 'u-boot-qemux86-64.rom'))
79 if self.overlay: 82 if self.overlay:
80 new_uboot_path = self.overlay + '.u-boot.rom' 83 new_uboot_path = self.overlay + '.u-boot.rom'
81 if not exists(self.overlay): 84 if not exists(self.overlay):