summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-11-11 04:08:33 +0000
committerandroid-build-merger <android-build-merger@google.com>2015-11-11 04:08:33 +0000
commitc11328d3334906e6f35a69c4a8ae1b926aabe757 (patch)
treeb2b50b706d4f483d3783ddfea1cf2410ea34322a
parent1b5b9bcfaa5f33c3a699a689e5ab13b762f3785c (diff)
parent86d888440af2540d6de5e2cb0d1f53005f6eea87 (diff)
downloadhammerhead-c11328d3334906e6f35a69c4a8ae1b926aabe757.tar.gz
Merge "releasetools.py: Honor mount options." am: 1561f418fc
am: 86d888440a * commit '86d888440af2540d6de5e2cb0d1f53005f6eea87': releasetools.py: Honor mount options.
-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):