summaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@google.com>2018-04-05 06:14:01 +0200
committerJaegeuk Kim <jaegeuk@google.com>2018-04-05 06:14:01 +0200
commit1224544806382ca98bbb7d9edba83b0c2e1be21f (patch)
tree8ce04e80041cd89d9310d333191c67c9b6a413ac /updater
parentf2fs: support f2fs by setting unmovable bit for package file (diff)
downloadandroid_bootable_recovery-1224544806382ca98bbb7d9edba83b0c2e1be21f.tar
android_bootable_recovery-1224544806382ca98bbb7d9edba83b0c2e1be21f.tar.gz
android_bootable_recovery-1224544806382ca98bbb7d9edba83b0c2e1be21f.tar.bz2
android_bootable_recovery-1224544806382ca98bbb7d9edba83b0c2e1be21f.tar.lz
android_bootable_recovery-1224544806382ca98bbb7d9edba83b0c2e1be21f.tar.xz
android_bootable_recovery-1224544806382ca98bbb7d9edba83b0c2e1be21f.tar.zst
android_bootable_recovery-1224544806382ca98bbb7d9edba83b0c2e1be21f.zip
Diffstat (limited to 'updater')
-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 };