more cwr5 work.

Change-Id: I72bb14ef25a9067ccde3e40ea989c7990512687a
diff --git a/install.c b/install.c
index 0b35ee7..cae283c 100644
--- a/install.c
+++ b/install.c
@@ -92,6 +92,12 @@
         fclose(f);
     }
 
+    if (remember_firmware_update(type, data, data_size)) {
+        LOGE("Can't store %s image\n", type);
+        free(data);
+        return INSTALL_ERROR;
+    }
+
     free(filename);
 
     return INSTALL_SUCCESS;