On 12 April 2013 15:20, Martin Jansa <[email protected]> wrote:
> oe-core/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc
>
> defines pkg_postinst_wpa-supplicant
> with:
>         if [ "x$DBUSPID" != "x" ]; then
>                 /etc/init.d/dbus-1 reload || true
>         fi
>
> and /etc/init.d/dbus-1 is missing without sysvinit in DISTRO_FEATURES
>
> Thanks to "true" it doesn't fail completely, but if the goal is no
> warnings in images then errors should be fixed too :)

We're going to see stuff like this a lot - clearly we need some
abstraction over this.  One-off for dbus, or a general-purpose small
abstraction over invoking systemctl or init scripts?

Ross

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to