summaryrefslogtreecommitdiff
path: root/poky/meta-selftest/recipes-test/images/wic-image-minimal.wks
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta-selftest/recipes-test/images/wic-image-minimal.wks')
-rw-r--r--poky/meta-selftest/recipes-test/images/wic-image-minimal.wks10
1 files changed, 10 insertions, 0 deletions
diff --git a/poky/meta-selftest/recipes-test/images/wic-image-minimal.wks b/poky/meta-selftest/recipes-test/images/wic-image-minimal.wks
new file mode 100644
index 000000000..ae69cb6e3
--- /dev/null
+++ b/poky/meta-selftest/recipes-test/images/wic-image-minimal.wks
@@ -0,0 +1,10 @@
+# short-description: Example of partitioned image with complex layout
+# long-description: This image contains boot partition and 3 rootfs partitions
+# created from core-image-minimal and wic-image-minimal image recipes.
+
+part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024
+part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
+part /media --source rootfs --rootfs-dir=wic-image-minimal --ondisk sda --fstype=ext4 --label uuid-test --align 1024 --use-uuid --fsuuid 2c71ef06-a81d-4735-9d3a-379b69c6bdba
+part /mnt --source rootfs --rootfs-dir=wic-image-minimal --ondisk sda --fstype=ext4 --label core --align 1024
+
+bootloader --ptable gpt --timeout=0 --append="rootwait console=tty0"