From 1b07bd4c6b1ff70267b97f94b25026a8f8ad3314 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Tue, 4 Sep 2012 19:05:19 +0100 Subject: packagegroup-(base|core-basic): add RREPLACES/RCONFLICTS These are needed to support upgrading from task-* to packagegroup-* within existing target images at runtime. Note: these settings will very likely be moved to a separate inc file at some point in the future. Signed-off-by: Paul Eggleton Signed-off-by: Saul Wold --- meta/recipes-extended/packagegroups/packagegroup-core-basic.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta/recipes-extended') diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb b/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb index 30b66c5b4c..d3eeeedc93 100644 --- a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb +++ b/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb @@ -3,7 +3,7 @@ # DESCRIPTION = "Create Basic Image Tasks" -PR = "r4" +PR = "r5" LICENSE = "MIT" inherit packagegroup @@ -24,6 +24,8 @@ python __anonymous () { packages = d.getVar("PACKAGES", True).split() for pkg in packages: d.appendVar("RPROVIDES_%s" % pkg, pkg.replace("packagegroup-core", "task-core")) + d.appendVar("RREPLACES_%s" % pkg, pkg.replace("packagegroup-core", "task-core")) + d.appendVar("RCONFLICTS_%s" % pkg, pkg.replace("packagegroup-core", "task-core")) } -- cgit v1.2.3