summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/busybox.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/busybox/busybox.inc')
-rw-r--r--meta/recipes-core/busybox/busybox.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index f1b09d95ce..c8919ce2c8 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -368,7 +368,10 @@ python do_package_prepend () {
368 # Match coreutils 368 # Match coreutils
369 if alt_name == '[': 369 if alt_name == '[':
370 alt_name = 'lbracket' 370 alt_name = 'lbracket'
371 d.appendVar('ALTERNATIVE_%s' % (pn), ' ' + alt_name) 371 if alt_name == 'klogd' or alt_name == 'syslogd':
372 d.appendVar('ALTERNATIVE_%s-syslog' % (pn), ' ' + alt_name)
373 else:
374 d.appendVar('ALTERNATIVE_%s' % (pn), ' ' + alt_name)
372 d.setVarFlag('ALTERNATIVE_LINK_NAME', alt_name, alt_link_name) 375 d.setVarFlag('ALTERNATIVE_LINK_NAME', alt_name, alt_link_name)
373 if os.path.exists('%s%s' % (dvar, target)): 376 if os.path.exists('%s%s' % (dvar, target)):
374 d.setVarFlag('ALTERNATIVE_TARGET', alt_name, target) 377 d.setVarFlag('ALTERNATIVE_TARGET', alt_name, target)