diff options
| author | Patrick Vacek <patrickvacek@gmail.com> | 2020-07-29 10:46:10 +0200 |
|---|---|---|
| committer | Patrick Vacek <patrickvacek@gmail.com> | 2020-08-26 09:44:25 +0200 |
| commit | 56eb83a5b668d1cdc25941aa35c86a0be99f5628 (patch) | |
| tree | ba15028e33f8f64aa5fbcb4ff3e6fda51a1a1dc6 /scripts/qemucommand.py | |
| parent | 2594d57b85e22ce657d9259405746bd834c57983 (diff) | |
| download | meta-updater-56eb83a5b668d1cdc25941aa35c86a0be99f5628.tar.gz | |
qemucommand: Restore custom booloader parameter.
The functionality was (presumably unintentionally) removed, but the
option was still present.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
Diffstat (limited to 'scripts/qemucommand.py')
| -rw-r--r-- | scripts/qemucommand.py | 5 |
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): |
