diff options
author | Mohamad Ayyash <mkayyash@google.com> | 2015-06-29 18:57:14 -0700 |
---|---|---|
committer | Simon Wilson <simonwilson@google.com> | 2015-07-01 10:13:16 -0700 |
commit | 0ddfa329acb1e6464fe5d66b58257013abf21116 (patch) | |
tree | 554f044f51db7947d46d3c0d1003e87888548b62 /roots.cpp | |
parent | c94fa0b01b43709531dfbcdb94abb2a1cc23be3d (diff) | |
download | bootable_recovery-0ddfa329acb1e6464fe5d66b58257013abf21116.zip bootable_recovery-0ddfa329acb1e6464fe5d66b58257013abf21116.tar.gz bootable_recovery-0ddfa329acb1e6464fe5d66b58257013abf21116.tar.bz2 |
Allow mounting squashfs partitions
Change-Id: Ic023eb7d8a11e2a65172a23ff39fa902ef566183
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Diffstat (limited to 'roots.cpp')
-rw-r--r-- | roots.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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, ""); |