summaryrefslogtreecommitdiff
path: root/meta/conf/local.conf.sample
diff options
context:
space:
mode:
authorMariano Lopez <mariano.lopez@linux.intel.com>2015-07-15 11:17:48 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-20 10:38:59 +0100
commit8ef33529f5aaa625b378956a117fe03bb41e49ec (patch)
tree538db5b4f9b456660479ae75d9d3192a2c61015d /meta/conf/local.conf.sample
parent1b3d77195210d7d2b17c1bb8ab756053d72c7d4c (diff)
downloadopenembedded-core-8ef33529f5aaa625b378956a117fe03bb41e49ec.tar.gz
openembedded-core-8ef33529f5aaa625b378956a117fe03bb41e49ec.tar.bz2
openembedded-core-8ef33529f5aaa625b378956a117fe03bb41e49ec.zip
local.conf.sample: Added /tmp to BB_DISKMON_DIRS
If the there is no space left in /tmp the build will fail with very exotic errors. This monitor the space of /tmp. [YOCTO #8000] Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/conf/local.conf.sample')
-rw-r--r--meta/conf/local.conf.sample6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample
index 20ccf4cd23..3ae24aba9d 100644
--- a/meta/conf/local.conf.sample
+++ b/meta/conf/local.conf.sample
@@ -166,13 +166,17 @@ PATCHRESOLVE = "noop"
# shutdown the build. If there is less that 100MB or 1K inodes, perform a hard abort
# of the build. The reason for this is that running completely out of space can corrupt
# files and damages the build in ways which may not be easily recoverable.
+# It's necesary to monitor /tmp, if there is no space left the build will fail
+# with very exotic errors.
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
+ STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
- ABORT,${SSTATE_DIR},100M,1K"
+ ABORT,${SSTATE_DIR},100M,1K \
+ ABORT,/tmp,10M,1K"
#
# Shared-state files from other locations