[OE-core] wpa-supplicant postinsts failing without sysvinit in DISTRO_FEATURES
Burton, Ross
ross.burton at intel.com
Fri Apr 12 14:24:57 UTC 2013
On 12 April 2013 15:20, Martin Jansa <martin.jansa at gmail.com> 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
More information about the Openembedded-core
mailing list