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

Unified Diff: start_devserver

Issue 2897011: remove update_engine flag from start_devserver (Closed) Base URL: ssh://git@chromiumos-git/crosutils.git
Patch Set: Created 10 years, 5 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: start_devserver
diff --git a/start_devserver b/start_devserver
index bfee40eef6c4303ef90cdb841f4456cf161f1349..38cbbdb32bed34e2366634d1abf7fb5ec5494173 100755
--- a/start_devserver
+++ b/start_devserver
@@ -14,24 +14,8 @@ then
restart_in_chroot_if_needed $*
fi
-# Temporary workaround to support requests from update_engine daemon
-DEFINE_boolean update_engine $FLAGS_FALSE \
- "Start devserver to handle update_engine requests. Default: False"
-
-# Parse command line.
-FLAGS "$@" || exit 1
-eval set -- "${FLAGS_ARGV}"
-
-set -e
-
-CLIENT_PREFIX=
-if [ "${FLAGS_update_engine}" -eq "${FLAGS_TRUE}" ] ; then
- echo "!!! devserver will only handle request from update_engine"
- # --client_prefix flag is defined in devserver.py
- CLIENT_PREFIX="--client_prefix ChromeOSUpdateEngine"
-else
- echo "!!! devserver will only handle request from memento_updater"
-fi
+# Temporary workaround: to start devserver for update engine, pass in args
+# --client_prefix ChromeOSUpdateEngine
# Set PKG_INSTALL_MASK if it's not set already.
if [ -z "${PKG_INSTALL_MASK+x}" ]; then
@@ -39,4 +23,4 @@ if [ -z "${PKG_INSTALL_MASK+x}" ]; then
fi
echo PKG_INSTALL_MASK=$PKG_INSTALL_MASK
-cd ${GCLIENT_ROOT}/src/platform/dev && python devserver.py ${CLIENT_PREFIX} $*
+cd ${GCLIENT_ROOT}/src/platform/dev && python devserver.py $*
« 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