commit | 6202d98de6bdedd797b80865feaa0977ee28c4ad | [log] [tgz] |
---|---|---|
author | Sami Tolvanen <[email protected]> | Fri Jan 02 13:30:50 2015 +0000 |
committer | Sami Tolvanen <[email protected]> | Mon Jan 05 20:31:25 2015 +0000 |
tree | 291caecf11318fed2156aec3b5894fb8b7600ef7 | |
parent | ca25bc54682510ff3db074ca938f6f0d5340b710 [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