Merge "fastboot: Check that reboot to userspace succeeded."
This commit is contained in:
commit
dd85c74655
1 changed files with 3 additions and 0 deletions
|
|
@ -1312,6 +1312,9 @@ void FlashAllTool::UpdateSuperPartition() {
|
|||
if (!is_userspace_fastboot()) {
|
||||
reboot_to_userspace_fastboot();
|
||||
}
|
||||
if (!is_userspace_fastboot()) {
|
||||
die("Failed to boot into userspace; one or more components might be unbootable.");
|
||||
}
|
||||
fb->Download("super", fd, get_file_size(fd));
|
||||
|
||||
std::string command = "update-super:super";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue