<?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>1776</bug_id>
          
          <creation_ts>2011-11-21 09:40:58 +0000</creation_ts>
          <short_desc>License wrangling, stage 1</short_desc>
          <delta_ts>2012-01-02 23:35:57 +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>1.1</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>Stage1: (P1) Final commit. RFC/Pull sent. Documentation sent to Scottrif</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.2 M1</target_milestone>
          
          <blocked>1547</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Beth Flanagan">elizabeth.flanagan</reporter>
          <assigned_to name="Beth Flanagan">elizabeth.flanagan</assigned_to>
          <cc>elizabeth.flanagan</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>scott.a.garman</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>17283</commentid>
    <comment_count>0</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2011-11-21 09:40:58 +0000</bug_when>
    <thetext>3 Stages: Stage1: [P1][D4] Stage2: [P2][D10] Stage3: [P3][D5]

Stage One - Fix current defects:

    * Fix where the license collection occurs. This needs to occur during the creation of the rootfs.
    * Ensure that we can use this during a parallel bitbake
    * Incorporate a flag to allow the image to contain collected licenses.
    * Ensure that we&apos;ve gotten rid of all license WARNINGS. (Add license text, correct recipes).
    * Create a way to add additional licenses.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17287</commentid>
    <comment_count>1</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2011-11-21 09:53:25 +0000</bug_when>
    <thetext>*** Bug 1547 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17289</commentid>
    <comment_count>2</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2011-11-21 09:54:10 +0000</bug_when>
    <thetext>*** Bug 1308 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17291</commentid>
    <comment_count>3</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2011-11-21 09:54:53 +0000</bug_when>
    <thetext>*** Bug 1666 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17293</commentid>
    <comment_count>4</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2011-11-21 09:55:39 +0000</bug_when>
    <thetext>*** Bug 1546 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17357</commentid>
    <comment_count>5</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2011-11-23 16:52:18 +0000</bug_when>
    <thetext>Quick update:

    * Fix where the license collection occurs. This needs to occur during the
creation of the rootfs.

I have this working with rootfs_rpm. Porting to ipk and deb tonight.

    * Ensure that we can use this during a parallel bitbake

Fixed, using minimal and sato as my test run:

more tmp/deploy/licenses/core-image-sato-qemux86-20111124004238/license.manifest |grep base-passwd
PACKAGE_NAME: base-passwd

more tmp/deploy/licenses/core-image-minimal-qemux86-20111124004238/license.manifest |grep base-passwd
PACKAGE_NAME: base-passwd

So, I now know that license manifests contain the correct packages.

    * Incorporate a flag to allow the image to contain collected licenses.

In the works.

    * Ensure that we&apos;ve gotten rid of all license WARNINGS. (Add license text,
correct recipes).

I have 18 identified in a core-image-sato. Working on a world build next to identify all warnings.

    * Create a way to add additional licenses.

Still thinking about this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17437</commentid>
    <comment_count>6</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2011-11-30 11:08:41 +0000</bug_when>
    <thetext>    * Fix where the license collection occurs. This needs to occur during the
creation of the rootfs.
Status: Done

    * Ensure that we can use this during a parallel bitbake
Status: Final verify

    * Incorporate a flag to allow the image to contain collected licenses.
Status: Not Started. Trivial.

    * Ensure that we&apos;ve gotten rid of all license WARNINGS. (Add license text,
correct recipes).
Status: Finished today

    * Create a way to add additional licenses.
Status: Haven&apos;t started yet. Working on it today.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17482</commentid>
    <comment_count>7</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2011-12-03 14:38:57 +0000</bug_when>
    <thetext>Final commit pending (bunch of rebasing I need to do to clean up commit history). As it stands, we&apos;re fully functional with the exception of deb images. Those will work when list_packages is functional for deb</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17484</commentid>
    <comment_count>8</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2011-12-03 20:21:14 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=eflanagan/license_m1&amp;id=e1a3bfe9bd0f5ac83476e17720e96bf08fa256a6

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=eflanagan/license_m1&amp;id=adeb8d759c0c6dd4b73fa116a6996157c43d4f06</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17509</commentid>
    <comment_count>9</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-12-07 05:02:48 +0000</bug_when>
    <thetext>Beth: A quick note on process - things get marked as fixed when they make it into the main repository, not when posted for review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17597</commentid>
    <comment_count>10</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2011-12-13 08:17:19 +0000</bug_when>
    <thetext>Made it into master. Did not make the M1 cutoff.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>