fs_mgr: Skip bootloader status check during remounts
Some bootloaders don't even set verifiedbootstate. Change-Id: Ic1fd834344db3277939e8b89baeeb8fd239067a7
This commit is contained in:
parent
1ffcee96d7
commit
f28876552b
1 changed files with 2 additions and 0 deletions
|
|
@ -634,10 +634,12 @@ int main(int argc, char* argv[]) {
|
|||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
#if ALLOW_ADBD_DISABLE_VERITY == 0 // "user" build
|
||||
if (android::base::GetProperty("ro.boot.verifiedbootstate", "") != "orange") {
|
||||
LOG(ERROR) << "Device must be bootloader unlocked";
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
#endif
|
||||
|
||||
// Start a threadpool to service waitForService() callbacks as
|
||||
// fs_mgr_overlayfs_* might call waitForService() to get the image service.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue