summaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-04-08 18:35:47 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-04-08 18:35:48 +0200
commitca7bf53189c70ef0f687d54d772e5eaadc0b1c7c (patch)
treef91733ca7065a14f6a8e0007cb7ea3d3685f3b3e /install.cpp
parentMerge "always use volume mount option when mounting a partition" (diff)
parentRotate logs only when there are actual operations (diff)
downloadandroid_bootable_recovery-ca7bf53189c70ef0f687d54d772e5eaadc0b1c7c.tar
android_bootable_recovery-ca7bf53189c70ef0f687d54d772e5eaadc0b1c7c.tar.gz
android_bootable_recovery-ca7bf53189c70ef0f687d54d772e5eaadc0b1c7c.tar.bz2
android_bootable_recovery-ca7bf53189c70ef0f687d54d772e5eaadc0b1c7c.tar.lz
android_bootable_recovery-ca7bf53189c70ef0f687d54d772e5eaadc0b1c7c.tar.xz
android_bootable_recovery-ca7bf53189c70ef0f687d54d772e5eaadc0b1c7c.tar.zst
android_bootable_recovery-ca7bf53189c70ef0f687d54d772e5eaadc0b1c7c.zip
Diffstat (limited to 'install.cpp')
-rw-r--r--install.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/install.cpp b/install.cpp
index 63b1d38c3..662f81c76 100644
--- a/install.cpp
+++ b/install.cpp
@@ -256,6 +256,8 @@ int
install_package(const char* path, bool* wipe_cache, const char* install_file,
bool needs_mount)
{
+ modified_flash = true;
+
FILE* install_log = fopen_path(install_file, "w");
if (install_log) {
fputs(path, install_log);