commit | 78d5352289ad07487d7bac77341c5ba582b46072 | [log] [tgz] |
---|---|---|
author | Kelvin Zhang <zhangkelvin@google.com> | Thu Oct 12 10:16:44 2023 -0700 |
committer | Kelvin Zhang <zhangkelvin@google.com> | Fri Oct 13 15:46:28 2023 -0700 |
tree | 0c6c95df123e5c055b70ae527ae152990c3591b6 | |
parent | c519d1dde2967c337d256a3d29f1d60c4a57237f [diff] |
Make partition metadata write atomic We have seen multiple OTA failures with invalid geometry magic signature. Make partition metadata write atomic by writing to a tmpfile first and then do a rename. Test: th Bug: 303770065 Bug: 298149189 Change-Id: Id1d565de73439b95b665144c2f02fc97273d341c