diff options
author | Tao Bao <tbao@google.com> | 2017-07-14 02:04:12 +0200 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2017-07-14 02:04:12 +0200 |
commit | f7cc0e0cfb61f704b1a70c4c43fa0697bca2c04a (patch) | |
tree | 5cc47f00741220c606da8de89971a2f4533ecf8f /roots.cpp | |
parent | Merge "Fix the missing char when showing recovery logs." am: 8155a8ba74 am: c61bbe158e am: 762c42d6f6 (diff) | |
parent | Remove the obsolete reference to /file_contexts. (diff) | |
download | android_bootable_recovery-f7cc0e0cfb61f704b1a70c4c43fa0697bca2c04a.tar android_bootable_recovery-f7cc0e0cfb61f704b1a70c4c43fa0697bca2c04a.tar.gz android_bootable_recovery-f7cc0e0cfb61f704b1a70c4c43fa0697bca2c04a.tar.bz2 android_bootable_recovery-f7cc0e0cfb61f704b1a70c4c43fa0697bca2c04a.tar.lz android_bootable_recovery-f7cc0e0cfb61f704b1a70c4c43fa0697bca2c04a.tar.xz android_bootable_recovery-f7cc0e0cfb61f704b1a70c4c43fa0697bca2c04a.tar.zst android_bootable_recovery-f7cc0e0cfb61f704b1a70c4c43fa0697bca2c04a.zip |
Diffstat (limited to '')
-rw-r--r-- | roots.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -260,8 +260,6 @@ int format_volume(const char* volume, const char* directory) { if (result == 0 && directory != nullptr) { const char* e2fsdroid_argv[] = { "/sbin/e2fsdroid_static", "-e", - "-S", - "/file_contexts", "-f", directory, "-a", @@ -270,7 +268,7 @@ int format_volume(const char* volume, const char* directory) { nullptr }; result = exec_cmd(e2fsdroid_argv[0], const_cast<char**>(e2fsdroid_argv)); - } + } } else { /* Has to be f2fs because we checked earlier. */ if (v->key_loc != NULL && strcmp(v->key_loc, "footer") == 0 && length < 0) { LOG(ERROR) << "format_volume: crypt footer + negative length (" << length |