Skip to content
Snippets Groups Projects
Commit f58536ff authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

use mktemp instead of tempfile in combined-image.sh to make it work on OS X

SVN-Revision: 17674
parent 6478e24f
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,8 @@ BLKSZ=65536
}
# Make sure provided images are 64k aligned.
kern=$(tempfile)
root=$(tempfile)
kern=$(mktemp)
root=$(mktemp)
dd if="$1" of="$kern" bs=$BLKSZ conv=sync 2>/dev/null
dd if="$2" of="$root" bs=$BLKSZ conv=sync 2>/dev/null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment