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

Commit eafc1c3d authored by Mark Salyzyn's avatar Mark Salyzyn
Browse files

init: First Stage Mount observe nofail mount flag

MountPartitions should respect nofail.  The nofail flag makes the
partition optional.

Test: manual (future code using feature), and smoke test
Bug: 109821005
Bug: 78914864
Change-Id: I715a66ef1abbe223b0cefe5bd2758f63352b1afc
parent c47c508d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -375,7 +375,7 @@ bool FirstStageMount::MountPartitions() {
    }

    for (auto fstab_rec : mount_fstab_recs_) {
        if (!MountPartition(fstab_rec)) {
        if (!MountPartition(fstab_rec) && !fs_mgr_is_nofail(fstab_rec)) {
            return false;
        }
    }