From: Paul Eggleton Date: Thu, 25 Jul 2013 12:25:49 +0000 (+0100) Subject: classes/image: ensure BAD_RECOMMENDATIONS supports pre-renamed package names X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=face212d60b03c7a615c5b09fb6ca2e11de7c7d0;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 380ed8e09dc..cf02f88de51 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 = ""