Live image's install script cannot install the 4th partition. Enhancement request to support additional partition (e.g 4th partition).
Here is an example of wks file with a lot of partitions: $ cat test.wks part ext2 --fstype ext2 --source rootfs part ext3 --fstype ext3 --source rootfs part ext4 --fstype ext4 --source rootfs part squash --fstype squashfs --source rootfs part btrfs --fstype btrfs --size 40M --source rootfs part swap --fstype swap --size 1M part emptyvfat --fstype vfat --size 1M part emptymsdos --fstype msdos --size 1M part emptyext2 --fstype ext2 --size 1M part emptyext3 --fstype ext3 --size 1M part emptyext4 --fstype ext4 --size 1M part emptybtrfs --fstype btrfs --size 100M You can generate wic image from this file this way: $ wic create test.wks -e core-image-minimal INFO: Creating image(s)... WARNING: bootloader config not specified, using defaults INFO: The new image(s) can be found here: ./test-201705041111-sda.direct The following build artifacts were used to create the image(s): ROOTFS_DIR["ext2"]: /home/ed/git/yocto/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs ROOTFS_DIR["ext3"]: /home/ed/git/yocto/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs ROOTFS_DIR["ext4"]: /home/ed/git/yocto/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs ROOTFS_DIR["squash"]: /home/ed/git/yocto/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs ROOTFS_DIR["btrfs"]: /home/ed/git/yocto/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs BOOTIMG_DIR: /home/ed/git/yocto/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot/usr/share KERNEL_DIR: /home/ed/git/yocto/poky/build/tmp/deploy/images/qemux86-64 NATIVE_SYSROOT: /home/ed/git/yocto/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native INFO: The image(s) were created using OE kickstart file: test.wks and list partitions this way: $ /sbin/fdisk -l ./test-201705041111-sda.direct Disk ./test-201705041111-sda.direct: 233.3 MiB, 244604928 bytes, 477744 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x10118df4 Device Boot Start End Sectors Size Id Type ./test-201705041111-sda.direct1 1 49130 49130 24M 83 Linux ./test-201705041111-sda.direct2 49131 98260 49130 24M 83 Linux ./test-201705041111-sda.direct3 98261 147390 49130 24M 83 Linux ./test-201705041111-sda.direct4 147391 477743 330353 161.3M f W95 Ext'd (LBA) ./test-201705041111-sda.direct5 147392 154151 6760 3.3M 83 Linux ./test-201705041111-sda.direct6 154153 260648 106496 52M 83 Linux ./test-201705041111-sda.direct7 260650 262697 2048 1M 82 Linux swap / Solaris ./test-201705041111-sda.direct8 262699 264746 2048 1M c W95 FAT32 (LBA) ./test-201705041111-sda.direct9 264748 266795 2048 1M 6 FAT16 ./test-201705041111-sda.direct10 266797 268844 2048 1M 83 Linux ./test-201705041111-sda.direct11 268846 270893 2048 1M 83 Linux ./test-201705041111-sda.direct12 270895 272942 2048 1M 83 Linux ./test-201705041111-sda.direct13 272944 477743 204800 100M 83 Linux
Chin Kooi, Ed provided an example of multiple partitions, I don't remember exactly the original need, I think this had to do with installing from Live Image? Or is it WIC related? The summary and description are not clear.
The requester has withdrawn the enhancement request, therefore closing this bug.