diff options
Diffstat (limited to 'meta/recipes-extended/sysklogd/sysklogd.inc')
-rw-r--r-- | meta/recipes-extended/sysklogd/sysklogd.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-extended/sysklogd/sysklogd.inc b/meta/recipes-extended/sysklogd/sysklogd.inc index 11673283f6..3a518103ea 100644 --- a/meta/recipes-extended/sysklogd/sysklogd.inc +++ b/meta/recipes-extended/sysklogd/sysklogd.inc | |||
@@ -38,7 +38,9 @@ do_install () { | |||
38 | install -m 755 ${WORKDIR}/sysklogd ${D}${sysconfdir}/init.d/syslog | 38 | install -m 755 ${WORKDIR}/sysklogd ${D}${sysconfdir}/init.d/syslog |
39 | } | 39 | } |
40 | 40 | ||
41 | ALTERNATIVE_PRIORITY = "100" | 41 | # sysklogd package has no internal systemd support, so we weigh busybox's |
42 | # sysklogd utility over it in case of systemd | ||
43 | ALTERNATIVE_PRIORITY = "${@base_contains('DISTRO_FEATURES','systemd','10','100',d)}" | ||
42 | 44 | ||
43 | ALTERNATIVE_${PN} = "syslogd klogd syslog-init syslog-conf" | 45 | ALTERNATIVE_${PN} = "syslogd klogd syslog-init syslog-conf" |
44 | 46 | ||