commit | 5638a1a3272bbeb005f53bc69294ed7a5b3ff14c | [log] [tgz] |
---|---|---|
author | Sami Tolvanen <samitolvanen@google.com> | Fri Jan 02 13:30:50 2015 +0000 |
committer | Sami Tolvanen <samitolvanen@google.com> | Mon Jan 05 20:31:25 2015 +0000 |
tree | 291caecf11318fed2156aec3b5894fb8b7600ef7 | |
parent | fd4031a138cc15a7e43fc01c2b3e944b00a98812 [diff] |
Fix disable-verity when the underlying block device is RO If verity is enabled and the underlying block device is marked read-only, disable-verity fails. We cannot use the existing code for enable-verity to make the device writable as the device in /proc/mounts will be the verity device instead of the underlying device we want to change. This change makes the correct device writable when altering verity state. Change-Id: I423ee50fb34d78cff2fe843318b9081c03c5142d