summaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2018-08-07 01:50:00 +0200
committerXin Li <delphij@google.com>2018-08-07 01:50:00 +0200
commit8ab68527b8b496f557745ba1fc282f836c09b0b3 (patch)
tree1400bb11b184445ea709448e611db9ea5ca5ae1e /updater
parentMerge "Add an updater function to compute hash tree" (diff)
parentMerge "Add an updater function to compute hash tree" (diff)
downloadandroid_bootable_recovery-8ab68527b8b496f557745ba1fc282f836c09b0b3.tar
android_bootable_recovery-8ab68527b8b496f557745ba1fc282f836c09b0b3.tar.gz
android_bootable_recovery-8ab68527b8b496f557745ba1fc282f836c09b0b3.tar.bz2
android_bootable_recovery-8ab68527b8b496f557745ba1fc282f836c09b0b3.tar.lz
android_bootable_recovery-8ab68527b8b496f557745ba1fc282f836c09b0b3.tar.xz
android_bootable_recovery-8ab68527b8b496f557745ba1fc282f836c09b0b3.tar.zst
android_bootable_recovery-8ab68527b8b496f557745ba1fc282f836c09b0b3.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 088d24b31..f9333459b 100644
--- a/updater/install.cpp
+++ b/updater/install.cpp
@@ -497,12 +497,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 };