summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2012-07-16 22:37:27 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2012-07-18 09:55:37 +0700
commit80186cd6e0cbe69647f519df5c3a2afcb9cb178d (patch)
tree8ba837fc821f0904eb5acca36f4bb3725f260e63
parenta37bae6312acf7bc400814fd2b36cec7664ac4af (diff)
downloaddevice_samsung_aries-common-80186cd6e0cbe69647f519df5c3a2afcb9cb178d.zip
device_samsung_aries-common-80186cd6e0cbe69647f519df5c3a2afcb9cb178d.tar.gz
device_samsung_aries-common-80186cd6e0cbe69647f519df5c3a2afcb9cb178d.tar.bz2
aries-common: fix backuptool
Change-Id: Ia660e2229ff9179f72e81e0b048b603a203ab0eb http://review.cyanogenmod.com/#/c/19184/
-rwxr-xr-xreleasetools/aries_ota_from_target_files2
1 files changed, 2 insertions, 0 deletions
diff --git a/releasetools/aries_ota_from_target_files b/releasetools/aries_ota_from_target_files
index 64a5603..8dbbf34 100755
--- a/releasetools/aries_ota_from_target_files
+++ b/releasetools/aries_ota_from_target_files
@@ -80,7 +80,9 @@ def WriteFullOTAPackage(input_zip, output_zip):
device_specific.FullOTA_Assertions()
if OPTIONS.backuptool:
+ script.Mount("/system")
script.RunBackup("backup")
+ script.Unmount("/system")
if OPTIONS.wipe_user_data:
script.FormatPartition("/data")