[OE-core] [meta-oe][PATCH v2] openssl: fix multilib file install conflicts

Richard Purdie richard.purdie at linuxfoundation.org
Sat Jan 26 23:15:27 UTC 2019


On Tue, 2019-01-22 at 11:03 +0800, Xulin Sun wrote:
> To avoid issue like below if run "bitbake lib32-core-image-minimal"
> with series userspace packages(LAMP,krb5...) added.
> 
> Add multilib_script support for openssl's c_rehash which is a perl
> script.
> 
> Error: Transaction check error:
>   file /usr/bin/c_rehash conflicts between attempted installs of
>   lib32-openssl-bin-1.1.1-r0.armv7at2hf_neon and openssl-bin-1.1.1-
> r0.aarch64
> 
> Signed-off-by: Xulin Sun <xulin.sun at windriver.com>
> ---
>  meta/recipes-connectivity/openssl/openssl_1.1.1a.bb | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1a.bb
> b/meta/recipes-connectivity/openssl/openssl_1.1.1a.bb
> index 5c4e69c..21359fa 100644
> --- a/meta/recipes-connectivity/openssl/openssl_1.1.1a.bb
> +++ b/meta/recipes-connectivity/openssl/openssl_1.1.1a.bb
> @@ -206,3 +206,7 @@ RREPLACES_openssl-conf = "openssl10-conf"
>  RCONFLICTS_openssl-conf = "openssl10-conf"
>  
>  BBCLASSEXTEND = "native nativesdk"
> +
> +inherit multilib_script
> +
> +MULTILIB_SCRIPTS = "${PN}:${bindir}/c_rehash"

Peter's feedback still needs addressing on whether c_rehash is in ${PN}
or ${PN}-bin?

Cheers,

Richard



More information about the Openembedded-core mailing list