<?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>5892</bug_id>
          
          <creation_ts>2014-02-27 09:39:27 +0000</creation_ts>
          <short_desc>Deploy image does not always write correctly to USB</short_desc>
          <delta_ts>2014-05-09 12:31:16 +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>Hob</product>
          <component>hob</component>
          <version>1.6</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>1.6 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lucian Musat">georgex.l.musat</reporter>
          <assigned_to name="valentin">valentin.popa</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>cristiana.voicu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>valentin.popa</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Unknown (Hard to categorize)</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>40731</commentid>
    <comment_count>0</comment_count>
    <who name="Lucian Musat">georgex.l.musat</who>
    <bug_when>2014-02-27 09:39:27 +0000</bug_when>
    <thetext>Sometimes &quot;Deploy image&quot; function does not write the whole image correctly to the USB drive. HOB must make sure that &quot;sync&quot; command is issued in order to properly write the image to stick.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41331</commentid>
    <comment_count>1</comment_count>
      <attachid>1829</attachid>
    <who name="valentin">valentin.popa</who>
    <bug_when>2014-03-17 15:56:06 +0000</bug_when>
    <thetext>Created attachment 1829
the patch with the fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41625</commentid>
    <comment_count>2</comment_count>
    <who name="valentin">valentin.popa</who>
    <bug_when>2014-03-24 15:27:58 +0000</bug_when>
    <thetext>Merged:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1f16ca9fba325f5ddbb1edad5bbad78d990de5e0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43216</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2014-05-09 11:30:03 +0000</bug_when>
    <thetext>Vali,
Can this fix be merged in dora too?

Thanks,
Alex.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43217</commentid>
    <comment_count>4</comment_count>
    <who name="valentin">valentin.popa</who>
    <bug_when>2014-05-09 12:31:16 +0000</bug_when>
    <thetext>I&apos;ve just sent the patch on oe-core with Robert in CC.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>1829</attachid>
            <date>2014-03-17 15:56:06 +0000</date>
            <delta_ts>2014-03-17 15:56:06 +0000</delta_ts>
            <desc>the patch with the fix</desc>
            <filename>0001-hob-sync-after-image-deploy.patch</filename>
            <type>text/plain</type>
            <size>1464</size>
            <attacher name="valentin">valentin.popa</attacher>
            
              <data encoding="base64">RnJvbSBiY2E0YTcwMTk2NWRiMzdlNTQ4MzgzMGFmMDVhYThjMzAyMjAxODMxIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBWYWxlbnRpbiBQb3BhIDx2YWxlbnRpbi5wb3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lnL2RlcGxveWltYWdlZGlhbG9n
LnB5CkBAIC0xNjcsNyArMTY3LDcgQEAgY2xhc3MgRGVwbG95SW1hZ2VEaWFsb2cgKENydW1ic0Rp
YWxvZyk6CiAgICAgICAgICAgICAgICAgaWYgY21kbGluZToKICAgICAgICAgICAgICAgICAgICAg
dG1wZmlsZSA9IHRlbXBmaWxlLk5hbWVkVGVtcG9yYXJ5RmlsZSgpCiAgICAgICAgICAgICAgICAg
ICAgIGNtZGxpbmUgKz0gIlwic3VkbyBkZCBpZj0iICsgc2VsZi5pbWFnZV9wYXRoICsgXAotICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiIG9mPSIgKyBjb21ib19pdGVtICsgIjsgZWNo
byAkPyA+ICIgKyB0bXBmaWxlLm5hbWUgKyAiXCIiCisgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICIgb2Y9IiArIGNvbWJvX2l0ZW0gKyAiICYmIHN5bmM7IGVjaG8gJD8gPiAiICsgdG1w
ZmlsZS5uYW1lICsgIlwiIgogICAgICAgICAgICAgICAgICAgICBzdWJwcm9jZXNzLmNhbGwoc2hs
ZXguc3BsaXQoY21kbGluZSkpCiAKICAgICAgICAgICAgICAgICAgICAgaWYgaW50KHRtcGZpbGUu
cmVhZGxpbmUoKS5zdHJpcCgpKSA9PSAwOgotLSAKMS44LjMuMgoK
</data>

          </attachment>
      

    </bug>

</bugzilla>