Chromium Code Reviews| 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" |