<?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>6651</bug_id>
          
          <creation_ts>2014-08-22 15:56:54 +0000</creation_ts>
          <short_desc>Trim size of extensible SDK</short_desc>
          <delta_ts>2016-02-10 20:46:19 +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>devtools / tool chain</component>
          <version>1.7</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>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.1 M2</target_milestone>
          
          <blocked>8789</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Randy Witt">randy.e.witt</assigned_to>
          <cc>alexander.kanevskiy</cc>
    
    <cc>alexandru.c.georgescu</cc>
    
    <cc>dmitry.rojkov</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>Qi.Chen</cc>
          
          <qa_contact name="Aníbal Limón">anibal.limon</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45208</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-08-22 15:56:54 +0000</bug_when>
    <thetext>We need to examine what sstate artifacts we need to go into constructing the SDK when it contains the build system; if we simply use task dependencies as set up at the moment just to be able to build core-image-minimal we end up with something that is ~1.5GB compressed (i.e. composed of the host part of the SDK + metadata + sstate artifacts). We should try to reduce this if at all possible. (This may also be about deciding how we specify the SDK capabilities / contents, so that the user can tailor the SDK to their requirements.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50606</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-04-29 13:12:33 +0000</bug_when>
    <thetext>Clarification - this applies to the extensible SDK (bitbake -c populate_sdk_ext)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55899</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-10-28 11:57:57 +0000</bug_when>
    <thetext>There are a few different configurations I can think of:

1) The current mode, where you get all of the artifacts required to do a build against something in the image

2) &quot;Light&quot; mode where you get do_populate_sysroot executed for the toolchain and all of the recipes for the packages in the image

3) Maybe a &quot;super-light&quot; mode where you get just the toolchain?

(we probably want better switch naming than &quot;light&quot; / &quot;super-light&quot; etc.)

With all of these we have the option of having SSTATE_MIRRORS set so that sstate archives can be pulled in from a server as needed, at least for building images and packages that will work automatically.

Note: during ext SDK construction if we know we aren&apos;t including the full sstate for the image and SSTATE_MIRRORS isn&apos;t set in the local.conf file we&apos;ve created, we should configure devtool to hide or disable the build-image and package subcommands since they won&apos;t be usable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57190</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-12-11 01:26:55 +0000</bug_when>
    <thetext>I&apos;ve split off that last paragraph to a new bug - bug 8789 - so that this one can be dedicated to just providing the means to cut down the size of the extensible SDK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58855</commentid>
    <comment_count>4</comment_count>
    <who name="Randy Witt">randy.e.witt</who>
    <bug_when>2016-02-10 20:46:19 +0000</bug_when>
    <thetext>Should be fixed with

commit 4f7656a2047f4f67c3965693c3ca9f94e634cd9d
Author: Randy Witt &lt;randy.e.witt@linux.intel.com&gt;
Date:   Thu Feb 4 12:31:44 2016 -0800

https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4f7656a2047f4f67c3965693c3ca9f94e634cd9d</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>