summaryrefslogtreecommitdiffstats
path: root/roots.cpp
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@google.com>2018-11-21 20:12:54 +0100
committerJaegeuk Kim <jaegeuk@google.com>2018-11-21 21:53:09 +0100
commit91e631d4ddb692ecaea463e164006825510d48fb (patch)
tree178460a80668215080469d904be23e5c42352220 /roots.cpp
parentuncrypt: write permission for f2fs_pin_file (diff)
downloadandroid_bootable_recovery-91e631d4ddb692ecaea463e164006825510d48fb.tar
android_bootable_recovery-91e631d4ddb692ecaea463e164006825510d48fb.tar.gz
android_bootable_recovery-91e631d4ddb692ecaea463e164006825510d48fb.tar.bz2
android_bootable_recovery-91e631d4ddb692ecaea463e164006825510d48fb.tar.lz
android_bootable_recovery-91e631d4ddb692ecaea463e164006825510d48fb.tar.xz
android_bootable_recovery-91e631d4ddb692ecaea463e164006825510d48fb.tar.zst
android_bootable_recovery-91e631d4ddb692ecaea463e164006825510d48fb.zip
Diffstat (limited to 'roots.cpp')
-rw-r--r--roots.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/roots.cpp b/roots.cpp
index dc347848a..4fcd6feb9 100644
--- a/roots.cpp
+++ b/roots.cpp
@@ -344,12 +344,7 @@ int format_volume(const char* volume, const char* directory) {
// clang-format off
std::vector<std::string> make_f2fs_cmd = {
cmd,
- "-d1",
- "-f",
- "-O", "encrypt",
- "-O", "quota",
- "-O", "verity",
- "-w", std::to_string(kSectorSize),
+ "-g", "android",
v->blk_device,
};
// clang-format on