| Index: src/scripts/build_image
|
| diff --git a/src/scripts/build_image b/src/scripts/build_image
|
| index edc0429fd8b58154913e9bb6e9d591a51d913147..8b692ef0d1e5d3eb60ca4f23711b54ed375cd8ce 100755
|
| --- a/src/scripts/build_image
|
| +++ b/src/scripts/build_image
|
| @@ -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."
|
|
|