Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Unified Diff: src/scripts/build_image

Issue 1117005: arm: don't truncate the mbr when installing the boot script. bad things happen otherwise (Closed)
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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."
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698