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

Change-Id: I78ff993bb594ccc1ba10d7a2f9db34c8ace45285
Commit-Ready: Hsu Wei-Cheng <>
Tested-by: Hsu Wei-Cheng <>
Reviewed-by: Wai-Hong Tam <>
3 files changed