summaryrefslogtreecommitdiffstats
path: root/meta-selftest/wic
diff options
context:
space:
mode:
Diffstat (limited to 'meta-selftest/wic')
-rw-r--r--meta-selftest/wic/overlayfs_etc.wks.in4
-rw-r--r--meta-selftest/wic/test_biosplusefi_plugin.wks2
-rw-r--r--meta-selftest/wic/test_efi_plugin.wks5
-rw-r--r--meta-selftest/wic/test_efi_plugin_plain_systemd-boot.wks5
-rw-r--r--meta-selftest/wic/test_gpt_partition_name.wks7
-rw-r--r--meta-selftest/wic/test_rawcopy_plugin.wks.in4
-rw-r--r--meta-selftest/wic/test_uefikernel.wks5
7 files changed, 29 insertions, 3 deletions
diff --git a/meta-selftest/wic/overlayfs_etc.wks.in b/meta-selftest/wic/overlayfs_etc.wks.in
new file mode 100644
index 0000000000..8375d73a9c
--- /dev/null
+++ b/meta-selftest/wic/overlayfs_etc.wks.in
@@ -0,0 +1,4 @@
1part /boot --active --source bootimg_biosplusefi --ondisk sda --sourceparams="loader=grub-efi" --align 1024
2part / --source rootfs --ondisk sda --fstype=${OVERLAYFS_ROOTFS_TYPE} --use-uuid --align 1024
3part --ondisk sda --fstype=ext4 --size=5 --align 1024
4bootloader --ptable gpt --timeout=1 --append="rootfstype=${OVERLAYFS_ROOTFS_TYPE} console=ttyS0,115200 console=tty0 ${OVERLAYFS_INIT_OPTION}"
diff --git a/meta-selftest/wic/test_biosplusefi_plugin.wks b/meta-selftest/wic/test_biosplusefi_plugin.wks
index 5a56c84518..4be6643a6f 100644
--- a/meta-selftest/wic/test_biosplusefi_plugin.wks
+++ b/meta-selftest/wic/test_biosplusefi_plugin.wks
@@ -1,6 +1,6 @@
1# short-description: This file is used in oe-selftest wic module to test biosplusefi plugin 1# short-description: This file is used in oe-selftest wic module to test biosplusefi plugin
2 2
3part /boot --source bootimg-biosplusefi --sourceparams="loader=grub-efi" --active --align 1024 --use-uuid 3part /boot --source bootimg_biosplusefi --sourceparams="loader=grub-efi" --active --align 1024 --use-uuid
4part / --source rootfs --fstype=ext4 --align 1024 --use-uuid 4part / --source rootfs --fstype=ext4 --align 1024 --use-uuid
5 5
6bootloader --timeout=0 --append="console=ttyS0,115200n8" 6bootloader --timeout=0 --append="console=ttyS0,115200n8"
diff --git a/meta-selftest/wic/test_efi_plugin.wks b/meta-selftest/wic/test_efi_plugin.wks
new file mode 100644
index 0000000000..f75e0f0e0b
--- /dev/null
+++ b/meta-selftest/wic/test_efi_plugin.wks
@@ -0,0 +1,5 @@
1# short-description: This file is used in oe-selftest wic module to test efi plugin
2part /boot --source bootimg_efi --sourceparams="loader=systemd-boot" --active --align 1024 --use-uuid
3part / --source rootfs --fstype=ext4 --align 1024 --use-uuid --label root
4
5bootloader --timeout=0 --append="console=ttyS0,115200n8"
diff --git a/meta-selftest/wic/test_efi_plugin_plain_systemd-boot.wks b/meta-selftest/wic/test_efi_plugin_plain_systemd-boot.wks
new file mode 100644
index 0000000000..3a58c8137c
--- /dev/null
+++ b/meta-selftest/wic/test_efi_plugin_plain_systemd-boot.wks
@@ -0,0 +1,5 @@
1# short-description: This file is used in oe-selftest wic module to test efi plugin
2part /boot --source bootimg_efi --sourceparams="loader=systemd-boot,initrd=${INITRAMFS_IMAGE}-${MACHINE}.${INITRAMFS_FSTYPES}" --active --align 1024 --use-uuid
3part / --source rootfs --fstype=ext4 --align 1024 --use-uuid
4
5bootloader --timeout=0
diff --git a/meta-selftest/wic/test_gpt_partition_name.wks b/meta-selftest/wic/test_gpt_partition_name.wks
new file mode 100644
index 0000000000..7db6da9aee
--- /dev/null
+++ b/meta-selftest/wic/test_gpt_partition_name.wks
@@ -0,0 +1,7 @@
1# short-description: image to test part-name in GPT partitions
2
3part --fstype=ext4 --part-name boot-A --label boot --size 1M --align 1024
4part / --source rootfs --fstype=ext4 --part-name root-A --align 1024
5part --fstype=ext4 --label ext-space --size 1M --align 1024
6
7bootloader --ptable gpt
diff --git a/meta-selftest/wic/test_rawcopy_plugin.wks.in b/meta-selftest/wic/test_rawcopy_plugin.wks.in
index 83be4be914..ba324d9980 100644
--- a/meta-selftest/wic/test_rawcopy_plugin.wks.in
+++ b/meta-selftest/wic/test_rawcopy_plugin.wks.in
@@ -1,6 +1,6 @@
1# short-description: This file is used in oe-selftest wic module to test rawcopy plugin 1# short-description: This file is used in oe-selftest wic module to test rawcopy plugin
2 2
3part /boot --active --source bootimg-pcbios 3part /boot --active --source bootimg_pcbios
4part / --source rawcopy --sourceparams="file=core-image-minimal-${MACHINE}.ext4" --use-uuid 4part / --source rawcopy --sourceparams="file=${IMAGE_LINK_NAME_CORE_IMAGE_MINIMAL}.ext4" --use-uuid
5 5
6bootloader --timeout=0 --append="console=ttyS0,115200n8" 6bootloader --timeout=0 --append="console=ttyS0,115200n8"
diff --git a/meta-selftest/wic/test_uefikernel.wks b/meta-selftest/wic/test_uefikernel.wks
new file mode 100644
index 0000000000..9bc4813dfa
--- /dev/null
+++ b/meta-selftest/wic/test_uefikernel.wks
@@ -0,0 +1,5 @@
1# short-description: This file is used in oe-selftest wic module to test uefi-kernel loader
2
3part /boot --source bootimg_efi --sourceparams="loader=uefi-kernel"
4part / --source rootfs --fstype=ext4 --align 1024 --use-uuid
5