diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2019-11-29 11:35:21 +0100 |
---|---|---|
committer | Laurent Bonnans <laurent.bonnans@here.com> | 2019-12-12 16:26:51 +0100 |
commit | ba51b5a9d0558a8853cd0bc0753d36d235bb686a (patch) | |
tree | 76088529d8621aa38fedd7ed710637cb6290bbbb /scripts/run-qemu-ota | |
parent | bbc10ac613b2ddfcd4e23ada2e745ced1fb53f4b (diff) | |
download | meta-updater-ba51b5a9d0558a8853cd0bc0753d36d235bb686a.tar.gz |
Add --bootloader flag to specify path to a custom u-boot rom.
Also should work for other bootloaders. This is intended to help with
keeping around older versions of images with a similarly old bootloader.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
Diffstat (limited to 'scripts/run-qemu-ota')
-rwxr-xr-x | scripts/run-qemu-ota | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/run-qemu-ota b/scripts/run-qemu-ota index 232ee11..e2a4103 100755 --- a/scripts/run-qemu-ota +++ b/scripts/run-qemu-ota | |||
@@ -20,6 +20,7 @@ def main(): | |||
20 | help='Boot using UEFI rather than U-Boot. This requires the image to be built with ' + | 20 | help='Boot using UEFI rather than U-Boot. This requires the image to be built with ' + |
21 | 'OSTREE_BOOTLOADER = "grub" and OVMF.fd firmware to be installed (try "apt install ovmf")', | 21 | 'OSTREE_BOOTLOADER = "grub" and OVMF.fd firmware to be installed (try "apt install ovmf")', |
22 | action='store_true') | 22 | action='store_true') |
23 | parser.add_argument('--bootloader', default=None, help="Path to bootloader, e.g. a u-boot ROM") | ||
23 | parser.add_argument('--machine', default=None, help="Target MACHINE") | 24 | parser.add_argument('--machine', default=None, help="Target MACHINE") |
24 | kvm_group = parser.add_argument_group() | 25 | kvm_group = parser.add_argument_group() |
25 | kvm_group.add_argument('--force-kvm', help='Force use of KVM (default is to autodetect)', | 26 | kvm_group.add_argument('--force-kvm', help='Force use of KVM (default is to autodetect)', |