Bug 1913

Summary: need to abstract building msdos images into an msdosfs.bbclass to share the code
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Dexuan Cui <dexuan.cui>
Component: deploymentAssignee: Darren Hart <dvhart>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Low CC: dexuan.cui, dvhart, jessica.zhang, poky.bs.watcher, poky.watcher, sgw, shane.wang
Version: unspecified   
Target Milestone: 1.5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 4778    

Description Dexuan Cui 2012-01-17 23:16:13 UTC
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'd better create a new file msdosfs.bbclass that holds the common code so that bootimg.bbclass and boot-directdisk.bbclass can share that.
Comment 1 Darren Hart 2013-09-20 16:15:40 UTC
commit c78c1f9c92a2c2b38699a732ad893b669ccefcda
Author: Jason Wessel <jason.wessel@windriver.com>
Date:   Sat Sep 14 00:08:57 2013 +0000

    bootimage.bbclass: Move fat image creation into a function