am ad806982: arg: system_size, not system_img

Merge commit 'ad806982c12b64d8dff040f5c9a444d810d7694c' into gingerbread-plus-aosp

* commit 'ad806982c12b64d8dff040f5c9a444d810d7694c':
  arg: system_size, not system_img
This commit is contained in:
Doug Zongker 2010-09-21 17:25:59 -07:00 committed by Android Git Automerger
commit e1daf61d43
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"]