diff options
| author | Bowgo Tsai <bowgotsai@google.com> | 2017-03-01 18:24:46 +0800 |
|---|---|---|
| committer | Bowgo Tsai <bowgotsai@google.com> | 2017-03-02 00:30:58 +0800 |
| commit | 6a4bfd2d52b8840a5d92d1214472e6351e1496ea (patch) | |
| tree | 80fbf46bbcc27a6125621570ac657020164b53c1 /libutils/Unicode.cpp | |
| 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
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions
