[OE-core] [oe-core][PATCH 1/1] postinst-intercepts: do not execute any variant of delay_to_first_boot

ChenQi Qi.Chen at windriver.com
Mon Jul 2 04:35:56 UTC 2018


Hi Richard,

It seems that this patch could fix 
https://autobuilder.yocto.io/builders/nightly-multilib/builds/1117/steps/BuildImages_2/logs/stdio.

Error message from log is like below:

ERROR: core-image-sato-1.0-r0 do_rootfs: The postinstall intercept hook 
'update_pixbuf_cache-lib32' failed


Best Regards,
Chen Qi


On 06/22/2018 02:22 AM, Joe Slater wrote:
> As of commit 2c5c6e3ff we create multilib variants of intercept
> hooks but we did not account for delay_to_first_boot variants.
> This was covered up until commit a335e7867, but will now cause
> an error.
>
> Signed-off-by: Joe Slater <joe.slater at windriver.com>
> ---
>   meta/lib/oe/package_manager.py | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
> index 20a41d5..9aa5847 100644
> --- a/meta/lib/oe/package_manager.py
> +++ b/meta/lib/oe/package_manager.py
> @@ -382,7 +382,8 @@ class PackageManager(object, metaclass=ABCMeta):
>               if script == "postinst_intercept" or not os.access(script_full, os.X_OK):
>                   continue
>   
> -            if script == "delay_to_first_boot":
> +            # we do not want to run any multilib variant of this
> +            if script.startswith("delay_to_first_boot"):
>                   self._postpone_to_first_boot(script_full)
>                   continue
>   


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180702/838e09cb/attachment-0002.html>


More information about the Openembedded-core mailing list