commit | 6a4bfd2d52b8840a5d92d1214472e6351e1496ea | [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 | c887847dca4c2a44efea72d9deec03a5d443c65e [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