Allow to build the update.zip for emulator build.
img_from_target_files.py just skips the boot.img and recovery.img since there is no kernel or recovery.fstab for emulator. Bug: 15383279 Change-Id: I4035193e6ab933194ff1417dfae4eab963fe5301
This commit is contained in:
@@ -482,6 +482,8 @@ def CheckSize(data, target, info_dict):
|
||||
if target.endswith(".img"): target = target[:-4]
|
||||
mount_point = "/" + target
|
||||
|
||||
fs_type = None
|
||||
limit = None
|
||||
if info_dict["fstab"]:
|
||||
if mount_point == "/userdata": mount_point = "/data"
|
||||
p = info_dict["fstab"][mount_point]
|
||||
|
Reference in New Issue
Block a user