summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-04-05 08:48:17 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-04-05 08:48:17 +0200
commitea8a6a9af29a5c98103b493c84d367efecca0039 (patch)
tree01a6dd47808a421a258736cdf2c9efbc008c289b
parentMerge "mkfs.f2fs: specify sector size for target image size" (diff)
parentinstall: mkfs.f2fs: specify sector size for target image size (diff)
downloadandroid_bootable_recovery-ea8a6a9af29a5c98103b493c84d367efecca0039.tar
android_bootable_recovery-ea8a6a9af29a5c98103b493c84d367efecca0039.tar.gz
android_bootable_recovery-ea8a6a9af29a5c98103b493c84d367efecca0039.tar.bz2
android_bootable_recovery-ea8a6a9af29a5c98103b493c84d367efecca0039.tar.lz
android_bootable_recovery-ea8a6a9af29a5c98103b493c84d367efecca0039.tar.xz
android_bootable_recovery-ea8a6a9af29a5c98103b493c84d367efecca0039.tar.zst
android_bootable_recovery-ea8a6a9af29a5c98103b493c84d367efecca0039.zip
-rw-r--r--updater/install.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/updater/install.cpp b/updater/install.cpp
index 2b6c20fe3..6732ab897 100644
--- a/updater/install.cpp
+++ b/updater/install.cpp
@@ -548,6 +548,8 @@ Value* FormatFn(const char* name, State* state, const std::vector<std::unique_pt
"encrypt",
"-O",
"quota",
+ "-w",
+ "512",
location.c_str(),
(size < 512) ? nullptr : num_sectors.c_str(),
nullptr };