From bd61304ebe6b25b11534774c82223e070fbe0f53 Mon Sep 17 00:00:00 2001 From: Chris Sosa Date: Mon, 4 Oct 2010 13:29:23 -0700 Subject: [PATCH] Pass --board to get_latest_image.sh. Change-Id: Iaa388bc6dd3ef8b07199ee42de6693cad2f4368f BUG= TEST=rm src/scripts/default_board and ran image_to_vm --board x86-generic. Review URL: http://codereview.chromium.org/3530007 --- image_to_vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image_to_vm.sh b/image_to_vm.sh index c2fb82b748..f0c6e654fa 100755 --- a/image_to_vm.sh +++ b/image_to_vm.sh @@ -74,7 +74,7 @@ fi IMAGES_DIR="${DEFAULT_BUILD_ROOT}/images/${FLAGS_board}" # Default to the most recent image if [ -z "${FLAGS_from}" ] ; then - FLAGS_from="$(./get_latest_image.sh)" + FLAGS_from="$(./get_latest_image.sh --board=${FLAGS_board})" else pushd "${FLAGS_from}" && FLAGS_from=`pwd` && popd fi