Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4237064f authored by David Anderson's avatar David Anderson Committed by Automerger Merge Worker
Browse files

Merge "Fix for Cannot load etc/recovery.fstab when doing OTA upgrade" am:...

Merge "Fix for Cannot load etc/recovery.fstab when doing OTA upgrade" am: f4753d1c am: f1762460 am: 6d867d53 am: c76533b6 am: aad50f65

Original change: https://android-review.googlesource.com/c/platform/system/core/+/2153356



Change-Id: I1ca409b3da96c817236a4671e073603142cdc1b7
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 88ae5cbb aad50f65
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -804,7 +804,7 @@ bool ReadDefaultFstab(Fstab* fstab) {

    std::string default_fstab_path;
    // Use different fstab paths for normal boot and recovery boot, respectively
    if (access("/system/bin/recovery", F_OK) == 0) {
    if ((access("/sbin/recovery", F_OK) == 0) || (access("/system/bin/recovery", F_OK) == 0)) {
        default_fstab_path = "/etc/recovery.fstab";
    } else {  // normal boot
        default_fstab_path = GetFstabPath();