OSDN Git Service

Use fs_config files for mksquashfs
authorMohamad Ayyash <mkayyash@google.com>
Fri, 8 Apr 2016 05:10:51 +0000 (22:10 -0700)
committerMohamad Ayyash <mkayyash@google.com>
Fri, 8 Apr 2016 05:10:51 +0000 (22:10 -0700)
BUG: 27467028
Change-Id: I7648030ad4b31d70a5d439e9552fd2cbfe288b74
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
tools/releasetools/build_image.py

index f35369f..ce60667 100755 (executable)
@@ -396,6 +396,8 @@ def BuildImage(in_dir, prop_dict, out_file, target_out=None):
     build_command.extend(["-m", prop_dict["mount_point"]])
     if target_out:
       build_command.extend(["-d", target_out])
+    if fs_config:
+      build_command.extend(["-C", fs_config])
     if "selinux_fc" in prop_dict:
       build_command.extend(["-c", prop_dict["selinux_fc"]])
     if "squashfs_compressor" in prop_dict: