Loading fs_mgr/fs_mgr_fstab.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -811,7 +811,7 @@ struct fstab *fs_mgr_read_fstab_default() std::string default_fstab; // Use different fstab paths for normal boot and recovery boot, respectively if (access("/sbin/recovery", F_OK) == 0) { if (access("/system/bin/recovery", F_OK) == 0) { default_fstab = "/etc/recovery.fstab"; } else { // normal boot default_fstab = get_fstab_path(); Loading init/first_stage_mount.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -116,7 +116,7 @@ static inline bool IsDtVbmetaCompatible() { } static bool inline IsRecoveryMode() { return access("/sbin/recovery", F_OK) == 0; return access("/system/bin/recovery", F_OK) == 0; } static inline bool IsDmLinearEnabled() { Loading Loading
fs_mgr/fs_mgr_fstab.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -811,7 +811,7 @@ struct fstab *fs_mgr_read_fstab_default() std::string default_fstab; // Use different fstab paths for normal boot and recovery boot, respectively if (access("/sbin/recovery", F_OK) == 0) { if (access("/system/bin/recovery", F_OK) == 0) { default_fstab = "/etc/recovery.fstab"; } else { // normal boot default_fstab = get_fstab_path(); Loading
init/first_stage_mount.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -116,7 +116,7 @@ static inline bool IsDtVbmetaCompatible() { } static bool inline IsRecoveryMode() { return access("/sbin/recovery", F_OK) == 0; return access("/system/bin/recovery", F_OK) == 0; } static inline bool IsDmLinearEnabled() { Loading