Bug 1776 - License wrangling, stage 1
Summary: License wrangling, stage 1
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.1
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.2 M1
Assignee: Beth Flanagan
QA Contact:
URL:
Whiteboard: Stage1: (P1) Final commit. RFC/Pull s...
: 1308 1546 1547 1666 (view as bug list)
Depends on:
Blocks: 1547
  Show dependency tree
 
Reported: 2011-11-21 09:40 UTC by Beth Flanagan
Modified: 2012-01-02 23:35 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Beth Flanagan 2011-11-21 09:40:58 UTC
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've gotten rid of all license WARNINGS. (Add license text, correct recipes).
    * Create a way to add additional licenses.
Comment 1 Beth Flanagan 2011-11-21 09:53:25 UTC
*** Bug 1547 has been marked as a duplicate of this bug. ***
Comment 2 Beth Flanagan 2011-11-21 09:54:10 UTC
*** Bug 1308 has been marked as a duplicate of this bug. ***
Comment 3 Beth Flanagan 2011-11-21 09:54:53 UTC
*** Bug 1666 has been marked as a duplicate of this bug. ***
Comment 4 Beth Flanagan 2011-11-21 09:55:39 UTC
*** Bug 1546 has been marked as a duplicate of this bug. ***
Comment 5 Beth Flanagan 2011-11-23 16:52:18 UTC
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'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.
Comment 6 Beth Flanagan 2011-11-30 11:08:41 UTC
    * 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've gotten rid of all license WARNINGS. (Add license text,
correct recipes).
Status: Finished today

    * Create a way to add additional licenses.
Status: Haven't started yet. Working on it today.
Comment 7 Beth Flanagan 2011-12-03 14:38:57 UTC
Final commit pending (bunch of rebasing I need to do to clean up commit history). As it stands, we're fully functional with the exception of deb images. Those will work when list_packages is functional for deb
Comment 9 Richard Purdie 2011-12-07 05:02:48 UTC
Beth: A quick note on process - things get marked as fixed when they make it into the main repository, not when posted for review.
Comment 10 Beth Flanagan 2011-12-13 08:17:19 UTC
Made it into master. Did not make the M1 cutoff.