summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-11-10 16:17:44 -0800
committerTao Bao <tbao@google.com>2015-11-10 16:19:37 -0800
commitd490d955af1154250c43928480d77cb52288b475 (patch)
tree3ab28fa2bf9a8b3ba91716c387e06be9b744e3fa
parent985cd9445549af1ee040d3d13cfceff5f5396b88 (diff)
downloadhammerhead-d490d955af1154250c43928480d77cb52288b475.tar.gz
releasetools.py: Honor mount options.
Bug: 25569614 Change-Id: I24872858fc542e0a35b7c4cf6eced600249df962
-rw-r--r--releasetools.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/releasetools.py b/releasetools.py
index 0340132..07a7c66 100644
--- a/releasetools.py
+++ b/releasetools.py
@@ -45,7 +45,8 @@ def IncrementalOTA_InstallBegin(info):
# Reduce the space taken by the journal.
info.script.Unmount("/system")
info.script.TunePartition("/system", "-O", "^has_journal")
- info.script.Mount("/system")
+ recovery_mount_options = info.info_dict.get("recovery_mount_options")
+ info.script.Mount("/system", recovery_mount_options)
def IncrementalOTA_InstallEnd(info):