summaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2018-06-09 01:09:59 +0200
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-06-09 01:09:59 +0200
commitd8a411c90a2d31e6a5f80105a6095b45c2cc9152 (patch)
tree84de8c12121c2a8979b2bfdde2486a8f0ef9e316 /updater
parentMerge "updater: Remove the redundant check on line count." (diff)
parentMerge pi-dev-plus-aosp-without-vendor into stage-aosp-master (diff)
downloadandroid_bootable_recovery-d8a411c90a2d31e6a5f80105a6095b45c2cc9152.tar
android_bootable_recovery-d8a411c90a2d31e6a5f80105a6095b45c2cc9152.tar.gz
android_bootable_recovery-d8a411c90a2d31e6a5f80105a6095b45c2cc9152.tar.bz2
android_bootable_recovery-d8a411c90a2d31e6a5f80105a6095b45c2cc9152.tar.lz
android_bootable_recovery-d8a411c90a2d31e6a5f80105a6095b45c2cc9152.tar.xz
android_bootable_recovery-d8a411c90a2d31e6a5f80105a6095b45c2cc9152.tar.zst
android_bootable_recovery-d8a411c90a2d31e6a5f80105a6095b45c2cc9152.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 };