diff options
author | Austen Dicken <cvpcsm@gmail.com> | 2012-07-15 16:28:05 -0500 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-06 16:12:00 -0700 |
commit | b8d1c33dbbb8c81eb52605b079e7fe36360edfeb (patch) | |
tree | a35b9c0ca81b4e11db1caaa1169f1cc88b9718cd /tools/releasetools/ota_from_target_files | |
parent | d36495babbe164933bc9c0756ef122fdbb053450 (diff) | |
download | build-b8d1c33dbbb8c81eb52605b079e7fe36360edfeb.zip build-b8d1c33dbbb8c81eb52605b079e7fe36360edfeb.tar.gz build-b8d1c33dbbb8c81eb52605b079e7fe36360edfeb.tar.bz2 |
update ota_from_target_files to handle mounting/unmounting for backupscript
backupscript should not be mounting/unmounting itself as it makes other
scripts have unexpected results (such as modelid_cfg, which expects /system
to be mounted)
instead have the ota script handle the mounting/unmounting
Change-Id: I94511f4147c624d975cb3ecbeaa8b0e98f63437c
Diffstat (limited to 'tools/releasetools/ota_from_target_files')
-rwxr-xr-x | tools/releasetools/ota_from_target_files | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/releasetools/ota_from_target_files b/tools/releasetools/ota_from_target_files index 5d9095c..1662a1a 100755 --- a/tools/releasetools/ota_from_target_files +++ b/tools/releasetools/ota_from_target_files @@ -587,7 +587,9 @@ else if get_stage("%(bcb_dev)s") == "3/3" then device_specific.FullOTA_InstallBegin() if OPTIONS.backuptool: + script.Mount("/system") script.RunBackup("backup") + script.Unmount("/system") system_progress = 0.75 |