local.conf.sample.extended: update for the archiver

Updated it since we have refactored the archiver.bbclass.

[YOCTO #5113]

(From meta-yocto rev: 0bb498b011113ddf79a51675678bb46b32490237)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Robert Yang
2014-01-13 21:15:47 +08:00
committed by Richard Purdie
parent 7c0a782793
commit 0c3d5768e7

View File

@@ -188,40 +188,35 @@
# when the disk space reduces 50M (or the amount of inode reduces 5k). # when the disk space reduces 50M (or the amount of inode reduces 5k).
#BB_DISKMON_WARNINTERVAL = "50M,5K" #BB_DISKMON_WARNINTERVAL = "50M,5K"
# Archiving source code, configure what kind of sources will be archived # Archive the source and put them to ${DEPLOY_DIR}/sources/.
# and the output format. The output files will be put in
# ${DEPLOY_DIR}/sources/.
# #
# You can add the following 3 lines to the conf file to get a quick #INHERIT += "archiver"
# usage:
#ARCHIVER_MODE ?= "original"
#ARCHIVER_CLASS = "${@'archive-${ARCHIVER_MODE}-source' if ARCHIVER_MODE != 'none' else ''}"
#INHERIT += "${ARCHIVER_CLASS}"
# #
# Detailed configuration: # The tarball for the patched source will be created by default, and you
# What kind of sources will be archived, the ARCHIVER_MODE could be: # can configure the archiver as follow:
# original: the ${S} after do_unpack
# patched : the ${S} after do_patch
# configured: the ${S} after do_configure
#ARCHIVER_MODE ?= "original"
# #
# The output format type, tar or srpm, the default is "tar". # Create archive for:
#ARCHIVER_MODE[type] ?= "tar" # 1) original (or unpacked) source:
#ARCHIVER_MODE[src] = "original"
# 2) patched source: (default)
#ARCHIVER_MODE[src] = "patched"
# 3) configured source:
#ARCHIVER_MODE[src] = "configured"
# #
# Whether include the log file under ${T} and the recipe (.bb and .inc), # 4) the patches between do_unpack and do_patch:
# the default is "logs_with_scripts". #ARCHIVER_MODE[diff] = "1"
#ARCHIVER_MODE[log_type] ?= "logs_with_scripts" # set the files that you'd like to exclude from the diff:
#ARCHIVER_MODE[diff-exclude] ?= ".pc autom4te.cache patches"
# #
# license filter: # 5) the environment data, similar to 'bitbake -e recipe':
# yes: Only the COPYLEFT_LICENSE_INCLUDE recipe will be archived #ARCHIVER_MODE[dumpdata] = "1"
# no: All kinds of license will be archived #
# The default is "no" # 6) the recipe (.bb and .inc):
#ARCHIVER_MODE[filter] ?= "no" #ARCHIVER_MODE[recipe] = "1"
#
# Whether output the .src.rpm package:
#ARCHIVER_MODE[srpm] = "1"
# #
# The following lines should be added to your conf file verbatim
# (uncommented though of course):
#ARCHIVER_CLASS = "${@'archive-${ARCHIVER_MODE}-source' if ARCHIVER_MODE != 'none' else ''}"
#INHERIT += "${ARCHIVER_CLASS}"
# Remove the old image before the new one generated to save disk space # Remove the old image before the new one generated to save disk space
#RM_OLD_IMAGE = "1" #RM_OLD_IMAGE = "1"