diff options
author | Kelvin Zhang <zhangkelvin@google.com> | 2020-07-10 18:20:08 -0400 |
---|---|---|
committer | Kelvin Zhang <zhangkelvin@google.com> | 2020-07-16 23:47:32 +0000 |
commit | cc011d3b0ad7f359415a63399e94b62752572a28 (patch) | |
tree | 0433ff971484e563656239ab9eee789a7a976472 /scripts/update_payload/format_utils.py | |
parent | ef1f614b3567fef8a5503204edde3c3e293f7840 (diff) |
Cache OTA manifest in update_engine
When resuming download of an OTA package, update_engine needs to
redownload the manifest of OTA package, located at beginning of file.
However, the manifest blob can be as large as ~150K for some updates.
This CL caches manifest on disk, so that update engine no longer has to
redownload the manifest for every resume.
Test: Perform OTA, pause and resume, verify that update succeeds
Bug: 70736331
Change-Id: Iaf157ef57e68e4842d5867dea5467a3ab34f8286
Diffstat (limited to 'scripts/update_payload/format_utils.py')
0 files changed, 0 insertions, 0 deletions