Generate verity config.
A new minor version 6 kVerityMinorPayloadVersion is added, client having a minor version >= 6 means it support writing verity hash tree and fec given verity config from payload. When generating payload in Android, if the source minor version is >= 6, then we try to find the AVB footer for each partition image and parse the AVB hashtree descriptor, if found then write verity config to the payload, the verification of verity config will be added in a follow up CL. AVB is an Android specific format, so we will skip this for Chrome OS for now, if later we decided to enable verity feature in Chrome OS, we can implement the parsing logic for Chrome OS verity metadata format in payload_generation_config_chromeos.cc Bug: 28171891 Test: brillo_update_payload verify Change-Id: Ic319ea05e9f0095e3a4721df79a6ab516fa8a915
Loading
Please sign in to comment