[OE-core] [PATCH 1/2] systemd: set INHIBIT_UPDATERCD_BBCLASS without sysvinit in features

Burton, Ross ross.burton at intel.com
Tue Apr 16 15:11:34 UTC 2013


Hi Martin,

On 8 April 2013 20:03, Martin Jansa <martin.jansa at gmail.com> wrote:
> There is also error from prerm :/
>
> //var/lib/opkg/info/dbus-1.prerm: line 3: /etc/init.d/dbus-1: No such file or directory
>
> updatercd_prerm() {
> if test "x$D" = "x"; then
>         ${INIT_D_DIR}/${INITSCRIPT_NAME} stop
> fi
> }
>
> not sure if testing update-rc.d existence like in postinst/postrm
> if type update-rc.d >/dev/null 2>/dev/null; then
> is right way, checking ${INIT_D_DIR}/${INITSCRIPT_NAME}
> existence will possibly hide some real issues...

This fragment doesn't exist with your explicit inhibit update-rc.d
patch, so this is effectively resolved.

Ross




More information about the Openembedded-core mailing list