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

Commit 0ddfa329 authored by Mohamad Ayyash's avatar Mohamad Ayyash Committed by Simon Wilson
Browse files

Allow mounting squashfs partitions



Change-Id: Ic023eb7d8a11e2a65172a23ff39fa902ef566183
Signed-off-by: default avatarMohamad Ayyash <mkayyash@google.com>
parent c94fa0b0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -111,6 +111,7 @@ int ensure_path_mounted(const char* path) {
        }
        return mtd_mount_partition(partition, v->mount_point, v->fs_type, 0);
    } else if (strcmp(v->fs_type, "ext4") == 0 ||
               strcmp(v->fs_type, "squashfs") == 0 ||
               strcmp(v->fs_type, "vfat") == 0) {
        result = mount(v->blk_device, v->mount_point, v->fs_type,
                       MS_NOATIME | MS_NODEV | MS_NODIRATIME, "");