summaryrefslogtreecommitdiffstats
path: root/meta/classes/update-alternatives.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/update-alternatives.bbclass')
-rw-r--r--meta/classes/update-alternatives.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/update-alternatives.bbclass
index a75e282a3c..90bc56b9fb 100644
--- a/meta/classes/update-alternatives.bbclass
+++ b/meta/classes/update-alternatives.bbclass
@@ -353,7 +353,7 @@ python package_do_filedeps_append () {
353 continue 353 continue
354 354
355 # Add file provide 355 # Add file provide
356 trans_target = file_translate(alt_target) 356 trans_target = oe.package.file_translate(alt_target)
357 d.appendVar('FILERPROVIDES_%s_%s' % (trans_target, pkg), " " + alt_link) 357 d.appendVar('FILERPROVIDES_%s_%s' % (trans_target, pkg), " " + alt_link)
358 if not trans_target in (d.getVar('FILERPROVIDESFLIST_%s' % pkg, True) or ""): 358 if not trans_target in (d.getVar('FILERPROVIDESFLIST_%s' % pkg, True) or ""):
359 d.appendVar('FILERPROVIDESFLIST_%s' % pkg, " " + trans_target) 359 d.appendVar('FILERPROVIDESFLIST_%s' % pkg, " " + trans_target)