From 094160701f08f60d9de927fa748db5e1fca6b7cd Mon Sep 17 00:00:00 2001 From: Zelidrag Hornung Date: Tue, 10 Jan 2012 11:17:12 -0800 Subject: [PATCH] Added ability to download images othert than x86-generic. BUG=chromium-os:24907 TEST=make sure ./bin/cros_download_latest_image downloads the correct board Change-Id: I8c1784edf39a6a04d46bc8cdbf7b62d2a361d593 Reviewed-on: https://gerrit.chromium.org/gerrit/13948 Reviewed-by: Daniel Erat Tested-by: Zelidrag Hornung --- bin/cros_download_latest_image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cros_download_latest_image b/bin/cros_download_latest_image index afaea78f67..f934563d8d 100755 --- a/bin/cros_download_latest_image +++ b/bin/cros_download_latest_image @@ -53,7 +53,7 @@ if [ $FLAGS_board = x86-generic ]; then PATH_PREFIX="x86-generic-full" fi else - die "Unrecognized board: $FLAGS_board" + PATH_PREFIX="${FLAGS_board}-release" fi URL_PREFIX="gs://$BUCKET/$PATH_PREFIX"