diff options
author | Jed Estep <jestep@google.com> | 2016-02-23 02:37:09 +0100 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2016-02-23 02:37:09 +0100 |
commit | 30ed5b99f55b759b2aa0f95cfd457ea0ffbd8bf4 (patch) | |
tree | b12a0e6ddf26cefc7c46948d23bc4489fd79a892 /updater/updater.cpp | |
parent | Merge "recovery: check battery level before installing package." am: 16d0a18514 am: d1b66ad6a1 (diff) | |
parent | Control fault injection with config files instead of build flags (diff) | |
download | android_bootable_recovery-30ed5b99f55b759b2aa0f95cfd457ea0ffbd8bf4.tar android_bootable_recovery-30ed5b99f55b759b2aa0f95cfd457ea0ffbd8bf4.tar.gz android_bootable_recovery-30ed5b99f55b759b2aa0f95cfd457ea0ffbd8bf4.tar.bz2 android_bootable_recovery-30ed5b99f55b759b2aa0f95cfd457ea0ffbd8bf4.tar.lz android_bootable_recovery-30ed5b99f55b759b2aa0f95cfd457ea0ffbd8bf4.tar.xz android_bootable_recovery-30ed5b99f55b759b2aa0f95cfd457ea0ffbd8bf4.tar.zst android_bootable_recovery-30ed5b99f55b759b2aa0f95cfd457ea0ffbd8bf4.zip |
Diffstat (limited to 'updater/updater.cpp')
-rw-r--r-- | updater/updater.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/updater/updater.cpp b/updater/updater.cpp index 80e75037c..0d58f6486 100644 --- a/updater/updater.cpp +++ b/updater/updater.cpp @@ -27,6 +27,7 @@ #include "blockimg.h" #include "minzip/Zip.h" #include "minzip/SysUtil.h" +#include "config.h" // Generated by the makefile, this function defines the // RegisterDeviceExtensions() function, which calls all the @@ -84,6 +85,7 @@ int main(int argc, char** argv) { argv[3], strerror(err)); return 3; } + ota_io_init(&za); const ZipEntry* script_entry = mzFindZipEntry(&za, SCRIPT_NAME); if (script_entry == NULL) { |