mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
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
This commit is contained in:
parent
c1a3e56e23
commit
bd61304ebe
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user