diff options
author | Mohamad Ayyash <mkayyash@google.com> | 2015-06-24 10:44:29 -0700 |
---|---|---|
committer | Simon Wilson <simonwilson@google.com> | 2015-06-24 10:54:16 -0700 |
commit | 648e40e8660135f37adad5981a48250476c2f3fd (patch) | |
tree | 361cdde2d679f4d71611c240bc8c642452184c63 /tools | |
parent | f86e7eeabc9721034d2c4af3b2827d93c2d23f6b (diff) | |
download | build-648e40e8660135f37adad5981a48250476c2f3fd.zip build-648e40e8660135f37adad5981a48250476c2f3fd.tar.gz build-648e40e8660135f37adad5981a48250476c2f3fd.tar.bz2 |
build_image.py: Make sparse squashfs images
Change-Id: Iea0399868a9406f9929d8176d61d5698a2043697
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/releasetools/build_image.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/releasetools/build_image.py b/tools/releasetools/build_image.py index 828d71c..a45f50f 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]) |