| Summary: | Use archiver.bbclass to filter the source - fails | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Ionut Chisanovici <ionutx.chisanovici> |
| Component: | core | Assignee: | Robert Yang <liezhi.yang> |
| Status: | VERIFIED FIXED | QA Contact: | Ionut Chisanovici <ionutx.chisanovici> |
| Severity: | normal | ||
| Priority: | Medium | CC: | bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher |
| Version: | 1.6 | ||
| Target Milestone: | 1.6 M5 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| See Also: | https://bugzilla.yoctoproject.org/show_bug.cgi?id=5113 | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
| Bug Depends on: | 5113 | ||
| Bug Blocks: | |||
|
Description
Ionut Chisanovici
2014-01-17 15:55:43 UTC
Merged into master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4a91e1449b0c869979231b7f4c98e09c7a5d732a Hi Robert, Regarding all the changes related to the refactoring of the archiver.bbclass, can you please tell me how can I configure the local.conf in order to reflect this case ? Thanks, IonutC (In reply to comment #2) > Hi Robert, > > Regarding all the changes related to the refactoring of the > archiver.bbclass, can you please tell me how can I configure the local.conf > in order to reflect this case ? > > Thanks, > IonutC Hello, here is the full doc, please feel free to let me know if you still have any questions: # Archive the source and put them to ${DEPLOY_DIR}/sources/. # #INHERIT += "archiver" # # The tarball for the patched source will be created by default, and you # can configure the archiver as follow: # # Create archive for: # 1) original (or unpacked) source: #ARCHIVER_MODE[src] = "original" # 2) patched source: (default) #ARCHIVER_MODE[src] = "patched" # 3) configured source: #ARCHIVER_MODE[src] = "configured" # # 4) the patches between do_unpack and do_patch: #ARCHIVER_MODE[diff] = "1" # set the files that you'd like to exclude from the diff: #ARCHIVER_MODE[diff-exclude] ?= ".pc autom4te.cache patches" # # 5) the environment data, similar to 'bitbake -e recipe': #ARCHIVER_MODE[dumpdata] = "1" # # 6) the recipe (.bb and .inc): #ARCHIVER_MODE[recipe] = "1" # # 7) Whether output the .src.rpm package: #ARCHIVER_MODE[srpm] = "1" # # 8) Filter the license, the recipe whose license in # COPYLEFT_LICENSE_INCLUDE will be included, and in # COPYLEFT_LICENSE_EXCLUDE will be excluded. # COPYLEFT_LICENSE_INCLUDE = 'GPL* LGPL*' # COPYLEFT_LICENSE_EXCLUDE = 'CLOSED Proprietary' # 9) The recipe type that will be archived: # COPYLEFT_RECIPE_TYPES = '<type1> <type2> ...' # The type can be: target native nativesdk cross crosssdk cross-canadian. # Archive all types by default. (In reply to comment #2) > Hi Robert, > > Regarding all the changes related to the refactoring of the > archiver.bbclass, can you please tell me how can I configure the local.conf > in order to reflect this case ? > > Thanks, > IonutC The filter part are: # 8) Filter the license, the recipe whose license in # COPYLEFT_LICENSE_INCLUDE will be included, and in # COPYLEFT_LICENSE_EXCLUDE will be excluded. # COPYLEFT_LICENSE_INCLUDE = 'GPL* LGPL*' # COPYLEFT_LICENSE_EXCLUDE = 'CLOSED Proprietary' # 9) The recipe type that will be archived: # COPYLEFT_RECIPE_TYPES = '<type1> <type2> ...' # The type can be: target native nativesdk cross crosssdk cross-canadian. # Archive all types by default. This has been verified and TC updated. Cheers, IonutC |