]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Use an exit code when blobs are missing
authorSimon Glass <sjg@chromium.org>
Thu, 10 Nov 2022 02:14:42 +0000 (19:14 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 22 Nov 2022 22:13:34 +0000 (15:13 -0700)
commitb38da15a054c4ce5ac7c46147995f1387ab24d3b
tree3a93d7a4d18329d34be85fb1459c09e2e3d52aeb
parent921b0a6ce2aef19299c702dd4653889189ed81b6
binman: Use an exit code when blobs are missing

At present binman returns success when told to handle missing/faked blobs
or missing bintools. This is confusing since in fact the resulting image
cannot work.

Use exit code 103 to signal this problem, with a -W option to convert
it to a warning.

Rename the flag to --ignore-missing since it controls bintools also.

Add documentation about exit codes while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/binman.rst
tools/binman/cmdline.py
tools/binman/control.py
tools/binman/ftest.py