stateful_update: Increase the timeout stateful update timeout
Daisy-stake devices are failing because it takes more than two minutes to unzip
the update.tgz and write it to the stateful (It takes 2m51 on a DUT with the
payload in /tmp). Increase this timeout so we don't hit this problem again if
the size of the stateful update grows or the disk is slow.
Also added check for the exit code of the call that does the actual work so we
know if it fails for any other reason.
TEST=deployed to a DUT and stateful_update passed successfully.
Commit-Ready: Amin Hassani <firstname.lastname@example.org>
Tested-by: Amin Hassani <email@example.com>
Reviewed-by: David Haddock <firstname.lastname@example.org>
Reviewed-by: Mike Frysinger <email@example.com>
(cherry picked from commit 3e3f5d022658adfed300971592a345a2426f2f10)
Reviewed-by: Amin Hassani <firstname.lastname@example.org>
Commit-Queue: Amin Hassani <email@example.com>
1 file changed