core: allow specifying building ramdisk(s) with lzma
* Add a flag that specifies which ramdisk(s) to compress with lzma
* If not specified, fall back to gzip
* Example: LZMA_RAMDISK_TARGETS := boot,recovery
Change-Id: I9cce4da90343fb6dfb7039863649e37d78262726
Force bsdiff for recovery_from_boot.p if not using GZIP
imgdiff expects a ramdisk to use GZIP, which is causing a chunk
size issue if recovery is using LZMA
Change-Id: I3194b4faed25a298fe23b4e24b6dea2885bafda8
commit 30da0836578d0c9814e23df7c4c0fcd7c649f555
Author: Gabriele M <moto.falcon.git@gmail.com>
Date: Thu Feb 9 13:59:27 2017 +0100
releasetools: Generate recovery-from-boot.p with bsdiff if necessary
If TARGET_NOT_USE_GZIP_RECOVERY_RAMDISK is true, we want to use bsdiff
to create recovery-from-boot.p, otherwise there are high chances that
imgdiff will fail. Currently this is done only when running make, but
not when we re-create the patch from releasetools, so do it.
Also, since recovery-resource.dat is used as bonus data for imgdiff,
don't build it if we are going to use bsdiff.
Change-Id: I93a662a358ee79f56b8acd4329eedd166a176c66
(cherry picked from commit 543d7376)
Change-Id: I9cce4da90343fb6dfb7039863649e37d78262726
Loading
Please register or sign in to comment