diff options
author | Bowgo Tsai <bowgotsai@google.com> | 2017-06-08 15:16:52 +0800 |
---|---|---|
committer | Bowgo Tsai <bowgotsai@google.com> | 2017-06-09 10:02:42 +0800 |
commit | c3eca505cd169cfd0d5bef7ad365bad84ff8227b (patch) | |
tree | 3be4ac6e85d6f45ae01e94437e184fbf70400934 /debuggerd/client/debuggerd_client_test.cpp | |
parent | 4db472b779c6e04007240669911ab4d113f30295 (diff) |
fs_mgr_verity: support updating actual block device path in verity table
The value of PRODUCT_{SYSTEM,VENDOR}_VERITY_PARTITION will be included
in the verity metadata of an image. For example:
PRODUCT_VENDOR_VERITY_PARTITION := /dev/block/platform/soc.0/f9824900.sdhci/by-name/vendor
This makes the image cannot be shared for devices with different by-name
prefix:
/dev/block/platform/soc.0/f9824900.sdhci/by-name/vendor
/dev/block/platform/soc.0/7824900.sdhci/by-name/vendor
This change supports using a generic PRODUCT_{SYSTEM,VENDOR}_VERITY_PARTITION to
build image and replace it with the actual path at run time:
PRODUCT_VENDOR_VERITY_PARTITION := /dev/block/bootdevice/by-name/vendor ==>
/dev/block/platform/soc.0/7824900.sdhci/by-name/vendor
Bug: 62171170
Test: Boot sailfish with PRODUCT_VENDOR_VERITY_PARTITION := /dev/block/bootdevice/by-name/vendor
Change-Id: I2789d2a025e80a628a1b4e7419818065c209fb7f
Diffstat (limited to 'debuggerd/client/debuggerd_client_test.cpp')
0 files changed, 0 insertions, 0 deletions