diff options
author | Doug Zongker <dougz@android.com> | 2010-09-21 17:22:14 -0700 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2010-09-21 17:22:14 -0700 |
commit | ad806982c12b64d8dff040f5c9a444d810d7694c (patch) | |
tree | 7b1459ea436cc31c1961a62a8de0a51e8f3282db | |
parent | c1a1aa1eb5f2a6b9e45304b76da01802b5520c18 (diff) | |
download | build-ad806982c12b64d8dff040f5c9a444d810d7694c.zip build-ad806982c12b64d8dff040f5c9a444d810d7694c.tar.gz build-ad806982c12b64d8dff040f5c9a444d810d7694c.tar.bz2 |
arg: system_size, not system_img
Change-Id: Iba5d10204c93159a4f12ea8e8d8687db5b9dd5ca
-rwxr-xr-x | tools/releasetools/img_from_target_files | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/releasetools/img_from_target_files b/tools/releasetools/img_from_target_files index 2a0e4cc..871e295 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"] |