mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 06:31:18 +02:00
Make mod_image_for_test work with default args. Before the GPT change, by default mod_image_for_test would modify the result of your build.
Review URL: http://codereview.chromium.org/1572012
This commit is contained in:
parent
6dcea16492
commit
ce175d58d6
@ -36,7 +36,7 @@ fi
|
|||||||
# We have a board name but no image set. Use image at default location
|
# We have a board name but no image set. Use image at default location
|
||||||
if [ -z $FLAGS_image ] ; then
|
if [ -z $FLAGS_image ] ; then
|
||||||
IMAGES_DIR="${DEFAULT_BUILD_ROOT}/images/${FLAGS_board}"
|
IMAGES_DIR="${DEFAULT_BUILD_ROOT}/images/${FLAGS_board}"
|
||||||
FILENAME="chromiumos_test_image.bin"
|
FILENAME="chromiumos_image.bin"
|
||||||
FLAGS_image="${IMAGES_DIR}/$(ls -t $IMAGES_DIR 2>&-| head -1)/${FILENAME}"
|
FLAGS_image="${IMAGES_DIR}/$(ls -t $IMAGES_DIR 2>&-| head -1)/${FILENAME}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user