Hi Hermann,
It does not work as you suppose. SWUpdate performs the update, but it
does not take the decision to stop or reboot the system. This is
demanded because an application could take the control.
Anyway, there is also a builtin command after an update is finished. You
can set a "postupdatecmd" in the configuration file, and this is
executed at the end if successful - and you can decide to exit, reboot,
or whatever you want.
Or you can use the "progress" interface and decides on your own. The
tools directory contains the "progress" tool, that can reboot the system
after success. Tool is renamed in Yocto environment, and you can start
it with
swupdate-progress -w -r
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone:
+49-8142-66989-53 Fax:
+49-8142-66989-80 Email:
sba...@denx.de
=====================================================================