diff options
author | Tao Bao <tbao@google.com> | 2015-08-04 21:24:28 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-08-04 21:24:28 +0000 |
commit | f13b9c5335249ed41fa3dc0afb4b6f36a47404df (patch) | |
tree | 4cbc9f9135021777a38df5777b79467fe1212730 | |
parent | c65af8d020af495c3743cc74fa8f96c9db87832f (diff) | |
parent | 68ead51cb99fdc282261e829f575e591babcee76 (diff) | |
download | deb-f13b9c5335249ed41fa3dc0afb4b6f36a47404df.tar.gz |
am 68ead51c: RazorG: Reduce the journal size to zero.
* commit '68ead51cb99fdc282261e829f575e591babcee76':
RazorG: Reduce the journal size to zero.
-rw-r--r-- | releasetools.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/releasetools.py b/releasetools.py index ffb1baf..1714eaa 100644 --- a/releasetools.py +++ b/releasetools.py @@ -36,6 +36,13 @@ def IncrementalOTA_VerifyEnd(info): len(target_radio_img), common.sha1(target_radio_img).hexdigest())) +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") + + def IncrementalOTA_InstallEnd(info): try: target_bootloader_img = info.target_zip.read("RADIO/bootloader.img") |