Signed-off-by: Bernhard Reutner-Fischer <[email protected]>
---
lib/bb/providers.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/bb/providers.py b/lib/bb/providers.py
index f85fa6f..df7d2c6 100644
--- a/lib/bb/providers.py
+++ b/lib/bb/providers.py
@@ -224,6 +224,8 @@ 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
--
1.6.5
_______________________________________________
Bitbake-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bitbake-dev