<?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>11633</bug_id>
          
          <creation_ts>2017-06-08 12:31:41 +0000</creation_ts>
          <short_desc>Duplicated entries in fstab created by wic when rebuilding an image</short_desc>
          <delta_ts>2017-06-26 08:48:43 +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>unspecified</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>normal</bug_severity>
          <target_milestone>2.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Diego">diego.ml</reporter>
          <assigned_to name="Ed Bartosh">eduard.bartosh</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>73873</commentid>
    <comment_count>0</comment_count>
    <who name="Diego">diego.ml</who>
    <bug_when>2017-06-08 12:31:41 +0000</bug_when>
    <thetext>Sometimes it happens that when you build multiple times an image using wic and a partition which is not &quot;/&quot; or &quot;/boot&quot;, you end up with duplicated entries in fstab.

Example wks:
include sdimage-bootpart.wks

part /recovery --size 500 --ondisk mmcblk0 --fstype=ext4 --label recovery --align 4


By building multiple times I (sometimes) got duplicated (or replicated n-times, depending on the number of builds):
/dev/mmcblk0p3  /recovery       ext4    defaults        0       0
/dev/mmcblk0p3  /recovery       ext4    defaults        0       0


I must admit I was tinkering with WIC variables and scripts (appending to WICVARS, playing with custom plugins), so it might be caused by some interrupted wic execution (WicError).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74287</commentid>
    <comment_count>1</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2017-06-16 14:58:27 +0000</bug_when>
    <thetext>Should be fixed by this patch: http://lists.openembedded.org/pipermail/openembedded-core/2017-June/138383.html

Please, review</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74364</commentid>
    <comment_count>2</comment_count>
    <who name="Diego">diego.ml</who>
    <bug_when>2017-06-20 09:12:02 +0000</bug_when>
    <thetext>All good for me:
http://lists.openembedded.org/pipermail/openembedded-core/2017-June/138501.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74537</commentid>
    <comment_count>3</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2017-06-26 08:48:43 +0000</bug_when>
    <thetext>The fix has been merged to poky master. commit id: 44023e6c41a57d93d7b3a7c6d297e1ca77cd69ff</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>