mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 06:31:18 +02:00
image_to_usb.sh needs to pass --board to mod_image_for_test
At some point, mod_image_for_test started using emerge, but when we call it from image_to_usb, we don't pass a --board flag...we just assume the user is using the default_board magic file mechanism. Review URL: http://codereview.chromium.org/2807028
This commit is contained in:
parent
ec2708c83a
commit
d72ebe7050
@ -154,7 +154,8 @@ if [ ${FLAGS_test_image} -eq ${FLAGS_TRUE} ] ; then
|
||||
# really want to modify the image; the user gave their assent already with
|
||||
# --test-image and the original image is going to be preserved.
|
||||
"${SCRIPTS_DIR}/mod_image_for_test.sh" --image \
|
||||
"${FLAGS_from}/chromiumos_test_image.bin" ${EXTRA_ARGS} --yes
|
||||
"${FLAGS_from}/chromiumos_test_image.bin" --board=${FLAGS_board} \
|
||||
${EXTRA_ARGS} --yes
|
||||
echo "Done with mod_image_for_test."
|
||||
else
|
||||
echo "Using cached test image."
|
||||
|
Loading…
x
Reference in New Issue
Block a user