diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-09-03 10:34:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-04 12:53:03 +0100 |
commit | 4a0bec427741946b7cf82d471508476a645930b9 (patch) | |
tree | a16192c3f39b48ca2d9755efb5f0cb894e996e75 /meta/recipes-extended/packagegroups | |
parent | 5f0c2e3509d154a724367c2a5de274baeae08af8 (diff) | |
download | poky-4a0bec427741946b7cf82d471508476a645930b9.tar.gz |
packagegroup-*: add RPROVIDES for backwards compatibility
Allow references to the old task packages to continue to work. This does
not add RPROVIDES for everything, just those packages that are likely to
have been referred to.
(From OE-Core rev: b41c45972a6d359f034615471959c84aee2bc456)
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>
Diffstat (limited to 'meta/recipes-extended/packagegroups')
-rw-r--r-- | meta/recipes-extended/packagegroups/packagegroup-core-basic.bb | 7 | ||||
-rw-r--r-- | meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb b/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb index 4e4bcf59c3..30b66c5b4c 100644 --- a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb +++ b/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb | |||
@@ -19,6 +19,13 @@ PACKAGES = "\ | |||
19 | packagegroup-core-sys-services \ | 19 | packagegroup-core-sys-services \ |
20 | " | 20 | " |
21 | 21 | ||
22 | python __anonymous () { | ||
23 | # For backwards compatibility after rename | ||
24 | packages = d.getVar("PACKAGES", True).split() | ||
25 | for pkg in packages: | ||
26 | d.appendVar("RPROVIDES_%s" % pkg, pkg.replace("packagegroup-core", "task-core")) | ||
27 | } | ||
28 | |||
22 | 29 | ||
23 | RDEPENDS_packagegroup-core-basic = "\ | 30 | RDEPENDS_packagegroup-core-basic = "\ |
24 | packagegroup-core-basic-libs \ | 31 | packagegroup-core-basic-libs \ |
diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb index 707ccc1201..120326f255 100644 --- a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb +++ b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb | |||
@@ -25,6 +25,7 @@ PACKAGES = "\ | |||
25 | " | 25 | " |
26 | 26 | ||
27 | 27 | ||
28 | RPROVIDES_packagegroup-core-lsb = "task-core-lsb" | ||
28 | RDEPENDS_packagegroup-core-lsb = "\ | 29 | RDEPENDS_packagegroup-core-lsb = "\ |
29 | packagegroup-core-sys-extended \ | 30 | packagegroup-core-sys-extended \ |
30 | packagegroup-core-db \ | 31 | packagegroup-core-db \ |