<?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>6648</bug_id>
          
          <creation_ts>2014-08-22 14:19:50 +0000</creation_ts>
          <short_desc>Add a means of assembling a sysroot outside of the context of a build</short_desc>
          <delta_ts>2015-11-16 16:20:36 +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>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Randy Witt">randy.e.witt</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45204</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-08-22 14:19:50 +0000</bug_when>
    <thetext>In order to construct an SDK containing the build system we will need a way to construct the sysroot and other parts that are already managed by sstate, but outside of the context of a build. We will have the signature and the corresponding sstate archive; we need to extract that and then write a stamp file so that the build system knows the task need not be executed. This is basically doing exactly what the sstate code does, except without going through an actual separate bitbake build in order to do it.

The relocation that normally needs to be done upon extracting the sstate archive will also need to be deferred until SDK installation (i.e. stored away somewhere so it can be run when the SDK is installed).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45479</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-09-09 09:05:43 +0000</bug_when>
    <thetext>Perhaps it isn&apos;t already clear, but the objective of this is to have the sstate packages already extracted in the SDK rather than having to do all of that as a step within the installation. If we must actually engage bitbake to do this then we can, but the important thing is that the relocation / postinstall scripts must still be run at SDK installation time or the binaries won&apos;t be properly prepared to work in the location the SDK has been installed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56496</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-11-16 16:20:36 +0000</bug_when>
    <thetext>I believe the extensible SDK already covers this usecase now and we have more specific bugs related to that for future development.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>