forked from openkylin/platform_build
arg: system_size, not system_img
Change-Id: Iba5d10204c93159a4f12ea8e8d8687db5b9dd5ca
This commit is contained in:
parent
c1a1aa1eb5
commit
ad806982c1
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue