Loading tools/releasetools/common.py +15 −12 Original line number Diff line number Diff line Loading @@ -390,7 +390,10 @@ def CheckSize(data, target, info_dict): if mount_point == "/userdata": mount_point = "/data" p = info_dict["fstab"][mount_point] fs_type = p.fs_type limit = info_dict.get(p.device + "_size", None) device = p.device if "/" in device: device = device[device.rfind("/")+1:] limit = info_dict.get(device + "_size", None) if not fs_type or not limit: return if fs_type == "yaffs2": Loading Loading
tools/releasetools/common.py +15 −12 Original line number Diff line number Diff line Loading @@ -390,7 +390,10 @@ def CheckSize(data, target, info_dict): if mount_point == "/userdata": mount_point = "/data" p = info_dict["fstab"][mount_point] fs_type = p.fs_type limit = info_dict.get(p.device + "_size", None) device = p.device if "/" in device: device = device[device.rfind("/")+1:] limit = info_dict.get(device + "_size", None) if not fs_type or not limit: return if fs_type == "yaffs2": Loading