| Summary: | license.bbclass should only copy licenses for packages actually installed | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Saul Wold <sgw> |
| Component: | core | Assignee: | Aníbal Limón <anibal.limon> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium | CC: | anibal.limon, bluelightning, meta.mr.watcher, meta.watcher, net147, ross.burton |
| Version: | 2.2 | ||
| Target Milestone: | 2.3 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Saul Wold
2016-09-23 03:32:16 UTC
I started to do some investigation on this and I think it can be accomplished by tracking in an array which licenses are listed in the manifest. There seems to be an additional behavior that I am not sure is correct or not, this is also copying additional files like recipeinfo from the license deploy dir to the rootfs. The current implementation takes into account packages at time of copy licenses to the rootfs. The problem seems to be at do_populate_lic [1], that is copying all the licenses associated with a recipe in every package. [1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/license.bbclass#n291 |