summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/releasetools/common.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/releasetools/common.py b/tools/releasetools/common.py
index a596c26..3c1575b 100644
--- a/tools/releasetools/common.py
+++ b/tools/releasetools/common.py
@@ -1115,9 +1115,14 @@ DataImage = blockimgdiff.DataImage
# map recovery.fstab's fs_types to mount/format "partition types"
-PARTITION_TYPES = { "yaffs2": "MTD", "mtd": "MTD",
- "ext4": "EMMC", "emmc": "EMMC",
- "f2fs": "EMMC" }
+PARTITION_TYPES = {
+ "yaffs2": "MTD",
+ "mtd": "MTD",
+ "ext4": "EMMC",
+ "emmc": "EMMC",
+ "f2fs": "EMMC",
+ "squashfs": "EMMC"
+}
def GetTypeAndDevice(mount_point, info):
fstab = info["fstab"]