summaryrefslogtreecommitdiffstats
path: root/meta-yocto/conf
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-01-13 21:15:47 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-21 17:15:52 +0000
commit0c3d5768e7a67c30a9525e91985690a09a9b9d48 (patch)
treea622dac685761fda9936e99a2ababfd0662c85b1 /meta-yocto/conf
parent7c0a782793e5c61849cd575ddc087b84c586623c (diff)
downloadpoky-0c3d5768e7a67c30a9525e91985690a09a9b9d48.tar.gz
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>
Diffstat (limited to 'meta-yocto/conf')
-rw-r--r--meta-yocto/conf/local.conf.sample.extended63
1 files changed, 29 insertions, 34 deletions
diff --git a/meta-yocto/conf/local.conf.sample.extended b/meta-yocto/conf/local.conf.sample.extended
index 5f10886e2b..aa01917fd1 100644
--- a/meta-yocto/conf/local.conf.sample.extended
+++ b/meta-yocto/conf/local.conf.sample.extended
@@ -188,40 +188,35 @@
188# when the disk space reduces 50M (or the amount of inode reduces 5k). 188# when the disk space reduces 50M (or the amount of inode reduces 5k).
189#BB_DISKMON_WARNINTERVAL = "50M,5K" 189#BB_DISKMON_WARNINTERVAL = "50M,5K"
190 190
191# Archiving source code, configure what kind of sources will be archived 191# Archive the source and put them to ${DEPLOY_DIR}/sources/.
192# and the output format. The output files will be put in 192#
193# ${DEPLOY_DIR}/sources/. 193#INHERIT += "archiver"
194# 194#
195# You can add the following 3 lines to the conf file to get a quick 195# The tarball for the patched source will be created by default, and you
196# usage: 196# can configure the archiver as follow:
197#ARCHIVER_MODE ?= "original" 197#
198#ARCHIVER_CLASS = "${@'archive-${ARCHIVER_MODE}-source' if ARCHIVER_MODE != 'none' else ''}" 198# Create archive for:
199#INHERIT += "${ARCHIVER_CLASS}" 199# 1) original (or unpacked) source:
200# 200#ARCHIVER_MODE[src] = "original"
201# Detailed configuration: 201# 2) patched source: (default)
202# What kind of sources will be archived, the ARCHIVER_MODE could be: 202#ARCHIVER_MODE[src] = "patched"
203# original: the ${S} after do_unpack 203# 3) configured source:
204# patched : the ${S} after do_patch 204#ARCHIVER_MODE[src] = "configured"
205# configured: the ${S} after do_configure 205#
206#ARCHIVER_MODE ?= "original" 206# 4) the patches between do_unpack and do_patch:
207# 207#ARCHIVER_MODE[diff] = "1"
208# The output format type, tar or srpm, the default is "tar". 208# set the files that you'd like to exclude from the diff:
209#ARCHIVER_MODE[type] ?= "tar" 209#ARCHIVER_MODE[diff-exclude] ?= ".pc autom4te.cache patches"
210# 210#
211# Whether include the log file under ${T} and the recipe (.bb and .inc), 211# 5) the environment data, similar to 'bitbake -e recipe':
212# the default is "logs_with_scripts". 212#ARCHIVER_MODE[dumpdata] = "1"
213#ARCHIVER_MODE[log_type] ?= "logs_with_scripts" 213#
214# 214# 6) the recipe (.bb and .inc):
215# license filter: 215#ARCHIVER_MODE[recipe] = "1"
216# yes: Only the COPYLEFT_LICENSE_INCLUDE recipe will be archived 216#
217# no: All kinds of license will be archived 217# Whether output the .src.rpm package:
218# The default is "no" 218#ARCHIVER_MODE[srpm] = "1"
219#ARCHIVER_MODE[filter] ?= "no" 219#
220#
221# The following lines should be added to your conf file verbatim
222# (uncommented though of course):
223#ARCHIVER_CLASS = "${@'archive-${ARCHIVER_MODE}-source' if ARCHIVER_MODE != 'none' else ''}"
224#INHERIT += "${ARCHIVER_CLASS}"
225 220
226# Remove the old image before the new one generated to save disk space 221# Remove the old image before the new one generated to save disk space
227#RM_OLD_IMAGE = "1" 222#RM_OLD_IMAGE = "1"