<?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>1424</bug_id>
          
          <creation_ts>2011-08-29 08:57:43 +0000</creation_ts>
          <short_desc>core-image-minimal ext3 image has only 150kb of free space</short_desc>
          <delta_ts>2011-09-02 14:05:29 +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>core</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Scott Garman">scott.a.garman</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>15846</commentid>
    <comment_count>0</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2011-08-29 08:57:43 +0000</bug_when>
    <thetext>Using master from today, I noticed that qemux86 core-image-sato only has 150kb of free disk space on it. I&apos;m not sure what the correct amount of free space should be, but I figure at least 10 MB would do.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15942</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2011-09-01 11:43:25 +0000</bug_when>
    <thetext>Sorry for the confusion, I meant core-image-minimal in the first comment, not sato.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15943</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-09-01 11:59:41 +0000</bug_when>
    <thetext>I just did a build with master, the rootfs size is 13M with 11M used (according to df -h), du -sh / reports 9.4M, the minimal image is designed to be just that smallest image to show the smallest footprint.

So there is no IMAGE_ROOTFS_EXTRA_SPACE defined (you can use that if you need it), it only uses the minimal IMAGE_ROOTFS_SIZE (8M) or 1.3 x the actual size, in this case 9.4M which gives about 13M for the ROOTFS_SIZE.

I agree there should be more that 150kb, so I would like to know if you changed minimal at all?  What is the size (via df and du) of the rootfs?  Is this after first boot? or did you loop mount it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15946</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-09-01 13:35:18 +0000</bug_when>
    <thetext>Ok, so it seems that on first boot dev.tar is created and eats up the 1M of space in etc, also 134K of space is consumed in /dev itself creating all the nodes, so that explains where all the space went.

I am really hesitant to increase the space because we want to show as much real world sizing for the minimal image.  The target is to get this to under 8M booted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15978</commentid>
    <comment_count>4</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-09-02 14:05:29 +0000</bug_when>
    <thetext>Use IMAGE_ROOTFS_EXTRA_SPACE to set the desired amount of free space for application for minimal.  Minimal is designed to be smallest possibly footprint.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>