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

Commit 16b08549 authored by David Brown's avatar David Brown Committed by Steve Kondik
Browse files

fs_mgr: wait for device-mapper control file

When setting up a verified mountpoint, wait for the /dev/device-mapper
control node to appear.

Change-Id: I50bb64213fe08ba7b552055045d35915903fb532
parent 17b11af1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -352,6 +352,7 @@ int fs_mgr_mount_all(struct fstab *fstab)

        if ((fstab->recs[i].fs_mgr_flags & MF_VERIFY) &&
            !device_is_debuggable()) {
            wait_for_file("/dev/device-mapper", WAIT_TIMEOUT);
            if (fs_mgr_setup_verity(&fstab->recs[i]) < 0) {
                ERROR("Could not set up verified partition, skipping!\n");
                continue;