[OE-core] [PATCH] dummy-sdk-package: append RREPLACES with DUMMYPROVIDES
kai.kang at windriver.com
kai.kang at windriver.com
Fri Dec 27 08:27:05 UTC 2019
From: Kai Kang <kai.kang at 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 at 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
More information about the Openembedded-core
mailing list