am 07a7590f: Merge "build_image.py: Make sparse squashfs images" into mnc-dev

* commit '07a7590f087e4ce7783e0907c9e5c84e18a6481e':
  build_image.py: Make sparse squashfs images
This commit is contained in:
Mohamad Ayyash 2015-06-24 23:42:30 +00:00 committed by Android Git Automerger
commit 99811e45d0
1 changed files with 1 additions and 0 deletions

View File

@ -293,6 +293,7 @@ def BuildImage(in_dir, prop_dict, out_file):
elif fs_type.startswith("squash"):
build_command = ["mksquashfsimage.sh"]
build_command.extend([in_dir, out_file])
build_command.extend(["-s"])
build_command.extend(["-m", prop_dict["mount_point"]])
if "selinux_fc" in prop_dict:
build_command.extend(["-c", prop_dict["selinux_fc"]])