ref: fda7b9cf12d964a4a482fc252ef26dc29e7eaed1
parent: bcc9b650e26dedf1265e8c494353255972da4557
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sun Apr 27 21:12:26 EDT 2025
boot2h.sh: don't remove newline as those help locate errors in boot image
--- a/tools/boot2h.sh
+++ b/tools/boot2h.sh
@@ -1,4 +1,3 @@
#!/bin/sh
set -e
-sed 's/^ */ /g' < "$2" | tr -d '
-' | "$1" -10 | od -t x1 -v -A n | sed -E 's/^[^ ]*[ ]+/ /g;s/[ ]+([^ ]+)/0x\1,/g'
+sed 's/^ */ /g' < "$2" | "$1" -10 | od -t x1 -v -A n | sed -E 's/^[^ ]*[ ]+/ /g;s/[ ]+([^ ]+)/0x\1,/g'