summaryrefslogtreecommitdiffstats
path: root/updater
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 /updater
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 'updater')
-rw-r--r--updater/install.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/updater/install.cpp b/updater/install.cpp
index deb7a2b02..ccde409df 100644
--- a/updater/install.cpp
+++ b/updater/install.cpp
@@ -484,11 +484,7 @@ Value* FormatFn(const char* name, State* state, const std::vector<std::unique_pt
const char* f2fs_path = "/sbin/mkfs.f2fs";
const char* f2fs_argv[] = { "mkfs.f2fs",
- "-d1",
- "-f",
- "-O", "encrypt",
- "-O", "quota",
- "-O", "verity",
+ "-g", "android",
"-w", "512",
location.c_str(),
(size < 512) ? nullptr : num_sectors.c_str(),