OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e05628c
)
incremental OTAs should remove /system/recovery.img
author
Doug Zongker
<dougz@android.com>
Mon, 24 Aug 2009 17:24:32 +0000
(10:24 -0700)
committer
Doug Zongker
<dougz@android.com>
Mon, 24 Aug 2009 17:24:32 +0000
(10:24 -0700)
This file has been replaced by the recovery_from_boot.p patch file,
but needs to be removed from existing devices if it exists.
tools/releasetools/ota_from_target_files
patch
|
blob
|
history
diff --git
a/tools/releasetools/ota_from_target_files
b/tools/releasetools/ota_from_target_files
index
4864542
..
4aaad37
100755
(executable)
--- a/
tools/releasetools/ota_from_target_files
+++ b/
tools/releasetools/ota_from_target_files
@@
-618,7
+618,8
@@
def WriteIncrementalOTAPackage(target_zip, source_zip, output_zip):
script.Print("Removing unneeded files...")
script.DeleteFiles(["/"+i[0] for i in verbatim_targets] +
["/"+i for i in sorted(source_data)
- if i not in target_data])
+ if i not in target_data] +
+ ["/system/recovery.img"])
if updating_boot:
# Produce the boot image by applying a patch to the current