02d444b07e293e6485f2d7b76a9ce79dcfb9055c
Images (like boot and recovery) consist of large sections of gzipped data interspersed with other data. To do effective binary patching of these files, we need to apply patches to the gzipped parts in 'uncompressed space', that is, we decompress, apply a patch, then recompress to obtain the desired output. This change defines a new format with these patches, which is basically a description of how the source and target files are to be divided up into chunks and a bsdiff patch for each chunk. We add a new host executable, "imgdiff", for generating these patches from source and target images, and add support in applypatch for recognizing this format and applying it on the device.
Description
No description provided
Languages
Makefile
32.1%
Python
31.1%
Go
13.7%
Rust
7.7%
Java
5.2%
Other
10.1%