<?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>78</bug_id>
          
          <creation_ts>2009-11-16 09:56:20 +0000</creation_ts>
          <short_desc>rootfs bug</short_desc>
          <delta_ts>2011-03-26 01:36:02 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>0.9</version>
          <rep_platform>All</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>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Readon Shaw">xydarcher</reporter>
          <assigned_to name="Kevin Tian">kevin.tian</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>7530</commentid>
    <comment_count>0</comment_count>
    <who name="Readon Shaw">xydarcher</who>
    <bug_when>2009-11-16 09:56:20 +0000</bug_when>
    <thetext>when i add below in machine conf file.

# image size of ext2 rootfs
IMAGE_ROOTFS_SIZE_ext2 = &quot;24576&quot;
IMAGE_EXTRA_SPACE_ext2 = &quot;1024&quot;


the image generated is as large as 65536KB.

but when 
# image size of ext2 rootfs
IMAGE_ROOTFS_SIZE = &quot;24576&quot;
IMAGE_EXTRA_SPACE = &quot;1024&quot;

is added the file should be about 24576KB.

IMAGE_FSTYPES ?= &quot;ext2&quot;
this was included.

i think it would be a bug.
but i test 
EXTRA_IMAGECMD_jffs2 = &quot;--little-endian --eraseblock=0x4000 --pad -n&quot;
that would work perfectly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9396</commentid>
    <comment_count>1</comment_count>
    <who name="Kevin Tian">kevin.tian</who>
    <bug_when>2010-08-25 19:41:23 +0000</bug_when>
    <thetext>The reason is when IMAGE_ROOTFS_SIZE is referenced IMAGE_FSTYPES is not set in overrides (get_imagecmds and do_rootfs). Since this is a low priority bug, I may bake a fix later</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12993</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-03-26 01:36:02 +0000</bug_when>
    <thetext>This was fixed in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=adac5a690fd5b4239bb59ec54e3e5174dbcf29e9</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>