Skip to content
Snippets Groups Projects
Unverified Commit fd1331c2 authored by Oliver Smith's avatar Oliver Smith
Browse files

find_providers: set higher provider_priority (MR 2301)

For packages selected by the user (see last commit), set the
provider_priority to 999999 instead of 999. The previous number seems
not high enough, we might set this in the APKBUILDs.
parent 56a4329f
No related branches found
No related tags found
1 merge request!2301pmb.init: add _pmb_default APKBUILD key
......@@ -268,7 +268,7 @@ def find_providers(provide, default):
# Strip provides version (=$pkgver-r$pkgrel)
if provides.split("=", 1)[0] == provide:
if subpkgname in default:
subpkg["provider_priority"] = 999
subpkg["provider_priority"] = 999999
providers[subpkgname] = subpkg
return sorted(providers.items(), reverse=True, key=lambda p: p[1].get("provider_priority", 0))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment