chameleon-updater: Guard updating process
Move the updater to a deamon for keeping running when we do reboot.
Check the updating process in stop operation, because it will be
executed during reboot process.
TEST=Reboot chameleon board during updating process. Check it will wait
until the update process done. Create a fake file and check timeout
Commit-Ready: Hsu Wei-Cheng <firstname.lastname@example.org>
Tested-by: Hsu Wei-Cheng <email@example.com>
Reviewed-by: Wai-Hong Tam <firstname.lastname@example.org>
3 files changed