X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/1c4145f913f7c7d954aaeef7216f5e1ec3f4c778..446ad267cb4f93ec7b724cea974f3ee90aa7a569:/scripts/combined-image.sh diff --git a/scripts/combined-image.sh b/scripts/combined-image.sh index eecd3d7f2..30373e756 100644 --- a/scripts/combined-image.sh +++ b/scripts/combined-image.sh @@ -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