Merge "Make it easier to disable EROFS compression."

This commit is contained in:
David Anderson
2022-06-28 18:28:01 +00:00
committed by Gerrit Code Review

View File

@@ -328,7 +328,7 @@ def BuildImageMkfs(in_dir, prop_dict, out_file, target_out, fs_config):
compressor = prop_dict["erofs_default_compressor"]
if "erofs_compressor" in prop_dict:
compressor = prop_dict["erofs_compressor"]
if compressor:
if compressor and compressor != "none":
build_command.extend(["-z", compressor])
compress_hints = None