All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: kai.kang@windriver.com, openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] dummy-sdk-package: append RREPLACES with DUMMYPROVIDES
Date: Sat, 28 Dec 2019 15:48:05 +0000	[thread overview]
Message-ID: <f7a15691a81d776f755e0aecb0a5a3b53e3ef07a.camel@linuxfoundation.org> (raw)
In-Reply-To: <20191227082705.29041-1-kai.kang@windriver.com>

On Fri, 2019-12-27 at 16:27 +0800, kai.kang@windriver.com wrote:
> From: Kai Kang <kai.kang@windriver.com>
> 
> When multilib is enabled and installs lib32-perl to image, such as
> set
> 
>   IMAGE_INSTALL_append = " lib32-perl"
> 
> it fails to run task populate_sdk of images:
> 
> > Problem: package target-sdk-provides-dummy-1.0-
> > r0.sdk_provides_dummy_target
> >   conflicts with lib32-perl provided by lib32-perl-5.30.1-r0.i586
> 
> Append ${DUMMYPROVIDES} rather than ${DUMMYPROVIDES_PACKAGES} to
> variable RREPLACES that variable DUMMYPROVIDES contains multilib
> variants of the packages.
> 
> Signed-off-by: Kai Kang <kai.kang@windriver.com>
> ---
>  meta/recipes-core/meta/dummy-sdk-package.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-core/meta/dummy-sdk-package.inc
> b/meta/recipes-core/meta/dummy-sdk-package.inc
> index 61afab1d76..91466a36e9 100644
> --- a/meta/recipes-core/meta/dummy-sdk-package.inc
> +++ b/meta/recipes-core/meta/dummy-sdk-package.inc
> @@ -25,6 +25,6 @@ python populate_packages_prepend() {
>      p = d.getVar("PN")
>      d.appendVar("RPROVIDES_%s" % p, "${DUMMYPROVIDES}")
>      d.appendVar("RCONFLICTS_%s" % p, "${DUMMYPROVIDES}")
> -    d.appendVar("RREPLACES_%s" % p, "${DUMMYPROVIDES_PACKAGES}")
> +    d.appendVar("RREPLACES_%s" % p, "${DUMMYPROVIDES}")
>  }

This reverts 
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=63ad134e3d029accf67e1ba8880f59c7704cb505
?

I believe that is needed for the rpm upgrade which is pending.

Cheers,

Richard



      reply	other threads:[~2019-12-28 15:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-27  8:27 [PATCH] dummy-sdk-package: append RREPLACES with DUMMYPROVIDES kai.kang
2019-12-28 15:48 ` Richard Purdie [this message]

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=f7a15691a81d776f755e0aecb0a5a3b53e3ef07a.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=kai.kang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.