[oe] All the syslogs
Steffen Sledz
sledz at dresearch.de
Fri May 7 13:02:16 UTC 2010
Am 07.05.2010 13:09, schrieb Martin Jansa:
>> When opkg installs the packages it wants to run update-rc.d *before*
>> update-alternatives. This results in an "file does not exist" error. :(
>>
>> Installing rsyslog (5.5.4-r1.0.5) to root...
>> Installing busybox-syslog (1.13.2-r24.1.5) to root...
>> Configuring rsyslog
>> update-rc.d: /etc/init.d/syslog: file does not exist
>> update-alternatives: Linking //etc/init.d/syslog to syslog.rsyslog
>> Any suggestions?
>
> If there is only one u-a file in recipe you can try
> inherit update-alternatives to see if it will generate postinst commands
> in right order.
Sorry, sometimes more than one.
> Or in worse case, move update-rc.d logic to your postinst scripts after
> setting u-a links.
Would be a
touch {sysconfdir}/init.d/syslog
in pkg_preinst_${PN} be acceptable? It worked well in my test.
Regards,
Steffen
More information about the Openembedded-devel
mailing list