During early mount property area is not initialized, and as a result an
'eng' build will always incorrectly be detected as a 'secure' build by
early mount code path resulting into verity error and consequent boot
loop.
The change here makes sure the is_device_secure() check works with /
without properties based on the 'eng' build based build flag so the
early mount code works fine both ways.
Bug: 35791581
Bug: 27805372
Test: Boot sailfish-{eng,userdebug} builds successfully w/ early
mount enabled
Change-Id: Icd101ccad56b669f49b60bbb3005d5be9f53b02b
Signed-off-by: Sandeep Patil <sspatil@google.com>
|
||
|---|---|---|
| .. | ||
| include | ||
| .clang-format | ||
| Android.mk | ||
| fs_mgr.cpp | ||
| fs_mgr_avb.cpp | ||
| fs_mgr_avb_ops.cpp | ||
| fs_mgr_avb_ops.h | ||
| fs_mgr_boot_config.cpp | ||
| fs_mgr_dm_ioctl.cpp | ||
| fs_mgr_format.cpp | ||
| fs_mgr_fstab.cpp | ||
| fs_mgr_main.cpp | ||
| fs_mgr_priv.h | ||
| fs_mgr_priv_avb.h | ||
| fs_mgr_priv_boot_config.h | ||
| fs_mgr_priv_dm_ioctl.h | ||
| fs_mgr_priv_sha.h | ||
| fs_mgr_slotselect.cpp | ||
| fs_mgr_verity.cpp | ||