build_image.py: Make sparse squashfs images
Change-Id: Iea0399868a9406f9929d8176d61d5698a2043697 Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
This commit is contained in:
parent
f86e7eeabc
commit
648e40e866
1 changed files with 1 additions and 0 deletions
|
@ -255,6 +255,7 @@ def BuildImage(in_dir, prop_dict, out_file,
|
||||||
elif fs_type.startswith("squash"):
|
elif fs_type.startswith("squash"):
|
||||||
build_command = ["mksquashfsimage.sh"]
|
build_command = ["mksquashfsimage.sh"]
|
||||||
build_command.extend([in_dir, out_file])
|
build_command.extend([in_dir, out_file])
|
||||||
|
build_command.extend(["-s"])
|
||||||
build_command.extend(["-m", prop_dict["mount_point"]])
|
build_command.extend(["-m", prop_dict["mount_point"]])
|
||||||
if fc_config is not None:
|
if fc_config is not None:
|
||||||
build_command.extend(["-c", fc_config])
|
build_command.extend(["-c", fc_config])
|
||||||
|
|
Loading…
Reference in a new issue