mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 06:31:18 +02:00
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:
parent
c9f1dab46e
commit
094160701f
@ -53,7 +53,7 @@ if [ $FLAGS_board = x86-generic ]; then
|
|||||||
PATH_PREFIX="x86-generic-full"
|
PATH_PREFIX="x86-generic-full"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
die "Unrecognized board: $FLAGS_board"
|
PATH_PREFIX="${FLAGS_board}-release"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
URL_PREFIX="gs://$BUCKET/$PATH_PREFIX"
|
URL_PREFIX="gs://$BUCKET/$PATH_PREFIX"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user