summaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-03-17 23:29:23 +0100
committerThe Android Automerger <android-build@google.com>2016-03-18 00:52:19 +0100
commitb1e4100011d2d81eb1da97a50d99d8b261d61c0c (patch)
tree301405afcb2c8947072b69d741ad39ac4a652da0 /updater
parentmerge in nyc-release history after reset to nyc-dev (diff)
downloadandroid_bootable_recovery-b1e4100011d2d81eb1da97a50d99d8b261d61c0c.tar
android_bootable_recovery-b1e4100011d2d81eb1da97a50d99d8b261d61c0c.tar.gz
android_bootable_recovery-b1e4100011d2d81eb1da97a50d99d8b261d61c0c.tar.bz2
android_bootable_recovery-b1e4100011d2d81eb1da97a50d99d8b261d61c0c.tar.lz
android_bootable_recovery-b1e4100011d2d81eb1da97a50d99d8b261d61c0c.tar.xz
android_bootable_recovery-b1e4100011d2d81eb1da97a50d99d8b261d61c0c.tar.zst
android_bootable_recovery-b1e4100011d2d81eb1da97a50d99d8b261d61c0c.zip
Diffstat (limited to '')
-rw-r--r--updater/blockimg.cpp2
-rw-r--r--updater/install.cpp2
-rw-r--r--updater/updater.cpp2
3 files changed, 2 insertions, 4 deletions
diff --git a/updater/blockimg.cpp b/updater/blockimg.cpp
index faa7008c5..e9c8ddbc0 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 "ota_io.h"
+#include "otafault/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 6ae1e5fbf..b7d9e85a2 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 "ota_io.h"
+#include "otafault/ota_io.h"
#include "updater.h"
#include "install.h"
#include "tune2fs.h"
diff --git a/updater/updater.cpp b/updater/updater.cpp
index 1693fa1db..ddc01e125 100644
--- a/updater/updater.cpp
+++ b/updater/updater.cpp
@@ -25,7 +25,6 @@
#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
@@ -85,7 +84,6 @@ 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) {