On Tue, Feb 13, 2018 at 11:22:14AM +0100, Bastian Stender wrote:
> This is called by dbus activation via
> /usr/share/dbus-1/system-services/de.pengutronix.rauc.service when
> systemd is not used.
> 
> Signed-off-by: Bastian Stender <b...@pengutronix.de>
> ---
>  rules/rauc.make | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/rules/rauc.make b/rules/rauc.make
> index bc3b9462a..c7879f348 100644
> --- a/rules/rauc.make
> +++ b/rules/rauc.make
> @@ -81,6 +81,9 @@ ifdef PTXCONF_INITMETHOD_SYSTEMD
>               /usr/lib/systemd/system/rauc-mark-good.service)
>       @$(call install_link, rauc, ../rauc-mark-good.service, \
>               
> /usr/lib/systemd/system/multi-user.target.wants/rauc-mark-good.service)
> +else
> +     @$(call install_copy, rauc, 0, 0, 0755, -, \
> +             /usr/libexec/rauc-service.sh)


$ cat /usr/libexec/rauc-service.sh
#!/bin/sh
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
/usr/local/bin/rauc service

This cannot work.

Michael

>  endif
>  
>       @$(call install_finish, rauc)
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to