Pass block_list param to mksquashfs

Needed to generate image.map and to optimize the OTA size

BUG: 22322817
Change-Id: I7802f4dbb9116a94ea99a00b68c3a7ff180ef08a
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
This commit is contained in:
Mohamad Ayyash 2016-06-13 09:46:58 -07:00
parent ddc0c5e0a0
commit c3484f7f64
1 changed files with 2 additions and 0 deletions

View File

@ -400,6 +400,8 @@ def BuildImage(in_dir, prop_dict, out_file, target_out=None):
build_command.extend(["-C", fs_config])
if "selinux_fc" in prop_dict:
build_command.extend(["-c", prop_dict["selinux_fc"]])
if "block_list" in prop_dict:
build_command.extend(["-B", prop_dict["block_list"]])
if "squashfs_compressor" in prop_dict:
build_command.extend(["-z", prop_dict["squashfs_compressor"]])
if "squashfs_compressor_opt" in prop_dict: