am 648e40e8: build_image.py: Make sparse squashfs images

* commit '648e40e8660135f37adad5981a48250476c2f3fd':
  build_image.py: Make sparse squashfs images
This commit is contained in:
Mohamad Ayyash 2015-06-24 22:52:10 +00:00 committed by Android Git Automerger
commit 48cb24a655

View file

@ -268,6 +268,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"]])