[oe] [PATCH] busybox/syslogs: use update-alternatives for syslog selection

2010-05-07 Thread Steffen Sledz
* u-a for init scripts of busybox-syslog, sysklogd, and rsyslog * syslog-ng needs to be integrated too! Signed-off-by: Steffen Sledz --- recipes/busybox/busybox.inc| 18 -- recipes/rsyslog/rsyslog.inc| 22 +- recipes/sysklogd/sysklogd.inc

Re: [oe] [PATCH] busybox/syslogs: use update-alternatives for syslog selection

2010-05-07 Thread Martin Jansa
On Fri, May 07, 2010 at 04:20:36PM +0200, Steffen Sledz wrote: > * u-a for init scripts of busybox-syslog, sysklogd, and rsyslog > * syslog-ng needs to be integrated too! > > Signed-off-by: Steffen Sledz > --- > recipes/busybox/busybox.inc| 18 -- > recipes/rsyslog/rsys

Re: [oe] [PATCH] busybox/syslogs: use update-alternatives for syslog selection

2010-05-07 Thread Martin Jansa
On Fri, May 07, 2010 at 04:20:36PM +0200, Steffen Sledz wrote: > * u-a for init scripts of busybox-syslog, sysklogd, and rsyslog > * syslog-ng needs to be integrated too! > > Signed-off-by: Steffen Sledz > --- > recipes/busybox/busybox.inc| 18 -- > recipes/rsyslog/rsys

Re: [oe] [PATCH] busybox/syslogs: use update-alternatives for syslog selection

2010-05-07 Thread Steffen Sledz
Am 07.05.2010 16:49, Martin Jansa wrote: >> +pkg_preinst_${PN}-syslog () { >> +# this is needed to avoid sysmlink errors, >> +# because update-rc.d runs before pkg_postinst :( >> +touch {sysconfdir}/init.d/syslog > > missing $ > touch: cannot touch `{sysconfdir}/init.d/syslog': No s

Re: [oe] [PATCH] busybox/syslogs: use update-alternatives for syslog selection

2010-05-07 Thread Steffen Sledz
Am 07.05.2010 16:58, Martin Jansa wrote: > One more issue with this part, partialy explaining what went wrong in > that log. You're not creating syslog.busybox, so real /etc/init.d/syslog > is not packaged and after u-a /etc/init.d/syslog points to non-existing > /etc/init.d/syslog.busybox and that

Re: [oe] [PATCH] busybox/syslogs: use update-alternatives for syslog selection

2010-05-10 Thread Martin Jansa
On Fri, May 07, 2010 at 05:04:27PM +0200, Steffen Sledz wrote: > > Configuring busybox-syslog. > > update-rc.d: /etc/init.d/syslog: file does not exist > > update-alternatives: Linking //etc/init.d/syslog to syslog.busybox > > Are you sure that you run the patched version? It looks like > running