xref: /OK3568_Linux_fs/yocto/poky/meta-selftest/recipes-test/images/wic-image-minimal.wks (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# short-description: Example of partitioned image with complex layout
2*4882a593Smuzhiyun# long-description: This image contains boot partition and 3 rootfs partitions
3*4882a593Smuzhiyun# created from core-image-minimal and wic-image-minimal image recipes.
4*4882a593Smuzhiyun
5*4882a593Smuzhiyunpart /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024
6*4882a593Smuzhiyunpart / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
7*4882a593Smuzhiyunpart /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
8*4882a593Smuzhiyunpart /mnt --source rootfs --rootfs-dir=wic-image-minimal --ondisk sda --fstype=ext4 --label core --align 1024
9*4882a593Smuzhiyun
10*4882a593Smuzhiyunbootloader --ptable gpt --timeout=0  --append="rootwait console=tty0"
11