Fix mkyaffs2image call to add a '/' to the mount point
PATCH 1/1 Fix mkyaffs2image call to add a '/' to the mount point
From: Joshua Brindle <[email protected]>
selabel_lookup requires the mountpoint start with a '/' to match specifications in the file_context file. Change mkyaffs2image call to add a '/' to the mount point argument
Change-Id: I255b661822401f9253ef58a2a4bdada85fc96b23
--- tools/releasetools/build_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/releasetools/build_image.py +1 -1
@@ -56,7 +56,7 @@ def BuildImage(in_dir, prop_dict, out_file): build_command.append(out_file) if "selinux_fc" in prop_dict: build_command.append(prop_dict["selinux_fc"]) - build_command.append(prop_dict["mount_point"]) + build_command.append("/" . prop_dict["mount_point"]) print "Running: ", " ".join(build_command) p = subprocess.Popen(build_command);
Signature · 7 lines
1.7.9.5 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Ignore this patch please.
Quoted 16 lines · Joshua Brindle
From: Joshua Brindle<[email protected]>
selabel_lookuprequires the mountpoint start with a '/' to match specifications in thefile_contextfile. Change mkyaffs2image call to add a '/' to the mount point argumentChange-Id: I255b661822401f9253ef58a2a4bdada85fc96b23
Signed-off-by Joshua Brindle<[email protected]>--- tools/releasetools/build_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/releasetools/build_image.py +0
-0
tools/releasetools/build_image.py def BuildImage(in_dir, prop_dict, out_file): · line 62
Quoted 8 lines
tools/releasetools/build_image.py +1
-1@@ -56,7 +56,7 @@ def BuildImage(in_dir, prop_dict, out_file): build_command.append(out_file) if "selinux_fc" in prop_dict: build_command.append(prop_dict["selinux_fc"]) - build_command.append(prop_dict["mount_point"]) + build_command.append("/" . prop_dict["mount_point"]) print "Running: ", " ".join(build_command) p = subprocess.Popen(build_command);
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.