diff options
author | Doug Zongker <dougz@google.com> | 2014-08-20 00:53:10 +0200 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-08-19 04:43:23 +0200 |
commit | c0fd40159cf329c54c96038d954c0b8c50a77970 (patch) | |
tree | a435cfd2bd1b457bb2e45304b8e75cd2e1305831 /updater/updater.c | |
parent | am 2efc9d99: clear BCB in misc partition before rebooting (diff) | |
parent | installer for new block OTA system (diff) | |
download | android_bootable_recovery-c0fd40159cf329c54c96038d954c0b8c50a77970.tar android_bootable_recovery-c0fd40159cf329c54c96038d954c0b8c50a77970.tar.gz android_bootable_recovery-c0fd40159cf329c54c96038d954c0b8c50a77970.tar.bz2 android_bootable_recovery-c0fd40159cf329c54c96038d954c0b8c50a77970.tar.lz android_bootable_recovery-c0fd40159cf329c54c96038d954c0b8c50a77970.tar.xz android_bootable_recovery-c0fd40159cf329c54c96038d954c0b8c50a77970.tar.zst android_bootable_recovery-c0fd40159cf329c54c96038d954c0b8c50a77970.zip |
Diffstat (limited to 'updater/updater.c')
-rw-r--r-- | updater/updater.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/updater/updater.c b/updater/updater.c index b7af3e500..465e1238e 100644 --- a/updater/updater.c +++ b/updater/updater.c @@ -21,6 +21,7 @@ #include "edify/expr.h" #include "updater.h" #include "install.h" +#include "blockimg.h" #include "minzip/Zip.h" #include "minzip/SysUtil.h" @@ -98,6 +99,7 @@ int main(int argc, char** argv) { RegisterBuiltins(); RegisterInstallFunctions(); + RegisterBlockImageFunctions(); RegisterDeviceExtensions(); FinishRegistration(); @@ -127,6 +129,8 @@ int main(int argc, char** argv) { updater_info.cmd_pipe = cmd_pipe; updater_info.package_zip = &za; updater_info.version = atoi(version); + updater_info.package_zip_addr = map.addr; + updater_info.package_zip_len = map.length; State state; state.cookie = &updater_info; |