3
0

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
This commit is contained in:
Andrew Dodd 2012-07-25 20:34:28 -04:00
parent dec11c5b50
commit 7b8bae7aa4

View File

@ -61,7 +61,9 @@ def WriteFullOTAPackage(input_zip, output_zip):
AppendAssertions(script, input_zip) AppendAssertions(script, input_zip)
device_specific.FullOTA_Assertions() device_specific.FullOTA_Assertions()
if OPTIONS.backuptool: if OPTIONS.backuptool:
script.Mount("/system")
script.RunBackup("backup") script.RunBackup("backup")
script.Unmount("/system")
script.ShowProgress(0.5, 0) script.ShowProgress(0.5, 0)