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 <derat@chromium.org>
Tested-by: Zelidrag Hornung <zelidrag@chromium.org>
This commit is contained in:
Zelidrag Hornung 2012-01-10 11:17:12 -08:00 committed by Zelidrag Hornung
parent c9f1dab46e
commit 094160701f

View File

@ -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"