forked from openkylin/platform_build
6c770467fb
Make some changes needed to applypatch in order to store the recovery image in the system partition as a binary patch relative to the boot image: - make applypatch use shared libraries, so it's smaller. It will need to be on the main system so it can install the recovery image. Make an applypatch_static binary for use in recovery packages (still needed for updating cupcake devices to donut). - output the results of patching to an in-memory buffer and write that to the partition; there's no convenient /tmp for us to us. (This should be basically a no-op in recovery, since /tmp is a ramdisk anyway.) |
||
---|---|---|
.. | ||
testdata | ||
Android.mk | ||
applypatch.c | ||
applypatch.h | ||
applypatch.sh | ||
bsdiff.c | ||
freecache.c | ||
imgdiff.c | ||
imgdiff.h | ||
imgdiff_test.sh | ||
imgpatch.c | ||
main.c | ||
utils.c | ||
utils.h |