mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user