[OpenWrt-Devel] [PATCH] image: ignore usign build errors

Henrique de Moraes Holschuh henrique at nic.br
Wed Oct 3 06:57:01 EDT 2018

Em 02/10/18 17:50, Hauke Mehrtens escreveu:
> The tl-wa850re-v2 images from the ar71xx/tiny target are getting too big
> with the default packages. The size check is done before the meta data
> is added so there is no file to add meta data to or to sign. Originally
> errors in Build/append-metadata were getting ignored, but if the signing
> fails the error is not ignored.

I would very much like to be able to NOT ignore any errors that result 
in a missing or unsigned image.

IMHO, it is quite annoying to have a build that resulted on missing 
images at the end finish successfully, when you are actually interested 
in *every* target image you requested in Kconfig to be built.

It is fine if this it is not made the default behavior, the build system 
can ignore such failures by default as far as I am concerned.  As long 
as one could set a Kconfig option or environment variable to have the 
build system abort when it does an incomplete job, it would be enough.

And by an incomplete build job, I do mean failing to create any of the 
requested images, or creating images that are too big for their target, 
or failing to add metadata to the images, or failing to sign the final 
images, etc.

Henrique de Moraes Holschuh
Analista de Projetos
Centro de Estudos e Pesquisas em Tecnologias de Redes e Operações 
+55 11 5509-3537 R.:4023
INOC 22548*625

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list