summaryrefslogtreecommitdiffstats
path: root/updater/install.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-04-08 09:26:24 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-04-08 09:26:24 +0200
commit0a968d2f62c9cf6ca6a8cd6d8d51fd550dfce715 (patch)
tree312c28b05877b2a8e678c6c8532a56df2c601703 /updater/install.cpp
parentSnap for 4701683 from 848f227eea524a48208bdd4181f90fb63a31ed2b to pi-release (diff)
parentMerge "Use non-LTO variant of libhwbinder" into pi-dev (diff)
downloadandroid_bootable_recovery-0a968d2f62c9cf6ca6a8cd6d8d51fd550dfce715.tar
android_bootable_recovery-0a968d2f62c9cf6ca6a8cd6d8d51fd550dfce715.tar.gz
android_bootable_recovery-0a968d2f62c9cf6ca6a8cd6d8d51fd550dfce715.tar.bz2
android_bootable_recovery-0a968d2f62c9cf6ca6a8cd6d8d51fd550dfce715.tar.lz
android_bootable_recovery-0a968d2f62c9cf6ca6a8cd6d8d51fd550dfce715.tar.xz
android_bootable_recovery-0a968d2f62c9cf6ca6a8cd6d8d51fd550dfce715.tar.zst
android_bootable_recovery-0a968d2f62c9cf6ca6a8cd6d8d51fd550dfce715.zip
Diffstat (limited to 'updater/install.cpp')
-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 };