diff options
author | Tao Bao <tbao@google.com> | 2017-07-23 06:03:34 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-07-23 06:03:34 +0200 |
commit | 248b4f9dcae3a8247c9075682b5b3f7fd882ee3e (patch) | |
tree | b9907f0ee5b70b2c614a508b3c16297084b71d54 /roots.cpp | |
parent | Merge "Avoid crashing recovery with unwritable /cache." (diff) | |
parent | Merge "Remove the obsolete reference to /file_contexts." (diff) | |
download | android_bootable_recovery-248b4f9dcae3a8247c9075682b5b3f7fd882ee3e.tar android_bootable_recovery-248b4f9dcae3a8247c9075682b5b3f7fd882ee3e.tar.gz android_bootable_recovery-248b4f9dcae3a8247c9075682b5b3f7fd882ee3e.tar.bz2 android_bootable_recovery-248b4f9dcae3a8247c9075682b5b3f7fd882ee3e.tar.lz android_bootable_recovery-248b4f9dcae3a8247c9075682b5b3f7fd882ee3e.tar.xz android_bootable_recovery-248b4f9dcae3a8247c9075682b5b3f7fd882ee3e.tar.zst android_bootable_recovery-248b4f9dcae3a8247c9075682b5b3f7fd882ee3e.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 |