Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 982f4f78 authored by Brandon Bennett's avatar Brandon Bennett Committed by Steve Kondik
Browse files

Add ext2, ext3, and vfat to releasetools

Support some non-standard partition that may be found in recovery.fstab

Conflicts:
	tools/releasetools/common.py

Change-Id: I0026a1d3ae5d432db10150d1a15f7bc8e7a6054b
parent c7a9bac0
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1125,7 +1125,10 @@ 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" }
                    "f2fs": "EMMC",
                    "ext2": "EMMC",
                    "ext3": "EMMC",
                    "vfat": "EMMC" }

def GetTypeAndDevice(mount_point, info):
  fstab = info["fstab"]