Priority for update-alternatives was 50 before which was the
same like the one for busybox-syslog. Resulting order now is:
* 300 rsyslogd
* 200 syslog-ng
* 100 sysklogd
* 50 busybox-syslog
Signed-off-by: Steffen Sledz <sledz@dresearch.de>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
DEPENDS_append = " update-rc.d update-rc.d-native"
RDEPENDS_${PN}_append = " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "update-rc.d", d)}"
-INC_PR = "r3"
+INC_PR = "r4"
inherit autotools
CONFFILES_${PN} = "${sysconfdir}/${PN}.conf"
pkg_postinst_${PN} () {
- update-alternatives --install ${sysconfdir}/init.d/syslog syslog-init syslog.${PN} 50
+ update-alternatives --install ${sysconfdir}/init.d/syslog syslog-init syslog.${PN} 200
if test "x$D" != "x"; then
OPT="-r $D"