arg: system_size, not system_img

Change-Id: Iba5d10204c93159a4f12ea8e8d8687db5b9dd5ca
This commit is contained in:
Doug Zongker 2010-09-21 17:22:14 -07:00
parent c1a1aa1eb5
commit ad806982c1
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ def AddSystem(output_zip):
build_command = ["mkuserimg.sh",
os.path.join(OPTIONS.input_tmp, "system"), img.name,
OPTIONS.info_dict["fstab"]["/system"].fs_type, "system"]
if "system_img" in OPTIONS.info_dict:
if "system_size" in OPTIONS.info_dict:
build_command.append(str(OPTIONS.info_dict["system_size"]))
else:
build_command = ["mkyaffs2image", "-f"]