All of lore.kernel.org
 help / color / mirror / Atom feed
From: <kai.kang@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH] dummy-sdk-package: append RREPLACES with DUMMYPROVIDES
Date: Fri, 27 Dec 2019 16:27:05 +0800	[thread overview]
Message-ID: <20191227082705.29041-1-kai.kang@windriver.com> (raw)

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}")
 }
 
-- 
2.17.1



             reply	other threads:[~2019-12-27  8:27 UTC|newest]

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

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=20191227082705.29041-1-kai.kang@windriver.com \
    --to=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.