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

Unified Diff: image_to_live.sh

Issue 4169006: Use pregenerate_update flag for devserver. (Closed) Base URL: http://git.chromium.org/git/crosutils.git
Patch Set: Add more info Created 10 years, 2 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: image_to_live.sh
diff --git a/image_to_live.sh b/image_to_live.sh
index 9317c3d8d11f2726e7d7b8de0b118b28c026f2b7..1da4e2609bf519a5df7ecbddce1941a574404551 100755
--- a/image_to_live.sh
+++ b/image_to_live.sh
@@ -110,7 +110,7 @@ function reinterpret_path_for_chroot() {
function start_dev_server {
kill_all_devservers
- local devserver_flags=
+ local devserver_flags="--pregenerate_update"
# Parse devserver flags.
if [ -n "${FLAGS_image}" ]; then
devserver_flags="${devserver_flags} \
@@ -137,10 +137,11 @@ function start_dev_server {
--client_prefix=ChromeOSUpdateEngine \
--port=${FLAGS_devserver_port} > ${FLAGS_server_log} 2>&1" &
- echo -n "Waiting on devserver to start"
+ info "Waiting on devserver to start"
+ info "note: be patient as the server generates the update before starting."
until netstat -anp 2>&1 | grep 0.0.0.0:${FLAGS_devserver_port} > /dev/null
do
- sleep .5
+ sleep 5
echo -n "."
done
echo ""
« 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