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

Change-Id: Ifd79436514aadddaa64e9a040847467ea6fb4c04
This commit is contained in:
Automerger Merge Worker
2020-02-13 16:30:59 +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"])