Bug 13312

Summary: wic: can't expand some partitions when writing
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: Scripts and ToolsAssignee: Chee Yang <chee.yang.lee>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Medium+ CC: chee.yang.lee, randy.macleod, ross.burton
Version: 3.0   
Target Milestone: 3.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2019-04-30 10:31:13 UTC
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)