Skip to content

Commit

Permalink
Merge "Pass file_contexts path to e2fsdroid" into android-9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbiff authored and Gerrit Code Review committed May 14, 2019
2 parents f816672 + 19e8461 commit c1ad6c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion partition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2081,7 +2081,7 @@ bool TWPartition::Wipe_EXTFS(string File_System) {

if (TWFunc::Path_Exists("/sbin/e2fsdroid")) {
// Execute e2fsdroid to initialize selinux context
Command = "e2fsdroid -e -a " + Mount_Point + " " + Actual_Block_Device;
Command = "e2fsdroid -e -S /file_contexts -a " + Mount_Point + " " + Actual_Block_Device;
LOGINFO("e2fsdroid command: %s\n", Command.c_str());
ret = TWFunc::Exec_Cmd(Command);
if (ret) {
Expand Down

0 comments on commit c1ad6c1

Please sign in to comment.