summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Dodd <atd7@cornell.edu>2012-07-16 09:05:42 -0400
committerAndrew Dodd <atd7@cornell.edu>2012-07-16 09:06:35 -0400
commiteacbfb6f87fb728e1d7647512042161525bf8819 (patch)
treee6a7651b0506005524b7b2eb9f7177eebe9f2790
parent9dc38e64e5298684e890e4776436f30723b74686 (diff)
downloaddevice_samsung_n7000-eacbfb6f87fb728e1d7647512042161525bf8819.zip
device_samsung_n7000-eacbfb6f87fb728e1d7647512042161525bf8819.tar.gz
device_samsung_n7000-eacbfb6f87fb728e1d7647512042161525bf8819.tar.bz2
n7000: fix breakage caused by 19184
http://review.cyanogenmod.com/#/c/19184/ broke gapps backup on I777/I9100/N7000 This fixes the breakage. Change-Id: Ie02f59eaa0e8e8e115515a8f3354402a63135b57
-rwxr-xr-xreleasetools/n7000_ota_from_target_files2
1 files changed, 2 insertions, 0 deletions
diff --git a/releasetools/n7000_ota_from_target_files b/releasetools/n7000_ota_from_target_files
index 53a2893..f19f059 100755
--- a/releasetools/n7000_ota_from_target_files
+++ b/releasetools/n7000_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)