]> git.baikalelectronics.ru Git - uboot.git/commit
buildman: Deal nicely with invalid build-status file
authorSimon Glass <sjg@chromium.org>
Mon, 10 Dec 2018 16:05:23 +0000 (09:05 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 15 Jan 2019 00:47:13 +0000 (17:47 -0700)
commit2665d986845421a3d3ad54c93b78412a26e81760
treee5b76fa7f46cfdc203970338b1955a0ae4a70e13
parent6f40a8a0cf651ca7c1b1798ddd63de567835f63c
buildman: Deal nicely with invalid build-status file

The 'done' files created by buildman may end up being empty if buildman
runs out of disk space while writing them. This error is then persistent,
since even if disk space is reclaimed and the build retries, the empty
file causes an exception in the builder thread.

Deal with this silently by doing a rebuild.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/builderthread.py