aboutsummaryrefslogtreecommitdiffstats
path: root/install.c
diff options
context:
space:
mode:
authorKoushik Dutta <koushd@gmail.com>2010-07-20 16:23:18 -0700
committerKoushik Dutta <koushd@gmail.com>2010-07-20 16:23:18 -0700
commit5aaa8238f7ecfbd5b20cba59f00d43a85216d866 (patch)
tree2eeadfbaed877f1e19af9d3b2a013e0ac43fec70 /install.c
parent92077c15d601c47d206fb2ff2ac7898296f2bf17 (diff)
downloadbootable_recovery-5aaa8238f7ecfbd5b20cba59f00d43a85216d866.zip
bootable_recovery-5aaa8238f7ecfbd5b20cba59f00d43a85216d866.tar.gz
bootable_recovery-5aaa8238f7ecfbd5b20cba59f00d43a85216d866.tar.bz2
galaxys
Diffstat (limited to 'install.c')
-rw-r--r--install.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/install.c b/install.c
index bbdb854..de3ec73 100644
--- a/install.c
+++ b/install.c
@@ -90,11 +90,13 @@ handle_firmware_update(char* type, char* filename, ZipArchive* zip) {
fclose(f);
}
+#ifndef BOARD_HAS_NO_MISC_PARTITION
if (remember_firmware_update(type, data, data_size)) {
LOGE("Can't store %s image\n", type);
free(data);
return INSTALL_ERROR;
}
+#endif
free(filename);
return INSTALL_SUCCESS;