summaryrefslogtreecommitdiffstats
path: root/meta-yocto
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2012-02-26 08:48:16 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-26 11:07:25 (GMT)
commit5ecae0be86a70ad78aec69b7799deb0e83183dbc (patch)
tree62d1ee4b997f6eb485826a2ce31ca5a6fc0d2b86 /meta-yocto
parent9674ea28ffebd75f117531238e517df41ed7dafb (diff)
downloadpoky-5ecae0be86a70ad78aec69b7799deb0e83183dbc.tar.gz
local.conf.sample.extended: Add config sample for disk space monitoring
Add config sample for disk space monitoring to meta-yocto/conf/local.conf.sample [YOCTO #1589] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto')
-rw-r--r--meta-yocto/conf/local.conf.sample.extended35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-yocto/conf/local.conf.sample.extended b/meta-yocto/conf/local.conf.sample.extended
index 4ea2a6a..9c5b974 100644
--- a/meta-yocto/conf/local.conf.sample.extended
+++ b/meta-yocto/conf/local.conf.sample.extended
@@ -147,3 +147,38 @@
147# commercial_libomxil \ 147# commercial_libomxil \
148# commercial_mpeg2dec \ 148# commercial_mpeg2dec \
149# commercial_qmmp" 149# commercial_qmmp"
150
151
152#
153# Disk space monitor, take action when the disk space or the amount of
154# inode is running low, it is enabled when BB_DISKMON_DIRS is set.
155#
156# Set the directories to monitor for disk usage, if more than one
157# directories are mounted in the same device, then only one directory
158# would be monitored since the monitor is based on the device.
159# The format is:
160# "action,directory,minimum_space,minimum_free_inode"
161#
162# The "action" must be set and should be one of:
163# ABORT: Immediately abort
164# STOPTASKS: The new tasks can't be executed any more, will stop the build
165# when the running tasks have been done.
166# WARN: show warnings (see BB_DISKMON_WARNINTERVAL for more information)
167#
168# The "directory" must be set, any directory is OK.
169#
170# Either "minimum_space" or "minimum_free_inode" (or both of them)
171# should be set, otherwise the monitor would not be enabled,
172# the unit can be G, M, K or none, but do NOT use GB, MB or KB
173# (B is not needed).
174#BB_DISKMON_DIRS = "STOPTASKS,${TMPDIR},1G,100K WARN,${SSTATE_DIR},1G,100K"
175#
176# Set disk space and inode interval (only works when the action is "WARN",
177# the unit can be G, M, or K, but do NOT use the GB, MB or KB
178# (B is not needed), the format is:
179# "disk_space_interval,disk_inode_interval", the default value is
180# "50M,5K" which means that it would warn when the free space is
181# lower than the minimum space(or inode), and would repeat the warning
182# when the disk space reduces 50M (or the amount of inode reduces 5k).
183#BB_DISKMON_WARNINTERVAL = "50M,5K"
184