commit | 5bf9ad0eedd42119a54da93500cd03705013b7a7 | [log] [tgz] |
---|---|---|
author | lishutong <lishutong@google.com> | Sat Jul 31 04:41:03 2021 +0000 |
committer | lishutong <lishutong@google.com> | Mon Aug 09 16:16:14 2021 +0000 |
tree | 4587cc39632fd0f8c96d4114e7b6e7dbfd8b5585 | |
parent | 091a8fb9558f6ba3f16a0925a7d9dc7a261f16ab [diff] |
Add support for non-A/B OTA package in OTA_analysis. The non-A/B OTA package has a very different file system compared with an OTA package. However, our OTA_analysis tool is based on the update_metadata.proto. What we do here is try to convert the non-A/B OTA package information, into a standard update_metadata.proto formated manifest. The format and how the conversion works can be found in this document: https://docs.google.com/document/d/e/2PACX-1vRwMRodq4TCvTPEmlU6KL9vPSeFmEJjVXzq4PHhrB8tGy6oHFDJGCk3bIDA5Uv-4UEP0stLarBlhl2c/pub In this CL, most of the information is successfully parsed, except installation ops like stash, free, bsdiff, imgdiff, move. (anything related to stash is not yet implemented) Test: test by selecting a non-A/B OTA package. Change-Id: I298f238395478422daece47cedbaa52a976d9f4c