summaryrefslogtreecommitdiffstats
path: root/releasetools
diff options
context:
space:
mode:
authorAndrew Dodd <atd7@cornell.edu>2012-07-25 20:34:28 -0400
committerAndrew Dodd <atd7@cornell.edu>2012-07-25 20:34:28 -0400
commit7b8bae7aa4662dafa8d69a4ad9d8f4f0a9a8c5c4 (patch)
tree8c5f38961432ebae256f46e6df92f3b0f250266c /releasetools
parentdec11c5b504a9dde96ea16360836dbb1ad3df282 (diff)
downloaddevice_samsung_galaxys2-common-7b8bae7aa4662dafa8d69a4ad9d8f4f0a9a8c5c4.zip
device_samsung_galaxys2-common-7b8bae7aa4662dafa8d69a4ad9d8f4f0a9a8c5c4.tar.gz
device_samsung_galaxys2-common-7b8bae7aa4662dafa8d69a4ad9d8f4f0a9a8c5c4.tar.bz2
releasetools: Fix for new backup script
Backup script no longer mounts/unmounts /system This now needs to be done by the update-script Forward-port this change from ICS
Diffstat (limited to 'releasetools')
-rwxr-xr-xreleasetools/galaxys2_ota_from_target_files2
1 files changed, 2 insertions, 0 deletions
diff --git a/releasetools/galaxys2_ota_from_target_files b/releasetools/galaxys2_ota_from_target_files
index 7a41ec6..61cb7cc 100755
--- a/releasetools/galaxys2_ota_from_target_files
+++ b/releasetools/galaxys2_ota_from_target_files
@@ -61,7 +61,9 @@ def WriteFullOTAPackage(input_zip, output_zip):
AppendAssertions(script, input_zip)
device_specific.FullOTA_Assertions()
if OPTIONS.backuptool:
+ script.Mount("/system")
script.RunBackup("backup")
+ script.Unmount("/system")
script.ShowProgress(0.5, 0)