commit | c386890d0ea278962840bfecd23c0587bac7e5d6 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Tue Dec 01 17:46:46 2015 -0800 |
committer | Tao Bao <tbao@google.com> | Wed Dec 02 12:26:57 2015 -0800 |
tree | f431c74f457e2d0ca1333fa70a561dd8ad03b0e6 | |
parent | b98fa19703ed0c7608f926007b1df257127ea777 [diff] |
releasetools: Abort the update on apply_patch failures. We used to silently ignore the return value from apply_patch() even if it had failed. It gives us more trouble to investigate the failure when the affected file/partition gets touched in subsequent OTAs. This CL adds the checking of the return value and aborts the update accordingly. Bug: 25893277 Change-Id: Ie5e1c563576e503343e6a5b28ed4d7039f6f919c