diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-07-25 13:25:49 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-29 13:09:15 +0100 |
commit | face212d60b03c7a615c5b09fb6ca2e11de7c7d0 (patch) | |
tree | d360056b7a3fafc38d087464b2c7f481a7fda5c8 /meta/classes | |
parent | c1a74368ee21d6f3ca296af60497263dc4629f62 (diff) | |
download | poky-face212d60b03c7a615c5b09fb6ca2e11de7c7d0.tar.gz |
classes/image: ensure BAD_RECOMMENDATIONS supports pre-renamed package names
Use runtime remapping on BAD_RECOMMENDATIONS just as we do with
variables such as IMAGE_INSTALL, so that we're specifying the name prior
to any renaming e.g. that done by debian.bbclass. Note that this is a
change in behaviour for renamed packages, however this is the correct
thing to be doing; a search of existing layers suggests this shouldn't
cause widespread incompatibilities.
(From OE-Core rev: aea9d379ea217c78b64a81853ec3744188158008)
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/classes')
-rw-r--r-- | meta/classes/image.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 380ed8e09d..cf02f88de5 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -132,6 +132,7 @@ python () { | |||
132 | pn = d.getVar('PN', True) | 132 | pn = d.getVar('PN', True) |
133 | runtime_mapping_rename("PACKAGE_INSTALL", pn, d) | 133 | runtime_mapping_rename("PACKAGE_INSTALL", pn, d) |
134 | runtime_mapping_rename("PACKAGE_INSTALL_ATTEMPTONLY", pn, d) | 134 | runtime_mapping_rename("PACKAGE_INSTALL_ATTEMPTONLY", pn, d) |
135 | runtime_mapping_rename("BAD_RECOMMENDATIONS", pn, d) | ||
135 | 136 | ||
136 | # Ensure we have the vendor list for complementary package handling | 137 | # Ensure we have the vendor list for complementary package handling |
137 | ml_vendor_list = "" | 138 | ml_vendor_list = "" |