aboutsummaryrefslogtreecommitdiffstats
path: root/updater/install.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2012-08-20 15:28:02 -0700
committerDoug Zongker <dougz@google.com>2012-08-20 15:28:02 -0700
commita3ccba6d314cb29b02d1dbda9a71427b11da936d (patch)
tree5f2a722ebb6f9c7d58da206c04e077a7685c646c /updater/install.c
parent5585025814418e8b692a3a38b7cff495180a74f8 (diff)
downloadbootable_recovery-a3ccba6d314cb29b02d1dbda9a71427b11da936d.zip
bootable_recovery-a3ccba6d314cb29b02d1dbda9a71427b11da936d.tar.gz
bootable_recovery-a3ccba6d314cb29b02d1dbda9a71427b11da936d.tar.bz2
add bonus data feature to imgdiff/imgpatch/applypatch
The bonus data option lets you give an additional blob of uncompressed data to be used when constructing a patch for chunk #1 of an image. The same blob must be available at patch time, and can be passed to the command-line applypatch tool (this feature is not accessible from edify scripts). This will be used to reduce the size of recovery-from-boot patches by storing parts of the recovery ramdisk (the UI images) on the system partition. Change-Id: Iac1959cdf7f5e4582f8d434e83456e483b64c02c
Diffstat (limited to 'updater/install.c')
-rw-r--r--updater/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/install.c b/updater/install.c
index ba27e9f..41f053d 100644
--- a/updater/install.c
+++ b/updater/install.c
@@ -901,7 +901,7 @@ Value* ApplyPatchFn(const char* name, State* state, int argc, Expr* argv[]) {
int result = applypatch(source_filename, target_filename,
target_sha1, target_size,
- patchcount, patch_sha_str, patches);
+ patchcount, patch_sha_str, patches, NULL);
for (i = 0; i < patchcount; ++i) {
FreeValue(patches[i]);