[OE-core] [PATCH 2/6] lib/oe/package_manager: turn postinst failure warnings into bitbake failures

Richard Purdie richard.purdie at linuxfoundation.org
Sun Jun 17 07:35:44 UTC 2018


On Mon, 2018-06-11 at 16:38 +0300, Alexander Kanavin wrote:
> Sumo release provides a transition period so that deferrals to first
> boot
> via 'exit 1' can be converted to pkg_postinst_ontarget(). For the
> next release
> however, postinst script failures should be treated as such.
> 
> [YOCTO #12607]
> 
> Signed-off-by: Alexander Kanavin <alexander.kanavin at linux.intel.com>
> ---
>  meta/lib/oe/package_manager.py               | 22 +++++++-----------
> --
>  meta/lib/oeqa/selftest/cases/runtime_test.py |  4 ++--
>  2 files changed, 9 insertions(+), 17 deletions(-)

This nearly managed a clean build, there was a single failure:

DISTRO_FEATURES_append = " api-documentation"

https://autobuilder.yocto.io/builders/nightly-qa-extras/builds/1082/steps/BuildImages_2/logs/stdio

Cheers,

Richard






More information about the Openembedded-core mailing list