1. Download the source and set build environment. 2. Follow the meta-yocto/conf/local.conf.sample.extended to enable disk monitor. For example, add the following lines to conf/local.conf: BB_DISKMON_DIRS = "STOPTASKS,${TMPDIR},40G,4510K" BB_DISKMON_WARNINTERVAL = "50M,5K" 3. Run "bitbake core-image-sato" to build a image. Notice error: " ERROR: No new tasks can be excuted since the disk space monitor action is "STOPTASKS"! ERROR: Unknown event: <bb.event.DiskFull object at 0x2ab6310> " Note: Disk space monitor is apparently working fine, it stops bitbake from creating new tasks. Also the ABORT and WARN options work as they should. Tested on: Build Configuration: BB_VERSION = "1.17.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-12.04" TARGET_SYS = "x86_64-poky-linux" MACHINE = "qemux86-64" DISTRO = "poky" DISTRO_VERSION = "1.3+snapshot-20121203" TUNE_FEATURES = "m64" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "(nobranch):247b6a3754c2c50318e2a73d79981ba0e9cb560b"
Merged into master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e36994f69a6780e4eb858262f16732d714c922f0
below the mesages changed (no "Unknown event" ERROR) : -------- ... NOTE: Resolving any missing task queue dependencies NOTE: Preparing runqueue NOTE: Executing SetScene Tasks WARNING: The free space of /dev/sda10 is running low (0.111GB left) ERROR: No new tasks can be excuted since the disk space monitor action is "STOPTASKS"! NOTE: Tasks Summary: Attempted 2191 tasks of which 2191 didn't need to be rerun and all succeeded. Summary: There was 1 WARNING message shown. Summary: There was 1 ERROR message shown, returning a non-zero exit code. -------- git info :c7b23ab68aafc04d9830ef318015912e5d4f0672 git branch: poky/master