[yocto] [PATCH] fetch2/__init_.py removed bb.error which caused exit code 1

Leonardo Sandoval leonardo.sandoval.gonzalez at linux.intel.com
Tue Jul 18 09:13:53 PDT 2017


you need to send it to openembedde-core mailing list and use
git-send-email to submit your patch. More info on the link below


http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded

Leo

On Tue, 2017-07-18 at 15:43 +0200, Paulo Neves wrote:
> http://lists.openembedded.org/pipermail/openembedded-core/2012-September/069448.html
> 
> Workaround to avoid exit 1 status.
> 
>     The reason it happens is that there are 2 missions
>     the state cache uses the normal fetcher to get
>     its's stuff and it is acceptable for it to fail.
>     On the other hand it is not acceptable for fetch
>     to fail.
> 
>     In it's code the state cache code catches the exception that the
>     fetcher launches and discards. The problem
>     is that before this exception is caught it prints
>     a bb.error and bb.error prints something and
>     continues on like no problem happened.  but marks
>     the exit code as 1 which is a disaster.
> -- 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto





More information about the yocto mailing list