summaryrefslogtreecommitdiffstats
path: root/updater/install.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-07-12 01:45:04 +0200
committerTao Bao <tbao@google.com>2017-07-23 01:16:21 +0200
commit338be53ed30fc79a34b7e6c80dde7b3cde0d9f84 (patch)
tree553bd11eeebf1cbe4d25f6b541a75bbc6db2bea7 /updater/install.cpp
parentMerge "Avoid crashing recovery with unwritable /cache." (diff)
downloadandroid_bootable_recovery-338be53ed30fc79a34b7e6c80dde7b3cde0d9f84.tar
android_bootable_recovery-338be53ed30fc79a34b7e6c80dde7b3cde0d9f84.tar.gz
android_bootable_recovery-338be53ed30fc79a34b7e6c80dde7b3cde0d9f84.tar.bz2
android_bootable_recovery-338be53ed30fc79a34b7e6c80dde7b3cde0d9f84.tar.lz
android_bootable_recovery-338be53ed30fc79a34b7e6c80dde7b3cde0d9f84.tar.xz
android_bootable_recovery-338be53ed30fc79a34b7e6c80dde7b3cde0d9f84.tar.zst
android_bootable_recovery-338be53ed30fc79a34b7e6c80dde7b3cde0d9f84.zip
Diffstat (limited to 'updater/install.cpp')
-rw-r--r--updater/install.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/updater/install.cpp b/updater/install.cpp
index c9a3a0799..bfe91e7f9 100644
--- a/updater/install.cpp
+++ b/updater/install.cpp
@@ -322,8 +322,7 @@ Value* FormatFn(const char* name, State* state, const std::vector<std::unique_pt
return StringValue(location);
}
- const char* e2fsdroid_argv[] = { "/sbin/e2fsdroid_static", "-e", "-S",
- "/file_contexts", "-a", mount_point.c_str(),
+ const char* e2fsdroid_argv[] = { "/sbin/e2fsdroid_static", "-e", "-a", mount_point.c_str(),
location.c_str(), nullptr };
status = exec_cmd(e2fsdroid_argv[0], const_cast<char**>(e2fsdroid_argv));
if (status != 0) {