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

Unified Diff: image_to_live.sh

Issue 5103004: Add --payload option to take advantage of the new option for devserver. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git@master
Patch Set: Created 10 years, 1 month 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 88d75b9659bed7107cdd13f14bd70131c7b94e63..246823efc3942fa0f5257dba973d47ea7d324109 100755
--- a/image_to_live.sh
+++ b/image_to_live.sh
@@ -34,6 +34,8 @@ DEFINE_string board "" "Override the board reported by the target"
DEFINE_integer devserver_port 8080 \
"Port to use for devserver."
DEFINE_boolean for_vm ${FLAGS_FALSE} "Image is for a vm."
+DEFINE_string payload "" \
sosa 2010/11/18 02:00:40 alphabetical order by category.
+ "Update with this update payload, ignoring specified images."
DEFINE_string image "" \
"Update with this image path that is in this source checkout." i
DEFINE_string src_image "" \
@@ -132,6 +134,11 @@ function start_dev_server {
--image $(reinterpret_path_for_chroot ${IMAGE_PATH})"
fi
+ if [ -n "${FLAGS_payload}" ]; then
+ devserver_flags="${devserver_flags} \
+ --payload $(reinterpret_path_for_chroot ${FLAGS_payload})"
+ fi
+
[ ${FLAGS_for_vm} -eq ${FLAGS_TRUE} ] && \
devserver_flags="${devserver_flags} --for_vm"
« 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