forked from openkylin/platform_build
common.py: Add support for squashfs
Change-Id: Ia40f8c6307d0213d43207aee91c4c8a5b5ad6f1e Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
This commit is contained in:
parent
cade49ddee
commit
1b748051dd
|
@ -1115,9 +1115,14 @@ DataImage = blockimgdiff.DataImage
|
||||||
|
|
||||||
|
|
||||||
# map recovery.fstab's fs_types to mount/format "partition types"
|
# map recovery.fstab's fs_types to mount/format "partition types"
|
||||||
PARTITION_TYPES = { "yaffs2": "MTD", "mtd": "MTD",
|
PARTITION_TYPES = {
|
||||||
"ext4": "EMMC", "emmc": "EMMC",
|
"yaffs2": "MTD",
|
||||||
"f2fs": "EMMC" }
|
"mtd": "MTD",
|
||||||
|
"ext4": "EMMC",
|
||||||
|
"emmc": "EMMC",
|
||||||
|
"f2fs": "EMMC",
|
||||||
|
"squashfs": "EMMC"
|
||||||
|
}
|
||||||
|
|
||||||
def GetTypeAndDevice(mount_point, info):
|
def GetTypeAndDevice(mount_point, info):
|
||||||
fstab = info["fstab"]
|
fstab = info["fstab"]
|
||||||
|
|
Loading…
Reference in New Issue