commit | cddb68b5eafbeba696d5276bda1f1a9f70bbde42 | [log] [tgz] |
---|---|---|
author | Michael Runge <mrunge@google.com> | Wed Oct 29 12:42:15 2014 -0700 |
committer | The Android Automerger <android-build@google.com> | Wed Oct 29 13:29:40 2014 -0700 |
tree | bfcb5e87a8cb3e3cc0a860a38d664ce962021148 | |
parent | a6c142f2a579ea5e7cdfbc88e6a061c55029265a [diff] |
Use more aggressive sync writing to applypatch. We have seen cases where the boot partition is patched, but upon recovery the partition appears to be corrupted. Open up all patched files/partitions with O_SYNC, and do not ignore the errors from fsync/close operations. Bug: 18170529 Change-Id: I392ad0a321d937c4ad02eaeea9170be384a4744b