diff options
author | Bowgo Tsai <bowgotsai@google.com> | 2020-02-10 21:42:07 +0800 |
---|---|---|
committer | Bowgo Tsai <bowgotsai@google.com> | 2020-02-10 21:51:34 +0800 |
commit | ab930d15a9588b2c9b2446ef856271751c11b3c6 (patch) | |
tree | 0bf540373ecbc387a3b2bb9b478215837782f136 | |
parent | 8258f9f834a1b42fe097567526456e12c8cc433e (diff) | |
download | gsid-ab930d15a9588b2c9b2446ef856271751c11b3c6.tar.gz |
Adding a constant for /metadata/gsi/dsu/avb/.
Adding a constant to preserve DSU AVB keys from the ramdisk to
/metadata/gsi/dsu/avb/. This can be used for DSU installation service
to see if any matching key is found in the ramdisk at image installation
time.
Bug: 146910547
Test: boot device, checks the avb keys are copied to /metadata/gsi/dsu/avb/.
Change-Id: Idc88436bd074a273a7e09e589e4fd64a0580ff7e
-rw-r--r-- | include/libgsi/libgsi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libgsi/libgsi.h b/include/libgsi/libgsi.h index 987797a..c824c57 100644 --- a/include/libgsi/libgsi.h +++ b/include/libgsi/libgsi.h @@ -31,6 +31,8 @@ static constexpr char kGsiLpNamesFile[] = DSU_METADATA_PREFIX "lp_names"; static constexpr char kDsuActiveFile[] = DSU_METADATA_PREFIX "active"; +static constexpr char kDsuAvbKeyDir[] = DSU_METADATA_PREFIX "avb/"; + static inline std::string DsuLpMetadataFile(const std::string& dsu_slot) { return DSU_METADATA_PREFIX + dsu_slot + "/lp_metadata"; } |