<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>13312</bug_id>
          
          <creation_ts>2019-04-30 10:31:13 +0000</creation_ts>
          <short_desc>wic: can&apos;t expand some partitions when writing</short_desc>
          <delta_ts>2020-03-19 06:25:00 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>Scripts and Tools</component>
          <version>3.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>3.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Chee Yang">chee.yang.lee</assigned_to>
          <cc>chee.yang.lee</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>83670</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2019-04-30 10:31:13 +0000</bug_when>
    <thetext>I&apos;ve a wic image with a 1GB rootfs.  I&apos;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)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86722</commentid>
    <comment_count>1</comment_count>
    <who name="Chee Yang">chee.yang.lee</who>
    <bug_when>2020-03-16 06:37:06 +0000</bug_when>
    <thetext>this should fix the issue 
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/scripts/lib/wic/engine.py?id=a94e0e14e1fd71a726b4bcdbe191cc8f7eb02271</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>