<?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>9980</bug_id>
          
          <creation_ts>2016-07-19 18:06:12 +0000</creation_ts>
          <short_desc>create src packages that can be deployed to image targets</short_desc>
          <delta_ts>2021-09-23 15:36:05 +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>deployment</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="brian avery">brian.avery</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>64180</commentid>
    <comment_count>0</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2016-07-19 18:06:12 +0000</bug_when>
    <thetext>It would be nice if we could deploy src packages (or a tar archive of downloads used for that image) to an image.  We should also provide the conf dir.  An option to provide some layers (those that aren&apos;t on github/oe for instance) would be needed as well.  This would allow people who want to satisfy GPL to have the src collocated with their distro.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64199</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-07-19 21:06:19 +0000</bug_when>
    <thetext>Possibly related to bug 5437 (though that&apos;s specific to RPM).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64267</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-07-21 15:06:32 +0000</bug_when>
    <thetext>This is potentially quite problematic as the source archives can be large (e.g. gcc, kernel, webkit, piglit) and creating a package for each of these will hugely inflate the sstate object size. We&apos;d end up with a copy in do_package sstate and do_package_write_* and would slow down builds quite considerably. We&apos;ve gone to some lengths to avoid archiving source in the past.

So whilst it may be nice, don&apos;t underestimate the huge performance penalty involved and how unpopular this would be.

We do have archiver.bbclass which was designed to allow people to meet license requirements.

I&apos;d also note that there are several styles people want the source in (as a tarball, extracted, patched, unpatched, configured, unconfigured) so even choosing a format for these is hard as every legal department requires something different.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91536</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-09-23 15:36:05 +0000</bug_when>
    <thetext>I doubt we will end up adding this level of source into target packages. We could but it isn&apos;t something anyone plans to work on and isn&apos;t considered widely useful.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>