diff options
author | Mariano Lopez <mariano.lopez@linux.intel.com> | 2015-07-15 11:17:48 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-21 23:51:08 +0100 |
commit | 9f87dcf3a3adf0b215b59eac854d372216c9dc0d (patch) | |
tree | bb604e83d237db30f2b33d00cb7caac55b2a26c4 /meta-yocto | |
parent | f5206e85b3462a6e8b49842e9f7c7823c102f33b (diff) | |
download | poky-9f87dcf3a3adf0b215b59eac854d372216c9dc0d.tar.gz |
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 <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto')
-rw-r--r-- | meta-yocto/conf/local.conf.sample | 6 |
1 files changed, 5 insertions, 1 deletions
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" | |||
188 | # shutdown the build. If there is less that 100MB or 1K inodes, perform a hard abort | 188 | # shutdown the build. If there is less that 100MB or 1K inodes, perform a hard abort |
189 | # of the build. The reason for this is that running completely out of space can corrupt | 189 | # of the build. The reason for this is that running completely out of space can corrupt |
190 | # files and damages the build in ways which may not be easily recoverable. | 190 | # files and damages the build in ways which may not be easily recoverable. |
191 | # It's necesary to monitor /tmp, if there is no space left the build will fail | ||
192 | # with very exotic errors. | ||
191 | BB_DISKMON_DIRS = "\ | 193 | BB_DISKMON_DIRS = "\ |
192 | STOPTASKS,${TMPDIR},1G,100K \ | 194 | STOPTASKS,${TMPDIR},1G,100K \ |
193 | STOPTASKS,${DL_DIR},1G,100K \ | 195 | STOPTASKS,${DL_DIR},1G,100K \ |
194 | STOPTASKS,${SSTATE_DIR},1G,100K \ | 196 | STOPTASKS,${SSTATE_DIR},1G,100K \ |
197 | STOPTASKS,/tmp,100M,100K \ | ||
195 | ABORT,${TMPDIR},100M,1K \ | 198 | ABORT,${TMPDIR},100M,1K \ |
196 | ABORT,${DL_DIR},100M,1K \ | 199 | ABORT,${DL_DIR},100M,1K \ |
197 | ABORT,${SSTATE_DIR},100M,1K" | 200 | ABORT,${SSTATE_DIR},100M,1K \ |
201 | ABORT,/tmp,10M,1K" | ||
198 | 202 | ||
199 | # | 203 | # |
200 | # Shared-state files from other locations | 204 | # Shared-state files from other locations |