diff options
author | Richard Purdie <richard@openedhand.com> | 2007-08-08 22:28:17 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-08-08 22:28:17 +0000 |
commit | 029f45e0802fa96481d22194799bfa424e2d884a (patch) | |
tree | d96c7d42cd925ec49435da7276b4c93c1ba372ca /bitbake | |
parent | 3de28a7ff112e2ae4965ef21ebd6a420867f274f (diff) | |
download | poky-029f45e0802fa96481d22194799bfa424e2d884a.tar.gz |
providers.py: Also add pn-PN syntax to overrides when evalutating PREFERRED_VERSION
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2416 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/providers.py | 2 |
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) |