summaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2018-06-08 20:06:44 +0200
committerXin Li <delphij@google.com>2018-06-08 20:06:44 +0200
commitb5c2c714f08650c6837733b3193bb47f18b35b3b (patch)
tree8224a5d489c8dc889e4e648cacbac206d6933790 /updater
parentMerge "updater_sample: update README.md" (diff)
parentMerge "updater_sample: update README.md" am: 1cb7222784 (diff)
downloadandroid_bootable_recovery-b5c2c714f08650c6837733b3193bb47f18b35b3b.tar
android_bootable_recovery-b5c2c714f08650c6837733b3193bb47f18b35b3b.tar.gz
android_bootable_recovery-b5c2c714f08650c6837733b3193bb47f18b35b3b.tar.bz2
android_bootable_recovery-b5c2c714f08650c6837733b3193bb47f18b35b3b.tar.lz
android_bootable_recovery-b5c2c714f08650c6837733b3193bb47f18b35b3b.tar.xz
android_bootable_recovery-b5c2c714f08650c6837733b3193bb47f18b35b3b.tar.zst
android_bootable_recovery-b5c2c714f08650c6837733b3193bb47f18b35b3b.zip
Diffstat (limited to 'updater')
-rw-r--r--updater/install.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/updater/install.cpp b/updater/install.cpp
index bd22467ab..dfd2dc3ae 100644
--- a/updater/install.cpp
+++ b/updater/install.cpp
@@ -544,12 +544,10 @@ Value* FormatFn(const char* name, State* state, const std::vector<std::unique_pt
const char* f2fs_argv[] = { "mkfs.f2fs",
"-d1",
"-f",
- "-O",
- "encrypt",
- "-O",
- "quota",
- "-w",
- "512",
+ "-O", "encrypt",
+ "-O", "quota",
+ "-O", "verity",
+ "-w", "512",
location.c_str(),
(size < 512) ? nullptr : num_sectors.c_str(),
nullptr };