Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Xulin Sun <xulin.sun@windriver.com>,
	 openembedded-core@lists.openembedded.org
Subject: Re: [meta-oe][PATCH v2] openssl: fix multilib file install conflicts
Date: Sat, 26 Jan 2019 23:15:27 +0000	[thread overview]
Message-ID: <96973bd45e71375db51edeabc57c27503feddd9f.camel@linuxfoundation.org> (raw)
In-Reply-To: <1548126237-38328-1-git-send-email-xulin.sun@windriver.com>

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@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



  reply	other threads:[~2019-01-26 23:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-18  2:22 [meta-oe][PATCH] openssl: fix multilib file install conflicts Xulin Sun
2019-01-21 23:00 ` Randy MacLeod
2019-01-22 14:25   ` Peter Kjellerstedt
2019-01-23  9:31     ` Xulin Sun
2019-01-22  3:03 ` [meta-oe][PATCH v2] " Xulin Sun
2019-01-26 23:15   ` Richard Purdie [this message]
2019-01-28  1:41     ` Xulin Sun
2019-01-29  7:31 ` [meta-oe][PATCH v3] " Xulin Sun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=96973bd45e71375db51edeabc57c27503feddd9f.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=xulin.sun@windriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox