From 667b1efba0c623dab53cd126a642821affa8f8c8 Mon Sep 17 00:00:00 2001
From: Pawit Pornkitprasan
Date: Mon, 16 Jul 2012 22:37:27 +0700
Subject: aries-common: fix backuptool
http://review.cyanogenmod.com/#/c/19184/
Change-Id: I68e4601fda89b712793c2dd16e8eed418078cb8a
---
releasetools/aries_ota_from_target_files | 2 ++
1 file changed, 2 insertions(+)
diff --git a/releasetools/aries_ota_from_target_files b/releasetools/aries_ota_from_target_files
index 6c3b1e3..283548c 100755
--- a/releasetools/aries_ota_from_target_files
+++ b/releasetools/aries_ota_from_target_files
@@ -80,7 +80,9 @@ def WriteFullOTAPackage(input_zip, output_zip):
device_specific.FullOTA_Assertions()
if OPTIONS.backuptool:
+ script.Mount("/system")
script.RunBackup("backup")
+ script.Unmount("/system")
if OPTIONS.wipe_user_data:
script.FormatPartition("/data")
--
cgit v1.1