mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 00:49:33 +02:00
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. (From OE-Core rev: 1b07bd4c6b1ff70267b97f94b25026a8f8ad3314) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5084e47851
commit
38e71739d9
@@ -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"))
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user