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

Commit 2cd51cc7 authored by Mohamad Ayyash's avatar Mohamad Ayyash
Browse files

build_image.py: Make sparse squashfs images



Change-Id: Iea0399868a9406f9929d8176d61d5698a2043697
Signed-off-by: default avatarMohamad Ayyash <mkayyash@google.com>
parent 0a3b080a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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"]])