summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJP Abgrall <jpa@google.com>2014-11-24 14:29:39 -0800
committerMark Salyzyn <salyzyn@google.com>2014-12-02 15:16:13 +0000
commitd301cdb1e811d61ce8e37cfe03a3f95e6809e953 (patch)
treef044deeac2c8c61c07809de53237a0b3aa1a43b4
parentb1a689fc5264202bd39f4614e23236f910f3658f (diff)
downloadmanta-d301cdb1e811d61ce8e37cfe03a3f95e6809e953.tar.gz
Remove journaling from read-only FS to save space
The read-only partitions don't need journaling. Bug: 18430740 Change-Id: I93303aae534f02c6ae412323c9ebb0c0b7b35290
-rw-r--r--releasetools.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/releasetools.py b/releasetools.py
index ae5692e..a9d12b4 100644
--- a/releasetools.py
+++ b/releasetools.py
@@ -25,6 +25,11 @@ def FullOTA_InstallEnd(info):
else:
WriteBootloader(info, bootloader_img)
+def IncrementalOTA_InstallBegin(info):
+ info.script.Unmount("/system")
+ info.script.TunePartition("/system", "-O", "^has_journal")
+ info.script.Mount("/system")
+
def IncrementalOTA_VerifyEnd(info):
# try:
# target_radio_img = info.target_zip.read("RADIO/radio.img")