summaryrefslogtreecommitdiffstats
path: root/lib/oeqa/selftest
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2019-11-29 11:35:21 +0100
committerLaurent Bonnans <laurent.bonnans@here.com>2019-12-12 16:39:14 +0100
commitc053ab0840f0c7f70a61726c1f7c2861b72a6711 (patch)
treef242c890c4dd2deb44cd6165b7527bb9a9f4f03a /lib/oeqa/selftest
parent6848a157080b63c340512f63e9ff7f5b70997c6f (diff)
downloadmeta-updater-c053ab0840f0c7f70a61726c1f7c2861b72a6711.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 'lib/oeqa/selftest')
-rw-r--r--lib/oeqa/selftest/cases/testutils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oeqa/selftest/cases/testutils.py b/lib/oeqa/selftest/cases/testutils.py
index 802d665..ea7781b 100644
--- a/lib/oeqa/selftest/cases/testutils.py
+++ b/lib/oeqa/selftest/cases/testutils.py
@@ -33,6 +33,7 @@ def qemu_boot_image(imagename, **kwargs):
33 # subdirectory. 33 # subdirectory.
34 args.dir = 'tmp/deploy/images' 34 args.dir = 'tmp/deploy/images'
35 args.efi = kwargs.get('efi', False) 35 args.efi = kwargs.get('efi', False)
36 args.bootloader = kwargs.get('bootloader', None)
36 args.machine = kwargs.get('machine', None) 37 args.machine = kwargs.get('machine', None)
37 args.mem = kwargs.get('mem', '128M') 38 args.mem = kwargs.get('mem', '128M')
38 qemu_use_kvm = get_bb_var("QEMU_USE_KVM") 39 qemu_use_kvm = get_bb_var("QEMU_USE_KVM")