summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohamad Ayyash <mkayyash@google.com>2015-07-02 00:30:57 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-07-02 00:30:57 +0000
commitb4b41daa2ddbe8849dacdeeafd240e2a265cb594 (patch)
tree3816a68ab297111624f65bb9b53cc722d696fc65
parent599fc2c0edbeb2ce8f38905fd770dbd7f43e647c (diff)
parent0ddfa329acb1e6464fe5d66b58257013abf21116 (diff)
downloadbootable_recovery-b4b41daa2ddbe8849dacdeeafd240e2a265cb594.zip
bootable_recovery-b4b41daa2ddbe8849dacdeeafd240e2a265cb594.tar.gz
bootable_recovery-b4b41daa2ddbe8849dacdeeafd240e2a265cb594.tar.bz2
am 0ddfa329: Allow mounting squashfs partitions
* commit '0ddfa329acb1e6464fe5d66b58257013abf21116': Allow mounting squashfs partitions
-rw-r--r--roots.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/roots.cpp b/roots.cpp
index f863cb2..2bd457e 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);