mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 05:56:58 +02:00
arm: don't truncate the mbr when installing the boot script. bad things happen otherwise
Review URL: http://codereview.chromium.org/1117005
This commit is contained in:
parent
8142fd6b35
commit
643fffab67
@ -379,7 +379,7 @@ if [[ "$ARCH" = "arm" ]]; then
|
||||
"$MKIMAGE" -A "${ARCH}" -O linux -T script -a 0 -e 0 -n "COS boot" \
|
||||
-d ${MBR_SCRIPT} ${MBR_SCRIPT_UIMG}
|
||||
dd bs=1 count=`stat --printf="%s" ${MBR_SCRIPT_UIMG}` \
|
||||
if="$MBR_SCRIPT_UIMG" of="$MBR_IMG"
|
||||
if="$MBR_SCRIPT_UIMG" of="$MBR_IMG" conv=notrunc
|
||||
hexdump -v -C "$MBR_IMG"
|
||||
else
|
||||
echo "Error: u-boot mkimage not found or not executable."
|
||||
|
Loading…
Reference in New Issue
Block a user