summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2019-04-22 11:55:11 +0200
committerdianlujitao <dianlujitao@lineageos.org>2019-04-22 11:55:13 +0200
commit19e8461ff77da36da5c182b655f57943cf4563cf (patch)
tree984d39fd68756b64cafd9a02b09ae3e2af6b478f
parentMerge "languages: encode for utf-8 in the appropriate places." into android-9.0 (diff)
downloadandroid_bootable_recovery-19e8461ff77da36da5c182b655f57943cf4563cf.tar
android_bootable_recovery-19e8461ff77da36da5c182b655f57943cf4563cf.tar.gz
android_bootable_recovery-19e8461ff77da36da5c182b655f57943cf4563cf.tar.bz2
android_bootable_recovery-19e8461ff77da36da5c182b655f57943cf4563cf.tar.lz
android_bootable_recovery-19e8461ff77da36da5c182b655f57943cf4563cf.tar.xz
android_bootable_recovery-19e8461ff77da36da5c182b655f57943cf4563cf.tar.zst
android_bootable_recovery-19e8461ff77da36da5c182b655f57943cf4563cf.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) {