mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-11 15:06:58 +02:00
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:
parent
8798fe99f3
commit
cb39f9929b
@ -207,8 +207,11 @@ elif [[ "${FLAGS_arch}" = "arm" ]]; then
|
||||
dm_table="" # TODO(wad) Clear it until we can fix root=/dev/dm-0
|
||||
|
||||
# Copy u-boot script to ESP partition
|
||||
sudo mkdir -p "${ESP_FS_DIR}/u-boot"
|
||||
sudo cp "${FLAGS_from}/boot-A.scr.uimg" "${ESP_FS_DIR}/u-boot/boot.scr.uimg"
|
||||
if [ -r "${FLAGS_from}/boot-A.scr.uimg" ]; then
|
||||
sudo mkdir -p "${ESP_FS_DIR}/u-boot"
|
||||
sudo cp "${FLAGS_from}/boot-A.scr.uimg" \
|
||||
"${ESP_FS_DIR}/u-boot/boot.scr.uimg"
|
||||
fi
|
||||
fi
|
||||
|
||||
set +e
|
||||
|
Loading…
Reference in New Issue
Block a user