diff options
author | Jerry Zhang | 2018-07-03 18:03:28 -0500 |
---|---|---|
committer | Hridya Valsaraju | 2018-07-24 23:42:23 -0500 |
commit | 5de2be5cd597bc6536f972aa85153f21f2512095 (patch) | |
tree | 2d0924363f65816f7b1b36c1d50585db649e5ea0 /init | |
parent | 1c92fa44800c9d2efd3f2b8f18a3af7e131371be (diff) | |
download | platform-system-core-5de2be5cd597bc6536f972aa85153f21f2512095.tar.gz platform-system-core-5de2be5cd597bc6536f972aa85153f21f2512095.tar.xz platform-system-core-5de2be5cd597bc6536f972aa85153f21f2512095.zip |
Move recovery to /system/bin
Executables should be in /system/bin
rather than sbin. Change lookup paths
in a few places to reflect this.
Test: recovery is in system/bin
Bug: 78793464
Change-Id: Ibcdff7abf1f21e2566e02cad8bdb3c26ee500534
Diffstat (limited to 'init')
-rw-r--r-- | init/first_stage_mount.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/first_stage_mount.cpp b/init/first_stage_mount.cpp index 8ded87373..43075b268 100644 --- a/init/first_stage_mount.cpp +++ b/init/first_stage_mount.cpp | |||
@@ -116,7 +116,7 @@ static inline bool IsDtVbmetaCompatible() { | |||
116 | } | 116 | } |
117 | 117 | ||
118 | static bool inline IsRecoveryMode() { | 118 | static bool inline IsRecoveryMode() { |
119 | return access("/sbin/recovery", F_OK) == 0; | 119 | return access("/system/bin/recovery", F_OK) == 0; |
120 | } | 120 | } |
121 | 121 | ||
122 | static inline bool IsDmLinearEnabled() { | 122 | static inline bool IsDmLinearEnabled() { |