diff options
Diffstat (limited to 'meta-selftest/wic')
-rw-r--r-- | meta-selftest/wic/overlayfs_etc.wks.in | 4 | ||||
-rw-r--r-- | meta-selftest/wic/test_efi_plugin.wks | 6 | ||||
-rw-r--r-- | meta-selftest/wic/test_gpt_partition_name.wks | 7 | ||||
-rw-r--r-- | meta-selftest/wic/test_rawcopy_plugin.wks.in | 2 | ||||
-rw-r--r-- | meta-selftest/wic/test_uefikernel.wks | 5 |
5 files changed, 23 insertions, 1 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..066cd35b15 --- /dev/null +++ b/meta-selftest/wic/overlayfs_etc.wks.in | |||
@@ -0,0 +1,4 @@ | |||
1 | part /boot --active --source bootimg-biosplusefi --ondisk sda --sourceparams="loader=grub-efi" --align 1024 | ||
2 | part / --source rootfs --ondisk sda --fstype=${OVERLAYFS_ROOTFS_TYPE} --use-uuid --align 1024 | ||
3 | part --ondisk sda --fstype=ext4 --size=5 --align 1024 | ||
4 | bootloader --ptable gpt --timeout=1 --append="rootfstype=${OVERLAYFS_ROOTFS_TYPE} console=ttyS0,115200 console=tty0 ${OVERLAYFS_INIT_OPTION}" | ||
diff --git a/meta-selftest/wic/test_efi_plugin.wks b/meta-selftest/wic/test_efi_plugin.wks new file mode 100644 index 0000000000..1603d6c4bb --- /dev/null +++ b/meta-selftest/wic/test_efi_plugin.wks | |||
@@ -0,0 +1,6 @@ | |||
1 | # short-description: This file is used in oe-selftest wic module to test efi plugin | ||
2 | |||
3 | part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,create-unified-kernel-image=true,initrd=${INITRAMFS_IMAGE}-${MACHINE}.${INITRAMFS_FSTYPES}" --active --align 1024 --use-uuid | ||
4 | part / --source rootfs --fstype=ext4 --align 1024 --use-uuid | ||
5 | |||
6 | bootloader --timeout=0 --append="console=ttyS0,115200n8" | ||
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 | |||
3 | part --fstype=ext4 --part-name boot-A --label boot --size 1M --align 1024 | ||
4 | part / --source rootfs --fstype=ext4 --part-name root-A --align 1024 | ||
5 | part --fstype=ext4 --label ext-space --size 1M --align 1024 | ||
6 | |||
7 | bootloader --ptable gpt | ||
diff --git a/meta-selftest/wic/test_rawcopy_plugin.wks.in b/meta-selftest/wic/test_rawcopy_plugin.wks.in index 83be4be914..a865dd1d32 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 | ||
3 | part /boot --active --source bootimg-pcbios | 3 | part /boot --active --source bootimg-pcbios |
4 | part / --source rawcopy --sourceparams="file=core-image-minimal-${MACHINE}.ext4" --use-uuid | 4 | part / --source rawcopy --sourceparams="file=${IMAGE_LINK_NAME_CORE_IMAGE_MINIMAL}.ext4" --use-uuid |
5 | 5 | ||
6 | bootloader --timeout=0 --append="console=ttyS0,115200n8" | 6 | bootloader --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..bede2288f6 --- /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 | |||
3 | part /boot --source bootimg-efi --sourceparams="loader=uefi-kernel" | ||
4 | part / --source rootfs --fstype=ext4 --align 1024 --use-uuid | ||
5 | |||