summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/providers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/providers.py b/bitbake/lib/bb/providers.py
index 78f45122ff..81de85e760 100644
--- a/bitbake/lib/bb/providers.py
+++ b/bitbake/lib/bb/providers.py
@@ -56,7 +56,7 @@ def findBestProvider(pn, cfgData, dataCache, pkg_pn = None, item = None):
56 preferred_file = None 56 preferred_file = None
57 57
58 localdata = data.createCopy(cfgData) 58 localdata = data.createCopy(cfgData)
59 bb.data.setVar('OVERRIDES', "%s:%s" % (pn, data.getVar('OVERRIDES', localdata)), localdata) 59 bb.data.setVar('OVERRIDES', "pn-%s:%s:%s" % (pn, pn, data.getVar('OVERRIDES', localdata)), localdata)
60 bb.data.update_data(localdata) 60 bb.data.update_data(localdata)
61 61
62 preferred_v = bb.data.getVar('PREFERRED_VERSION_%s' % pn, localdata, True) 62 preferred_v = bb.data.getVar('PREFERRED_VERSION_%s' % pn, localdata, True)