| Index: image_to_live.sh
|
| diff --git a/image_to_live.sh b/image_to_live.sh
|
| index 1da4e2609bf519a5df7ecbddce1941a574404551..b27a87db540b3788656353a6fc6a5da25483283c 100755
|
| --- a/image_to_live.sh
|
| +++ b/image_to_live.sh
|
| @@ -32,6 +32,7 @@ DEFINE_string archive_dir "" \
|
| "Update using the test image in the image.zip in this directory." a
|
| DEFINE_integer devserver_port 8080 \
|
| "Port to use for devserver."
|
| +DEFINE_boolean for_vm ${FLAGS_FALSE} "Image is for a vm."
|
| DEFINE_string image "" \
|
| "Update with this image path that is in this source checkout." i
|
| DEFINE_string src_image "" \
|
| @@ -129,6 +130,9 @@ function start_dev_server {
|
| IMAGE_PATH="${IMAGE_PATH}/chromiumos_image.bin"
|
| fi
|
|
|
| + [ ${FLAGS_for_vm} -eq ${FLAGS_TRUE} ] && \
|
| + devserver_flags="${devserver_flags} --for_vm"
|
| +
|
| devserver_flags="${devserver_flags} \
|
| --src_image=\"$(reinterpret_path_for_chroot ${FLAGS_src_image})\""
|
|
|
|
|