[oe-commits] Paul Eggleton : classes/image: ensure BAD_RECOMMENDATIONS supports pre-renamed package names

git at git.openembedded.org git at git.openembedded.org
Mon Jul 29 12:01:13 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: aea9d379ea217c78b64a81853ec3744188158008
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=aea9d379ea217c78b64a81853ec3744188158008

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Thu Jul 25 13:25:49 2013 +0100

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.

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 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 380ed8e..cf02f88 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -132,6 +132,7 @@ python () {
         pn = d.getVar('PN', True)
         runtime_mapping_rename("PACKAGE_INSTALL", pn, d)
         runtime_mapping_rename("PACKAGE_INSTALL_ATTEMPTONLY", pn, d)
+        runtime_mapping_rename("BAD_RECOMMENDATIONS", pn, d)
 
     # Ensure we have the vendor list for complementary package handling
     ml_vendor_list = ""



More information about the Openembedded-commits mailing list