Make it easier to disable EROFS compression.

Currently the only way to do this is to enable deduplication.

Bug: N/A
Test: BOARD_EROFS_COMPRESSOR := none
Change-Id: I7f8b99fbcefe7bbc15dfab7062b321aa3e2cf1ca
This commit is contained in:
David Anderson
2022-06-27 23:18:46 +00:00
parent 836d78413a
commit f3c81d7e10

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