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

Commit 46e0ea2c authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

Enable --readonly for system compression



This option is to reduce system partition size.

Bug: 171942852
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@google.com>
Change-Id: Idc849cfce33ac0badb2b9b7953bb821c46a24472
parent 3ff3f108
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -357,6 +357,7 @@ def BuildImageMkfs(in_dir, prop_dict, out_file, target_out, fs_config):
    if (needs_compress or prop_dict.get("system_fs_compress") == "true"):
      build_command.append("--compression")
    if (prop_dict.get("system_fs_compress") == "true"):
      build_command.append("--readonly")
      build_command.append("--sldc")
      if (prop_dict.get("system_f2fs_sldc_flags") == None):
        build_command.append(str(0))