diff options
author | David Anderson <dvander@google.com> | 2018-10-25 12:01:17 -0700 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2018-10-25 12:31:49 -0700 |
commit | 0444a8cbd96c3dbb75399886b13ece5dc3d6ffa9 (patch) | |
tree | c565c3f55963492faf5b2f1bb11dda8927aa869e /init/action_parser.cpp | |
parent | 551efd11f7d31399a4a2c22cb19b2523be9c4d18 (diff) |
fastboot: Check that reboot to userspace succeeded.
After rebooting to userspace fastboot, the first command issued is
"update-super". If we wound up in the bootloader by accident (as
happened to a few users with a busted vbmeta_system), the resulting
error message will be very misleading ("update-super" will be an
unrecognized command).
Instead, this patch explicitly errors if we did not successfully boot
into fastbootd.
Bug: N/A
Test: fastboot flashall
Change-Id: I7d5bd64db540978bd0bae884f40ce8c3df48f856
Diffstat (limited to 'init/action_parser.cpp')
0 files changed, 0 insertions, 0 deletions