<?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>1913</bug_id>
          
          <creation_ts>2012-01-17 23:16:13 +0000</creation_ts>
          <short_desc>need to abstract building msdos images into an msdosfs.bbclass to share the code</short_desc>
          <delta_ts>2013-09-20 16:15:40 +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>deployment</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>Low</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.5</target_milestone>
          
          <blocked>4778</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dexuan Cui">dexuan.cui</reporter>
          <assigned_to name="Darren Hart">dvhart</assigned_to>
          <cc>dexuan.cui</cc>
    
    <cc>dvhart</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>shane.wang</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>18199</commentid>
    <comment_count>0</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2012-01-17 23:16:13 +0000</bug_when>
    <thetext>Recently Darren sent a patch to fix the calculation of FAT filesystem overhead in image size:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1cabda965d0ec7c76f2fe57ce751154b9fc5e500

Actually meta/classes/boot-directdisk.bbclass has the same issue since it uses mkdosfs, too. So we need to fix boot-directdisk.bbclass, too.

To avoid duplicating the code (e.g., the the fatfs overhead calculations), we&apos;d better create a new file msdosfs.bbclass that holds the common code so that bootimg.bbclass and boot-directdisk.bbclass can share that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37025</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-09-20 16:15:40 +0000</bug_when>
    <thetext>commit c78c1f9c92a2c2b38699a732ad893b669ccefcda
Author: Jason Wessel &lt;jason.wessel@windriver.com&gt;
Date:   Sat Sep 14 00:08:57 2013 +0000

    bootimage.bbclass: Move fat image creation into a function</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>