summaryrefslogtreecommitdiffstats
path: root/tools/applypatch/bspatch.c
Commit message (Collapse)AuthorAgeFilesLines
* relocate applypatch; check patch integrityDoug Zongker2010-02-191-252/+0
| | | | | | | | | | | | - Delete the applypatch code (it's being moved to bootable/recovery). - Change the OTA script generator to verify the sha1sum of all the patch files after they are unpacked into /tmp. b/2361316 - VZW Issue PP628: Continuous reset to Droid logo: framework-res.apk update failed (CR LIBtt59130) Change-Id: I5858d48f10127f72e708d50d3de844569d1aff27
* integrate bsdiff into imgdiff, instead of using subprocessDoug Zongker2009-09-251-0/+252
Integrate the bsdiff code into imgdiff so we can just call it rather than writing temp files and invoking bsdiff as a subprocess. When computing multiple patches from the same source file, we can also save time by doing some bsdiff preprocessing on the source file only once. (Note this renames the existing 'bsdiff.c' -- which actually does patching in applypatch -- to 'bspatch.c', and introduces a new bsdiff.c linked into imgdiff.)