| Summary: | License wrangling, stage 1 | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Beth Flanagan <elizabeth.flanagan> |
| Component: | meta-yocto | Assignee: | Beth Flanagan <elizabeth.flanagan> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium | CC: | elizabeth.flanagan, poky.bs.watcher, poky.watcher, richard.purdie, scott.a.garman, song.liu |
| Version: | 1.1 | ||
| Target Milestone: | 1.2 M1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | Stage1: (P1) Final commit. RFC/Pull sent. Documentation sent to Scottrif | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 1547 | ||
*** Bug 1547 has been marked as a duplicate of this bug. *** *** Bug 1308 has been marked as a duplicate of this bug. *** *** Bug 1666 has been marked as a duplicate of this bug. *** *** Bug 1546 has been marked as a duplicate of this bug. *** 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.
* 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.
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 http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=eflanagan/license_m1&id=e1a3bfe9bd0f5ac83476e17720e96bf08fa256a6 http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=eflanagan/license_m1&id=adeb8d759c0c6dd4b73fa116a6996157c43d4f06 Beth: A quick note on process - things get marked as fixed when they make it into the main repository, not when posted for review. Made it into master. Did not make the M1 cutoff. |
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.