From f90d617d3af138ed8616829dc403488a700aaae3 Mon Sep 17 00:00:00 2001 From: Patrick Vacek Date: Wed, 29 Jul 2020 10:46:10 +0200 Subject: qemucommand: Restore custom booloader parameter. The functionality was (presumably unintentionally) removed, but the option was still present. Signed-off-by: Patrick Vacek --- scripts/qemucommand.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts/qemucommand.py') 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): if args.efi: self.bios = 'OVMF.fd' elif self.enable_u_boot: - uboot_path = abspath(join(args.dir, self.machine, 'u-boot-qemux86-64.rom')) + if args.bootloader: + uboot_path = args.bootloader + else: + uboot_path = abspath(join(args.dir, self.machine, 'u-boot-qemux86-64.rom')) if self.overlay: new_uboot_path = self.overlay + '.u-boot.rom' if not exists(self.overlay): -- cgit v1.2.3-54-g00ecf