aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-07-25 13:25:49 +0100
committerSaul Wold <sgw@linux.intel.com>2013-07-27 23:28:28 -0700
commitaea9d379ea217c78b64a81853ec3744188158008 (patch)
treeb18a89e7ebfcf36ca393adc414e18a572278f8de /meta/classes/image.bbclass
parent70517fca31261c1ca4b15bb38f8960b2f95993ba (diff)
downloadopenembedded-core-contrib-aea9d379ea217c78b64a81853ec3744188158008.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. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass1
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 () {
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 = ""