summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-03-28 08:20:00 -0700
committerElliott Hughes <enh@google.com>2018-03-29 10:46:46 -0700
commit9b7cd9ad048671ee7b18146e366714e19e81c98f (patch)
tree6a559f74bb7d29158c04d512010c855293307641 /base/errors_unix.cpp
parent8dc3f941131332dd240b12fea422c06e0af51572 (diff)
Add "require partition-exists=" support.
The Pixel 2 system images release was a bit of a disaster because anyone using an old version of fastboot would blindly flash too few partitions, potentially bricking their device. This change lets us add a line to the android-info.txt file for a device with a new partition. Also error out sooner in such cases by checking the requirements immediately, rather than optimistically unpacking everything first. Switch Action over to C++ to fix memory issues. Bug: http://b/77158188 (partition checking) Bug: http://b/74444116 (error out sooner) Test: manual testing with a modified android-info.txt (cherry picked from commit 5620d224b605f7401b283fcbb456cca791762af3) Change-Id: Ib97af6f9392f7672430ff71228484e6ee7af6fbf
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions