summaryrefslogtreecommitdiffstats
path: root/meta-selftest/wic/test_biosplusefi_plugin.wks
diff options
context:
space:
mode:
authorWilliam Bourque <wbourque@gmail.com>2019-07-22 16:13:54 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-23 22:26:28 +0100
commit835f7eac0610325e906591cd81890bebe8627580 (patch)
tree2a8a3d4fc62dac07f345cd247d1896bc65df6966 /meta-selftest/wic/test_biosplusefi_plugin.wks
parentdef9b64e27974e3bcf0356e76a8d0aa8f01cdc5c (diff)
downloadpoky-2.8_M2.tar.gz
poky-2.8_M2.tar.bz2
poky-2.8_M2.zip
meta/lib/oeqa: Test for bootimg-biosplusefi Source2.8_M2
Add unittests for bootimg-biosplusefi SourcePlugin in wic module. First test check wic creation works correctly. Second test uses qemu to boot image and checks that it has both EFI and BIOS files in a single partition. (From OE-Core rev: e0c3436241afca93f107e325d1b9ffcdebf706cd) Signed-off-by: William Bourque <wbourque@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/wic/test_biosplusefi_plugin.wks')
-rw-r--r--meta-selftest/wic/test_biosplusefi_plugin.wks6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-selftest/wic/test_biosplusefi_plugin.wks b/meta-selftest/wic/test_biosplusefi_plugin.wks
new file mode 100644
index 0000000000..5a56c84518
--- /dev/null
+++ b/meta-selftest/wic/test_biosplusefi_plugin.wks
@@ -0,0 +1,6 @@
+# short-description: This file is used in oe-selftest wic module to test biosplusefi plugin
+
+part /boot --source bootimg-biosplusefi --sourceparams="loader=grub-efi" --active --align 1024 --use-uuid
+part / --source rootfs --fstype=ext4 --align 1024 --use-uuid
+
+bootloader --timeout=0 --append="console=ttyS0,115200n8"