bitbake: Revert "providers.py: sort eligible providers by DEFAULT_PREFERENCE"
This breaks preferred providers functionality This reverts commit ee9afccf33b220a21b74fab279925eeb4771249b. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
a88950c477
commit
b694d3c3f9
|
@ -224,8 +224,6 @@ def _filterProviders(providers, item, cfgData, dataCache):
|
|||
continue
|
||||
eligible.remove(fn)
|
||||
eligible = [fn] + eligible
|
||||
# sort eligible according to their DEFAULT_PREFERENCE
|
||||
eligible.sort(lambda a, b: dataCache.pkg_dp[b] - dataCache.pkg_dp[a])
|
||||
|
||||
return eligible
|
||||
|
||||
|
|
Loading…
Reference in New Issue