Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3484f7f authored by Mohamad Ayyash's avatar Mohamad Ayyash
Browse files

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: default avatarMohamad Ayyash <mkayyash@google.com>
parent ddc0c5e0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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: