summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbig biff <bigbiff@teamw.in>2019-05-15 01:04:55 +0200
committerGerrit Code Review <gerrit2@gerrit.omnirom.org>2019-05-15 01:04:55 +0200
commitc1ad6c193166f23878fdfc050aba9a9fa486a776 (patch)
tree02c393769bd6b815f637befed1a78ded9d5a1d92
parentMerge "Update help manual in orscmd" into android-9.0 (diff)
parentPass file_contexts path to e2fsdroid (diff)
downloadandroid_bootable_recovery-c1ad6c193166f23878fdfc050aba9a9fa486a776.tar
android_bootable_recovery-c1ad6c193166f23878fdfc050aba9a9fa486a776.tar.gz
android_bootable_recovery-c1ad6c193166f23878fdfc050aba9a9fa486a776.tar.bz2
android_bootable_recovery-c1ad6c193166f23878fdfc050aba9a9fa486a776.tar.lz
android_bootable_recovery-c1ad6c193166f23878fdfc050aba9a9fa486a776.tar.xz
android_bootable_recovery-c1ad6c193166f23878fdfc050aba9a9fa486a776.tar.zst
android_bootable_recovery-c1ad6c193166f23878fdfc050aba9a9fa486a776.zip
-rw-r--r--partition.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/partition.cpp b/partition.cpp
index edf344f5c..88c2cd3a5 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -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) {