commit | ab4d44ce6f5cef5c5ffab670ebe2d3c09486dfcc | [log] [tgz] |
---|---|---|
author | Bowgo Tsai <bowgotsai@google.com> | Wed Jul 05 15:37:15 2017 +0800 |
committer | Bowgo Tsai <bowgotsai@google.com> | Wed Jul 05 17:22:35 2017 +0800 |
tree | 607de80e332f43d9b9d83688192c61cf03c940bb | |
parent | 1601f41060e61ddf8affc8bd3358c2b493a0c484 [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