Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: src/scripts/image_to_live.sh

Issue 2031002: Enforce image update from image_to_live. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/image_to_live.sh
diff --git a/src/scripts/image_to_live.sh b/src/scripts/image_to_live.sh
index 64e020f3ca895b4340f26c7d51927252e88db78a..3eaa8fdeacca1ad877bb68cb0c0d653a17c75db3 100755
--- a/src/scripts/image_to_live.sh
+++ b/src/scripts/image_to_live.sh
@@ -99,8 +99,10 @@ function run_auto_update {
# Clear it out so we don't see a prior run and make sure it
# exists so the first tail below can't fail if it races the
# memento updater first write and wins.
- remote_sh "rm -f ${update_file}; touch ${update_file}; \
- /opt/google/memento_updater/memento_updater.sh</dev/null>&/dev/null&"
+ remote_sh "rm -f /tmp/memento_autoupdate_completed; rm -f ${update_file}; \
+ touch ${update_file}; \
+ /opt/google/memento_updater/memento_updater.sh --force_update < /dev/null\
+ >&/dev/null&"
local update_error
local output_file
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698