summaryrefslogtreecommitdiff
path: root/scripts/combined-image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/combined-image.sh')
-rw-r--r--scripts/combined-image.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/combined-image.sh b/scripts/combined-image.sh
index eecd3d7..30373e7 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