build_image: Set file system labels on disk images
When building images set the mount point (data,cache,system) as the filesystem label on the generated image. This is required for the Android Emulator. IMPORTANT: This depends on the following patch to system/extras/: https://android-review.googlesource.com/#/c/120047/ which has already been submitted to AOSP and merged into the internal tree. Change-Id: Iaeb45462570c26d37980f1cc5d8a1b929e476c89 Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
This commit is contained in:
committed by
David 'Digit' Turner
parent
ae90c07c97
commit
8ed01f3816
@@ -246,6 +246,7 @@ def BuildImage(in_dir, prop_dict, out_file,
|
||||
build_command.extend(["-C", fs_config])
|
||||
if block_list is not None:
|
||||
build_command.extend(["-B", block_list])
|
||||
build_command.extend(["-L", prop_dict["mount_point"]])
|
||||
if fc_config is not None:
|
||||
build_command.append(fc_config)
|
||||
elif "selinux_fc" in prop_dict:
|
||||
|
Reference in New Issue
Block a user