STATUS: RUNNING BUILD: 1.6_M2_RC1: e4c23f7bcb79072ea6028fbdf8f3f0dc17a63371 ENVIRONMENT: Multiple environments STEPS TO REPRODUCE: Feature request:: https://bugzilla.yoctoproject.org/show_bug.cgi?id=2473 1. Add the following lines to conf/local.conf: ARCHIVER_MODE ?= "original" ARCHIVER_MODE[type] ?= "tar" ARCHIVER_MODE[log_type] ?= "logs_with_scripts" ARCHIVER_MODE[filter] = "no" ARCHIVER_CLASS = "${@'archive-${ARCHIVER_MODE}-source' if ARCHIVER_MODE != 'none' else ''}" INHERIT += "${ARCHIVER_CLASS}" and run bitbake core-image-minimal EXPECTED OUTCOME: 1. Check in tmp/deploy/sources/{MACHINE}-poky-linux/ the existence of the following licenses: BSD-3-Clause GPL-3.0-with-GCC-exceptionGPL-3.0 LGPLv2+BSDPD GPL-1.0 GPLv2+ MIT GPL-2.0 GPLv2.0+LGPLv2.1+ PD GPL-2.0BSD-4-Clause GPLv3+ Sleepycat GPL-2.0+LGPL-2.1+ GPLv3+LGPL-2.1+ Zlib GPL-2.0LGPL-2.1 LGPLv2.1+ ACTUAL OUTCOME: ionut@ionut-ubuntu:~/work/poky/build$ bitbake core-image-minimal Parsing recipes: 100% |######################################################################################################################################################################| ETA: 00:00:00 Parsing of 848 .bb files complete (0 cached, 848 parsed). 1202 targets, 36 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.21.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-13.10" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "1.5+snapshot-20140117" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "(detachedfrome4c23f7):e4c23f7bcb79072ea6028fbdf8f3f0dc17a63371" NOTE: Preparing runqueue ERROR: Task do_archive_scripts_logs in /home/ionut/work/poky/meta/recipes-devtools/quilt/quilt-native_0.61.bb depends upon non-existent task do_package_write_rpm in /home/ionut/work/poky/meta/recipes-devtools/quilt/quilt-native_0.61.bb Summary: There was 1 ERROR message shown, returning a non-zero exit code. Cheers, Ionut C
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