commit | 13449cd71464c3a644109c469a77bd7fd56c8af8 | [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 | 203af11d7f9c1a2f81800767a738ae7fc14208df | |
parent | 69159ba0b70178a24e6f592dfb9d903629c23a09 [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