From 1b748051dd160fbf16ea5875583c309f0790594d Mon Sep 17 00:00:00 2001 From: Mohamad Ayyash Date: Fri, 1 May 2015 15:39:36 -0700 Subject: [PATCH] common.py: Add support for squashfs Change-Id: Ia40f8c6307d0213d43207aee91c4c8a5b5ad6f1e Signed-off-by: Mohamad Ayyash --- tools/releasetools/common.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tools/releasetools/common.py b/tools/releasetools/common.py index a596c2616..3c1575b5b 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"]