From b8d1c33dbbb8c81eb52605b079e7fe36360edfeb Mon Sep 17 00:00:00 2001 From: Austen Dicken Date: Sun, 15 Jul 2012 16:28:05 -0500 Subject: 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 --- tools/releasetools/ota_from_target_files | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/releasetools/ota_from_target_files') 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 -- cgit v1.1