commit | 32232724fbb21bba8aafa9e40036ace7f1c619db | [log] [tgz] |
---|---|---|
author | Bowgo Tsai <bowgotsai@google.com> | Wed Mar 01 18:24:46 2017 +0800 |
committer | Bowgo Tsai <bowgotsai@google.com> | Thu Mar 02 00:30:58 2017 +0800 |
tree | 80fbf46bbcc27a6125621570ac657020164b53c1 | |
parent | b6cb9b0457bf4101f8872d88935b5a7ee6d6ea4a [diff] |
init: skip early mount in recovery mode We don't need early mount in recovery mode for security considerations, e.g., users should explicitly select 'mount /system' from the recovery menu. This CL checks the existence of file "/sbin/recovery" and skip early mount when it is found. Bug: 35853576 Test: early mount /vendor without dm-verity on sailfish Test: early mount not happen in recovery mode on sailfish Change-Id: I69cc96f6fd0de6ce493082921738a958dd571115