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:
Chris Masone 2010-06-28 19:32:02 -07:00
parent ec2708c83a
commit d72ebe7050

View File

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