From 9f87dcf3a3adf0b215b59eac854d372216c9dc0d Mon Sep 17 00:00:00 2001 From: Mariano Lopez Date: Wed, 15 Jul 2015 11:17:48 +0000 Subject: 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] (From meta-yocto rev: 4402bfa6bcc1aec44a18fb4e16ce8becad106701) Signed-off-by: Mariano Lopez Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta-yocto/conf/local.conf.sample | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'meta-yocto') diff --git a/meta-yocto/conf/local.conf.sample b/meta-yocto/conf/local.conf.sample index a1d99f913e..371349d3f2 100644 --- a/meta-yocto/conf/local.conf.sample +++ b/meta-yocto/conf/local.conf.sample @@ -188,13 +188,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 -- cgit v1.2.3-54-g00ecf