diff options
author | William Bourque <wbourque@gmail.com> | 2019-07-22 16:13:54 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-23 22:26:28 +0100 |
commit | 835f7eac0610325e906591cd81890bebe8627580 (patch) | |
tree | 2a8a3d4fc62dac07f345cd247d1896bc65df6966 /meta-selftest | |
parent | def9b64e27974e3bcf0356e76a8d0aa8f01cdc5c (diff) | |
download | poky-835f7eac0610325e906591cd81890bebe8627580.tar.gz |
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')
-rw-r--r-- | meta-selftest/wic/test_biosplusefi_plugin.wks | 6 |
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 @@ | |||
1 | # short-description: This file is used in oe-selftest wic module to test biosplusefi plugin | ||
2 | |||
3 | part /boot --source bootimg-biosplusefi --sourceparams="loader=grub-efi" --active --align 1024 --use-uuid | ||
4 | part / --source rootfs --fstype=ext4 --align 1024 --use-uuid | ||
5 | |||
6 | bootloader --timeout=0 --append="console=ttyS0,115200n8" | ||