[OE-core] [PATCH] dbus: add work around to set right owner in postinst

Otavio Salvador otavio at ossystems.com.br
Sun Oct 30 04:13:14 UTC 2011


On Sat, Oct 29, 2011 at 08:53, Martin Jansa <martin.jansa at gmail.com> wrote:
...
> +       if [ -z "$D" ] ; then
> +               chown messagebus:messagebus ${localstatedir}/run/dbus ${localstatedir}/lib/dbus
> +               chown root:messagebus ${libexecdir}/dbus-daemon-launch-helper
> +               chmod 4754 ${libexecdir}/dbus-daemon-launch-helper
> +       fi

If you use $D in directories it will work for in-target and rootfs
installs allowing use of it in read-only-fs.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br




More information about the Openembedded-core mailing list