mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
meta-poky: Update BB_DISKMON_DIRS use
Update the example BB_DISKMON_DIRS definitions in the sample local.conf files for the rename of the "ABORT" action to "HALT". (From meta-yocto rev: f7dc69745e3dbd5cf0d4950c44169b26c30b1902) Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d58ab95484
commit
8cc8380074
@@ -184,7 +184,7 @@ PATCHRESOLVE = "noop"
|
||||
#
|
||||
# Monitor the disk space during the build. If there is less that 1GB of space or less
|
||||
# than 100K inodes in any key build location (TMPDIR, DL_DIR, SSTATE_DIR), gracefully
|
||||
# shutdown the build. If there is less than 100MB or 1K inodes, perform a hard abort
|
||||
# shutdown the build. If there is less than 100MB or 1K inodes, perform a hard halt
|
||||
# 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 necessary to monitor /tmp, if there is no space left the build will fail
|
||||
@@ -194,10 +194,10 @@ BB_DISKMON_DIRS ??= "\
|
||||
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,/tmp,10M,1K"
|
||||
HALT,${TMPDIR},100M,1K \
|
||||
HALT,${DL_DIR},100M,1K \
|
||||
HALT,${SSTATE_DIR},100M,1K \
|
||||
HALT,/tmp,10M,1K"
|
||||
|
||||
#
|
||||
# Shared-state files from other locations
|
||||
|
||||
@@ -195,7 +195,7 @@ DISTRO_FEATURES:remove = "x11"
|
||||
# "action,directory,minimum_space,minimum_free_inode"
|
||||
#
|
||||
# The "action" must be set and should be one of:
|
||||
# ABORT: Immediately abort
|
||||
# HALT: Immediately halt
|
||||
# STOPTASKS: The new tasks can't be executed any more, will stop the build
|
||||
# when the running tasks have been done.
|
||||
# WARN: show warnings (see BB_DISKMON_WARNINTERVAL for more information)
|
||||
|
||||
Reference in New Issue
Block a user