<?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>1736</bug_id>
          
          <creation_ts>2011-11-04 04:04:34 +0000</creation_ts>
          <short_desc>[Build Appliance] Tune Self-Hosted Image Size</short_desc>
          <delta_ts>2012-05-10 21:41:56 +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>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>(P2)  lower priority. we might want to close the bug? (Apr 03, 2012)</status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Edwin Zhai">edwin.zhai</reporter>
          <assigned_to name="Dexuan Cui">dexuan.cui</assigned_to>
          <cc>dexuan.cui</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>shane.wang</cc>
    
    <cc>song.liu</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>17097</commentid>
    <comment_count>0</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2011-11-04 04:04:34 +0000</bug_when>
    <thetext>Reduce the final disk image size

we need do:
1. identify and remove unnecessary recipes
2. tune features for big recipes, like kernel/glibc to reduce image</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18040</commentid>
    <comment_count>1</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2012-01-10 00:24:36 +0000</bug_when>
    <thetext>image size is low priority, performance is the key.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19236</commentid>
    <comment_count>2</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2012-03-19 23:47:58 +0000</bug_when>
    <thetext>Edwin, Saul? Are we going to drop this, because I don&apos;t see anybody is working on this feature?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19510</commentid>
    <comment_count>3</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2012-03-27 11:45:51 +0000</bug_when>
    <thetext>Give it to Dexuan because he is working on that.

Dexuan, can you update the decision about what we should put into 1.2 release from Saul and update its status for your recent task on build appliance?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19540</commentid>
    <comment_count>4</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2012-03-28 01:30:15 +0000</bug_when>
    <thetext>Hi Saul, I think we would drop this bug (mark it as WON&apos;T FIX)? 
Now we&apos;re installing DL_DIR/ into the image and this mean we can tolerate a pretty  bigger image size? :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19806</commentid>
    <comment_count>5</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2012-04-03 05:02:40 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Hi Saul, I think we would drop this bug (mark it as WON&apos;T FIX)? 
&gt; Now we&apos;re installing DL_DIR/ into the image and this mean we can tolerate a
&gt; pretty  bigger image size? :-)

Hi Saul, the finial .vmdk image can exceed 3G now.
And the majority of of the .vmdk image consists of the source codes from DL_DIR.

I had made a patch to remove ${DL_DIR$/git2_* tarballs to reduce the size of the .vmdk image.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=cf6b3fb48286792272de0ae2c7f310e1cc66e899

It looks there is no obvious way to further reduce the size.

So I think we can close the bug as RESOLVED?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21290</commentid>
    <comment_count>6</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-05-10 21:41:56 +0000</bug_when>
    <thetext>As we are including additional space and the downloads dir in the image, and we are using vmdk to create the sparse disk image</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>