summaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorJed Estep <jestep@google.com>2015-12-16 01:04:53 +0100
committerJed Estep <jestep@google.com>2016-03-19 01:58:25 +0100
commitff6df890a2a01bf3bf56d3f430b17a5ef69055cf (patch)
treed639d516e51ec2df2f6e2e26b0643f982e6ae2b6 /updater
parentrecovery: Move SwipeDetector into common location (diff)
downloadandroid_bootable_recovery-ff6df890a2a01bf3bf56d3f430b17a5ef69055cf.tar
android_bootable_recovery-ff6df890a2a01bf3bf56d3f430b17a5ef69055cf.tar.gz
android_bootable_recovery-ff6df890a2a01bf3bf56d3f430b17a5ef69055cf.tar.bz2
android_bootable_recovery-ff6df890a2a01bf3bf56d3f430b17a5ef69055cf.tar.lz
android_bootable_recovery-ff6df890a2a01bf3bf56d3f430b17a5ef69055cf.tar.xz
android_bootable_recovery-ff6df890a2a01bf3bf56d3f430b17a5ef69055cf.tar.zst
android_bootable_recovery-ff6df890a2a01bf3bf56d3f430b17a5ef69055cf.zip
Diffstat (limited to 'updater')
-rw-r--r--updater/blockimg.cpp2
-rw-r--r--updater/install.cpp2
-rw-r--r--updater/updater.cpp2
3 files changed, 4 insertions, 2 deletions
diff --git a/updater/blockimg.cpp b/updater/blockimg.cpp
index e9c8ddbc0..faa7008c5 100644
--- a/updater/blockimg.cpp
+++ b/updater/blockimg.cpp
@@ -45,7 +45,7 @@
#include "install.h"
#include "openssl/sha.h"
#include "minzip/Hash.h"
-#include "otafault/ota_io.h"
+#include "ota_io.h"
#include "print_sha1.h"
#include "unique_fd.h"
#include "updater.h"
diff --git a/updater/install.cpp b/updater/install.cpp
index b7d9e85a2..6ae1e5fbf 100644
--- a/updater/install.cpp
+++ b/updater/install.cpp
@@ -51,7 +51,7 @@
#include "minzip/DirUtil.h"
#include "mtdutils/mounts.h"
#include "mtdutils/mtdutils.h"
-#include "otafault/ota_io.h"
+#include "ota_io.h"
#include "updater.h"
#include "install.h"
#include "tune2fs.h"
diff --git a/updater/updater.cpp b/updater/updater.cpp
index ddc01e125..1693fa1db 100644
--- a/updater/updater.cpp
+++ b/updater/updater.cpp
@@ -25,6 +25,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) {