update_bootloaders.sh: Fix arm-generic build.

BUG=None
TEST=Passes bash -n

Review URL: http://codereview.chromium.org/3161029
This commit is contained in:
Kenneth Waters 2010-08-18 14:35:22 -07:00
parent 8798fe99f3
commit cb39f9929b

View File

@ -207,8 +207,11 @@ elif [[ "${FLAGS_arch}" = "arm" ]]; then
dm_table="" # TODO(wad) Clear it until we can fix root=/dev/dm-0 dm_table="" # TODO(wad) Clear it until we can fix root=/dev/dm-0
# Copy u-boot script to ESP partition # Copy u-boot script to ESP partition
if [ -r "${FLAGS_from}/boot-A.scr.uimg" ]; then
sudo mkdir -p "${ESP_FS_DIR}/u-boot" sudo mkdir -p "${ESP_FS_DIR}/u-boot"
sudo cp "${FLAGS_from}/boot-A.scr.uimg" "${ESP_FS_DIR}/u-boot/boot.scr.uimg" sudo cp "${FLAGS_from}/boot-A.scr.uimg" \
"${ESP_FS_DIR}/u-boot/boot.scr.uimg"
fi
fi fi
set +e set +e