summaryrefslogtreecommitdiffstats
path: root/roots.cpp
diff options
context:
space:
mode:
authorMohamad Ayyash <mkayyash@google.com>2015-07-02 02:47:06 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-07-02 02:47:06 +0200
commit501282a42dfbd9f4d33a1009daa387d1d0f0f368 (patch)
treedddca694a117bb07276073195683a6f4653f910a /roots.cpp
parentMerge "Add drm support to minui" into mnc-dev (diff)
parentam 0ddfa329: Allow mounting squashfs partitions (diff)
downloadandroid_bootable_recovery-501282a42dfbd9f4d33a1009daa387d1d0f0f368.tar
android_bootable_recovery-501282a42dfbd9f4d33a1009daa387d1d0f0f368.tar.gz
android_bootable_recovery-501282a42dfbd9f4d33a1009daa387d1d0f0f368.tar.bz2
android_bootable_recovery-501282a42dfbd9f4d33a1009daa387d1d0f0f368.tar.lz
android_bootable_recovery-501282a42dfbd9f4d33a1009daa387d1d0f0f368.tar.xz
android_bootable_recovery-501282a42dfbd9f4d33a1009daa387d1d0f0f368.tar.zst
android_bootable_recovery-501282a42dfbd9f4d33a1009daa387d1d0f0f368.zip
Diffstat (limited to 'roots.cpp')
-rw-r--r--roots.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/roots.cpp b/roots.cpp
index f863cb277..2bd457efe 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,
v->flags, v->fs_options);