Commit 5462f450 authored by Alex Deymo's avatar Alex Deymo
Browse files

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 40a017db)

Change-Id: Iee70cea7811aec634463c912f718583c53c2b58b
parent d1882948
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment