Merge \"Pass block_list param to mksquashfs\" into nyc-dev
am: 3bddf74752
Change-Id: I713c6a60d10ef1e85475e462bb34c89751f74e7d
diff --git a/tools/releasetools/build_image.py b/tools/releasetools/build_image.py
index b622376..bd5abe1 100755
--- a/tools/releasetools/build_image.py
+++ b/tools/releasetools/build_image.py
@@ -400,6 +400,8 @@
build_command.extend(["-C", fs_config])
if "selinux_fc" in prop_dict:
build_command.extend(["-c", prop_dict["selinux_fc"]])
+ if "block_list" in prop_dict:
+ build_command.extend(["-B", prop_dict["block_list"]])
if "squashfs_compressor" in prop_dict:
build_command.extend(["-z", prop_dict["squashfs_compressor"]])
if "squashfs_compressor_opt" in prop_dict: