diff options
author | Bowgo Tsai <bowgotsai@google.com> | 2017-07-05 15:37:15 +0800 |
---|---|---|
committer | Bowgo Tsai <bowgotsai@google.com> | 2017-07-05 17:22:35 +0800 |
commit | d1fe3bdbd6bcdc7f268f045e6b3b77de4d837a21 (patch) | |
tree | 607de80e332f43d9b9d83688192c61cf03c940bb /libcutils/socket_local_server_unix.cpp | |
parent | 7dbf1a187e6d82eb1dc3d9b2da44e8e320d5c758 (diff) |
fs_mgr: allow no verity metadata when the device is unlocked.
To boot with generic system.img for project Treble, we should allow no verity
metadata when the device is unlocked. The previous fix checks system property
"ro.boot.flash.locked" but it's unavailable during first stage mount.
This CL checks "androidboot.verifiedbootstate" in kernel command line instead.
Bug: 63268209
Test: boot sailfish without metadata on /vendor
Change-Id: Ifd1dbeb2a2f09cd06903ecdd59bc94b3905a3fbd
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions