[PATCH 4/5] binman: Use an exit code when blobs are missing

Tom Rini trini at konsulko.com
Mon Oct 10 22:40:56 CEST 2022


On Mon, Oct 10, 2022 at 02:00:31PM -0600, Simon Glass wrote:

> At present binman returns success when told to handle missing blobs.
> This is confusing this 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.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

I'm still not sure I like this, rather than changing the default "make"
behavior.  And then it gets me a bit worried that we have CI not doing
some other things "right" as we don't want to ignore warnings in CI, we
want warnings to become errors so that new warnings don't make it
in-tree.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20221010/3d27e395/attachment.sig>


More information about the U-Boot mailing list