Bug 13312 - wic: can't expand some partitions when writing
Summary: wic: can't expand some partitions when writing
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: 3.0
Hardware: x86 Multiple
: Medium+ major
Target Milestone: 3.2
Assignee: Chee Yang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-04-30 10:31 UTC by Ross Burton
Modified: 2020-03-19 06:25 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)