Report the progress of the update when sideloading.
update_engine_sideload now accepts a file descriptor number via a new
--status_fd flag. When applying the update, it will report back to
recovery via this file descriptor the progress of the update in the
format expected by recovery.
This patch also initializes the Subprocess singleton used during the
update.
Bug: 27178350
TEST=Executed update_engine_sideload from recovery and watched message updates.
(cherry picked from commit 40a017db5df92ab7f9c3dcd73cd736a645931c93)
Change-Id: Iee70cea7811aec634463c912f718583c53c2b58b
1 file changed