summaryrefslogtreecommitdiffstats
path: root/lib/oeqa/selftest/cases/testutils.py
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2019-11-29 11:35:21 +0100
committerPatrick Vacek <patrickvacek@gmail.com>2019-12-03 14:25:29 +0100
commita1d5e04952725f64e268aa12b089841825a5f2b5 (patch)
tree63b43fb02082d11d1a867aacfa0dff36f6094445 /lib/oeqa/selftest/cases/testutils.py
parent11c74182b23a4d4fd3ddf3f756522c1df54a8653 (diff)
downloadmeta-updater-a1d5e04952725f64e268aa12b089841825a5f2b5.tar.gz
Add --bootloader flag to specify path to a custom u-boot rom.feat/custom-uboot
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/cases/testutils.py')
-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")