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 <email@example.com>
Tested-by: Amin Hassani <firstname.lastname@example.org>
Reviewed-by: David Haddock <email@example.com>
Reviewed-by: Mike Frysinger <firstname.lastname@example.org>
(cherry picked from commit 3e3f5d022658adfed300971592a345a2426f2f10)
Reviewed-by: Amin Hassani <email@example.com>
Commit-Queue: Amin Hassani <firstname.lastname@example.org>
1 file changed