summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2010-09-21 17:22:14 -0700
committerDoug Zongker <dougz@android.com>2010-09-21 17:22:14 -0700
commitad806982c12b64d8dff040f5c9a444d810d7694c (patch)
tree7b1459ea436cc31c1961a62a8de0a51e8f3282db
parentc1a1aa1eb5f2a6b9e45304b76da01802b5520c18 (diff)
downloadbuild-ad806982c12b64d8dff040f5c9a444d810d7694c.zip
build-ad806982c12b64d8dff040f5c9a444d810d7694c.tar.gz
build-ad806982c12b64d8dff040f5c9a444d810d7694c.tar.bz2
arg: system_size, not system_img
Change-Id: Iba5d10204c93159a4f12ea8e8d8687db5b9dd5ca
-rwxr-xr-xtools/releasetools/img_from_target_files2
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"]