diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2007-08-11 18:08:03 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2007-08-11 18:08:03 +0000 |
commit | 276d2ee1a45994aa1d5ea1a2e5729ef11cd015d8 (patch) | |
tree | 303306e71d8982be47218ef1b83304ba3fcb04b0 /lib/bb/providers.py | |
parent | 4de39954e9e7f75363e110ec49382a12783a3091 (diff) | |
download | bitbake-276d2ee1a45994aa1d5ea1a2e5729ef11cd015d8.tar.gz |
providers.py: Add pn-PN to overrides when evalutating PREFERRED_VERSION (from poky)
Diffstat (limited to 'lib/bb/providers.py')
-rw-r--r-- | lib/bb/providers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/providers.py b/lib/bb/providers.py index 78f45122f..81de85e76 100644 --- a/lib/bb/providers.py +++ b/lib/bb/providers.py @@ -56,7 +56,7 @@ def findBestProvider(pn, cfgData, dataCache, pkg_pn = None, item = None): preferred_file = None localdata = data.createCopy(cfgData) - bb.data.setVar('OVERRIDES', "%s:%s" % (pn, data.getVar('OVERRIDES', localdata)), localdata) + bb.data.setVar('OVERRIDES', "pn-%s:%s:%s" % (pn, pn, data.getVar('OVERRIDES', localdata)), localdata) bb.data.update_data(localdata) preferred_v = bb.data.getVar('PREFERRED_VERSION_%s' % pn, localdata, True) |