From ad806982c12b64d8dff040f5c9a444d810d7694c Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Tue, 21 Sep 2010 17:22:14 -0700 Subject: [PATCH] arg: system_size, not system_img Change-Id: Iba5d10204c93159a4f12ea8e8d8687db5b9dd5ca --- tools/releasetools/img_from_target_files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/releasetools/img_from_target_files b/tools/releasetools/img_from_target_files index 2a0e4cc8cd..871e295612 100755 --- a/tools/releasetools/img_from_target_files +++ b/tools/releasetools/img_from_target_files @@ -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"]