Merge "build_image: check value of "ext4_share_dup_blocks"" am: 9021d5c4b4 am: d6437ec539 am: 74f2a0ec45

Change-Id: I18aaea958e048d07fc9daf91ca721169243a8c88
This commit is contained in:
Automerger Merge Worker
2020-02-13 16:46:22 +00:00

View File

@@ -287,7 +287,7 @@ def BuildImageMkfs(in_dir, prop_dict, out_file, target_out, fs_config):
build_command.extend(["-U", prop_dict["uuid"]])
if "hash_seed" in prop_dict:
build_command.extend(["-S", prop_dict["hash_seed"]])
if "ext4_share_dup_blocks" in prop_dict:
if prop_dict.get("ext4_share_dup_blocks") == "true":
build_command.append("-c")
if (needs_projid):
build_command.extend(["--inode_size", "512"])