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:
parent
dec11c5b50
commit
7b8bae7aa4
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user