commit | 3eeaf7d1e2e5fe7b90922b2fdad6bd2b30d58fdc | [log] [tgz] |
---|---|---|
author | Sen Jiang <senj@google.com> | Thu Oct 11 13:55:32 2018 -0700 |
committer | Sen Jiang <senj@google.com> | Fri Oct 12 14:23:00 2018 -0700 |
tree | b9c4279dd90e63c256834c63486ad5824865fb65 | |
parent | daeaa43ab6f20822078082244d3ebfce0aa09be5 [diff] |
Skip writing verity if already written. Computing FEC on device could take up to 3 minutes depending on partition size, we should skip it if it's already written. This is similar to how we skip postinstall for postponed OTA, but we don't require passing additional header here because we can verify the correctness of the verity data within update_engine itself. Bug: 28171891 Test: update_engine_unittests Change-Id: Ie9883e2260d95c05aec169dd1fde12beea0bdade