<?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>8454</bug_id>
          
          <creation_ts>2015-10-07 11:52:55 +0000</creation_ts>
          <short_desc>archiver.bbclass does not create subfolder per license</short_desc>
          <delta_ts>2018-05-25 08:46:08 +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>1.9</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>normal</bug_severity>
          <target_milestone>4.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pascal Bach">pascal.bach</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <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>55024</commentid>
    <comment_count>0</comment_count>
      <attachid>2789</attachid>
    <who name="Pascal Bach">pascal.bach</who>
    <bug_when>2015-10-07 11:52:55 +0000</bug_when>
    <thetext>Created attachment 2789
a proposed soultion for 2.

The documentation suggests to use the following command to get all GPL sources:

$ cd poky/build/tmp/deploy/sources
$ mkdir ~/gpl_source_release
$ for dir in */*GPL*; do cp -r $dir ~/gpl_source_release; done

For this to work the archiver would have to create a subfolder per license under deploy/sources/.

However in reallity the sources are in a folder named afer the package name and the version directly under deploy/sources/

So eigher:
1. the documentation should be changed
2. or the archiver.bbclass should be adjusted (preferred).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55995</commentid>
    <comment_count>1</comment_count>
    <who name="Pascal Bach">pascal.bach</who>
    <bug_when>2015-10-29 13:44:40 +0000</bug_when>
    <thetext>Will this make it into 2.0?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56235</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-11-05 16:05:34 +0000</bug_when>
    <thetext>Sadly not, sorry.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80644</commentid>
    <comment_count>3</comment_count>
    <who name="Pascal Bach">pascal.bach</who>
    <bug_when>2018-05-25 07:56:35 +0000</bug_when>
    <thetext>What is the process of getting this patch accepted? Should I send it to the mailing list?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80645</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-05-25 08:27:06 +0000</bug_when>
    <thetext>Yes, please submit it to the list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80646</commentid>
    <comment_count>5</comment_count>
    <who name="Pascal Bach">pascal.bach</who>
    <bug_when>2018-05-25 08:46:08 +0000</bug_when>
    <thetext>The documentation has been updated and it now matches the behavior [1]. So I propose to close this issue.

[1] https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#providing-the-source-code</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>2789</attachid>
            <date>2015-10-07 11:52:55 +0000</date>
            <delta_ts>2015-10-07 11:52:55 +0000</delta_ts>
            <desc>a proposed soultion for 2.</desc>
            <filename>0001-archiver.bbclass-create-sub-directory-per-license.patch</filename>
            <type>application/octet-stream</type>
            <size>1131</size>
            <attacher name="Pascal Bach">pascal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