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

Unified Diff: start_devserver

Issue 6576023: scripts: call devserver/payload generators from chroot & delete moved scripts (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git@master
Patch Set: Keep bits of old start_devserver Created 9 years, 10 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 | « image_to_live.sh ('k') | 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 6d4cddbba4d4936c08f5920e5e0dba1da6ba8e1c..24f2a8739a43558013cd102bbc296abb43b8530a 100755
--- a/start_devserver
+++ b/start_devserver
@@ -1,5 +1,4 @@
#!/bin/bash
-
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -32,13 +31,5 @@ if [[ "$1" != "--archive_dir" ]]; then
restart_in_chroot_if_needed "$@"
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
- export PKG_INSTALL_MASK="${DEFAULT_INSTALL_MASK}"
-fi
-echo PKG_INSTALL_MASK=$PKG_INSTALL_MASK
-
-cd ${GCLIENT_ROOT}/src/platform/dev && python devserver.py "$@"
+# This is the location of the script now.
+exec $(dirname ${0})/../../chroot/usr/bin/start_devserver "$@"
sosa 2011/03/01 21:49:29 Heh ... so I realized this won't actually work for
« no previous file with comments | « image_to_live.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698