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

Unified Diff: image_to_live.sh

Issue 3646005: Gets image_to_live to work with a custom devserver_port (Closed) Base URL: http://git.chromium.org/git/crosutils.git
Patch Set: last 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 76942912f29384af5bed4c2026285160095b9c5e..26a52997dee7e5768086241fdf924fa402b94826 100755
--- a/image_to_live.sh
+++ b/image_to_live.sh
@@ -89,7 +89,7 @@ function reinterpret_path_for_chroot() {
function start_dev_server {
kill_all_devservers
- local devserver_flags=${FLAGS_devserver_port}
+ local devserver_flags=
# Parse devserver flags.
if [ -n "${FLAGS_image}" ]; then
devserver_flags="${devserver_flags} \
@@ -111,7 +111,8 @@ function start_dev_server {
info "Starting devserver with flags ${devserver_flags}"
./enter_chroot.sh "sudo ./start_devserver ${devserver_flags} \
- --client_prefix=ChromeOSUpdateEngine > ${FLAGS_server_log} 2>&1" &
+ --client_prefix=ChromeOSUpdateEngine \
+ --port=${FLAGS_devserver_port} > ${FLAGS_server_log} 2>&1" &
echo -n "Waiting on devserver to start"
until netstat -anp 2>&1 | grep 0.0.0.0:${FLAGS_devserver_port} > /dev/null
« 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