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

Commit 2490dbc9 authored by Tao Bao's avatar Tao Bao Committed by Gerrit Code Review
Browse files

Merge "Allow mounting squashfs partitions"

parents b36d9c3f 522ea721
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line 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);
        return mtd_mount_partition(partition, v->mount_point, v->fs_type, 0);
    } else if (strcmp(v->fs_type, "ext4") == 0 ||
    } else if (strcmp(v->fs_type, "ext4") == 0 ||
               strcmp(v->fs_type, "squashfs") == 0 ||
               strcmp(v->fs_type, "vfat") == 0) {
               strcmp(v->fs_type, "vfat") == 0) {
        result = mount(v->blk_device, v->mount_point, v->fs_type,
        result = mount(v->blk_device, v->mount_point, v->fs_type,
                       v->flags, v->fs_options);
                       v->flags, v->fs_options);