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

Commit 80825461 authored by Jaegeuk Kim's avatar Jaegeuk Kim Committed by Automerger Merge Worker
Browse files

Enable --readonly for system compression am: 028f6719

Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/14736817

Change-Id: Ib1d32e3d7fc5c44a6a0d13b516cbcc11a4fe7615
parents 06679908 028f6719
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))