summaryrefslogtreecommitdiffstats
path: root/updater/install.cpp
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@google.com>2018-04-06 07:42:13 +0200
committerJaegeuk Kim <jaegeuk@google.com>2018-04-06 19:17:47 +0200
commit2e5dc84d51728644436dfbbacbed054f10e923f5 (patch)
tree157d0dfef3243308a5b0c609cc638683194460e5 /updater/install.cpp
parentinstall: mkfs.f2fs: specify sector size for target image size (diff)
downloadandroid_bootable_recovery-2e5dc84d51728644436dfbbacbed054f10e923f5.tar
android_bootable_recovery-2e5dc84d51728644436dfbbacbed054f10e923f5.tar.gz
android_bootable_recovery-2e5dc84d51728644436dfbbacbed054f10e923f5.tar.bz2
android_bootable_recovery-2e5dc84d51728644436dfbbacbed054f10e923f5.tar.lz
android_bootable_recovery-2e5dc84d51728644436dfbbacbed054f10e923f5.tar.xz
android_bootable_recovery-2e5dc84d51728644436dfbbacbed054f10e923f5.tar.zst
android_bootable_recovery-2e5dc84d51728644436dfbbacbed054f10e923f5.zip
Diffstat (limited to '')
-rw-r--r--updater/install.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/updater/install.cpp b/updater/install.cpp
index 6732ab897..9be7645f3 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 };