I've a wic image with a 1GB rootfs. I've a 60GB USB stick that I want to fill. If I use --expand=auto then all the partitions are expanded: 20GB /boot, 20GB /, 20G swap. Using --expand 0:0-1:50G-2:0 should mean that boot and swap are not expanded but that fails: ... INFO: copying unchanged partition 3 ERROR: Not supported fstype: linux-swap(v1)
this should fix the issue https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/scripts/lib/wic/engine.py?id=a94e0e14e1fd71a726b4bcdbe191cc8f7eb02271