From 648e40e8660135f37adad5981a48250476c2f3fd Mon Sep 17 00:00:00 2001 From: Mohamad Ayyash Date: Wed, 24 Jun 2015 10:44:29 -0700 Subject: [PATCH] build_image.py: Make sparse squashfs images Change-Id: Iea0399868a9406f9929d8176d61d5698a2043697 Signed-off-by: Mohamad Ayyash --- tools/releasetools/build_image.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/releasetools/build_image.py b/tools/releasetools/build_image.py index 828d71c94..a45f50f29 100755 --- a/tools/releasetools/build_image.py +++ b/tools/releasetools/build_image.py @@ -255,6 +255,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 fc_config is not None: build_command.extend(["-c", fc_config])