platform_bootable_recovery/applypatch
David Riley 0779fc9814 imgdiff: skip spurious gzip headers in image files
dragon kernel is compressed via lz4 for boot speed and bootloader
support reasons and recent prebuilts happen to include the gzip header
sequence which is causing imgdiff to fail.

Detect a spurious gzip header and treat the section as a normal section.

Bug: 26133184
Change-Id: I369d7d576fd7d2c579c0780fc5c669a5b6ea0d3d
(cherry picked from commit 0f2f6a746af517afca9e5e089a4a17be0a9766d6)
Signed-off-by: David Riley <davidriley@google.com>
2015-12-23 09:43:59 -08:00
..
testdata relocate applypatch; add type system and new functions to edify 2010-02-18 14:22:12 -08:00
Android.mk Remove the building rules for applypatch_static. 2015-12-02 14:05:38 -08:00
applypatch.cpp Track rename from base/ to android-base/. 2015-12-04 15:30:20 -08:00
applypatch.h applypatch: Support flash mode. 2015-07-24 11:15:19 -07:00
applypatch.sh refactor applypatch and friends 2010-02-22 15:30:33 -08:00
bsdiff.cpp recovery: Switch applypatch/ and updater/ to cpp. 2015-07-13 17:21:31 -07:00
bspatch.cpp recovery: Switch applypatch/ and updater/ to cpp. 2015-07-13 17:21:31 -07:00
freecache.cpp recovery: Switch applypatch/ and updater/ to cpp. 2015-07-13 17:21:31 -07:00
imgdiff.cpp imgdiff: skip spurious gzip headers in image files 2015-12-23 09:43:59 -08:00
imgdiff.h relocate applypatch; add type system and new functions to edify 2010-02-18 14:22:12 -08:00
imgdiff_test.sh relocate applypatch; add type system and new functions to edify 2010-02-18 14:22:12 -08:00
imgpatch.cpp recovery: Switch applypatch/ and updater/ to cpp. 2015-07-13 17:21:31 -07:00
main.cpp applypatch: Support flash mode. 2015-07-24 11:15:19 -07:00
NOTICE Add NOTICE file 2012-04-06 13:51:00 -07:00
utils.cpp recovery: Switch applypatch/ and updater/ to cpp. 2015-07-13 17:21:31 -07:00
utils.h refactor applypatch and friends 2010-02-22 15:30:33 -08:00