From 0ddfa329acb1e6464fe5d66b58257013abf21116 Mon Sep 17 00:00:00 2001 From: Mohamad Ayyash Date: Mon, 29 Jun 2015 18:57:14 -0700 Subject: [PATCH] Allow mounting squashfs partitions Change-Id: Ic023eb7d8a11e2a65172a23ff39fa902ef566183 Signed-off-by: Mohamad Ayyash --- roots.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/roots.cpp b/roots.cpp index ee140160..bca4b57a 100644 --- a/roots.cpp +++ b/roots.cpp @@ -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, "");