| Summary: | Enhance archiver to allow filter on recipe name | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Matthias Bilger <matthias> |
| Component: | core | Assignee: | Mariano Lopez <mariano.lopez> |
| Status: | VERIFIED FIXED | QA Contact: | Daniel Istrate <daniel.alexandrux.istrate> |
| Severity: | enhancement | ||
| Priority: | Medium | CC: | anibal.limon, bluelightning, bogdanx.a.voiculescu, mariano.lopez, meta.mr.watcher, meta.watcher |
| Version: | 1.7 | ||
| Target Milestone: | 1.9 M2 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Matthias Bilger
2014-11-04 13:16:19 UTC
For reference would require a simple extension to meta/classes/copyleft_filter.bbclass. The implementation will be in copyleft_filter.bbclass as advised by Paul, it won't take a lot of lines. Patch sent to the mailing list Patch has been ACK by Paul Eggleton but hasn't been applied to master. Moving to 1.9M2 This bug is solved with commit: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/classes/copyleft_filter.bbclass?id=ae9102bda398359736ae0d46db388af51141d361 Verify on master: 7b86c771c80d0759c2ca0e57c46c4c966f89c49e Steps to verify: 1. Add to local.conf MACHINE = "genericx86-64" # Archiver INHERIT += "archiver" ARCHIVER_MODE[src] = "original" COPYLEFT_PN_INCLUDE = "busybox" COPYLEFT_PN_EXCLUDE = "zlib" 2. Build core-image-minimal bitbake core-image-minimal 3. Check that 'zlib' is excluded and 'busybox' is included: in tmp/deploy/sources/x86_64-poky-linux/ Additional test: 1. Clear the $BUILDDIR/tmp dir 2. Invert COPYLEFT_PN_INCLUDE AND COPYLEFT_PN_EXCLUDE 3. Build core-image-minimal 4. Check that 'zlib' is included and 'busybox' is excluded. Added a new oe-selftest testcase for this. Patch sent: http://lists.openembedded.org/pipermail/openembedded-core/2015-September/110792.html |