summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 104bec8628..4ca04e235f 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -181,8 +181,10 @@ def preferred_ml_updates(d):
181 virt = "virtual/" 181 virt = "virtual/"
182 for p in prefixes: 182 for p in prefixes:
183 newname = "PREFERRED_PROVIDER_" + virt + p + "-" + pkg 183 newname = "PREFERRED_PROVIDER_" + virt + p + "-" + pkg
184 if pkg != "kernel":
185 val = p + "-" + val
184 if not d.getVar(newname, False): 186 if not d.getVar(newname, False):
185 d.setVar(newname, p + "-" + val) 187 d.setVar(newname, val)
186 188
187 189
188 mp = (d.getVar("MULTI_PROVIDER_WHITELIST", True) or "").split() 190 mp = (d.getVar("MULTI_PROVIDER_WHITELIST", True) or "").split()