projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94dc20c
)
[scripts] use mktemp instead of tempfile in combined-image.sh to make it work on...
author
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 22 Sep 2009 15:07:12 +0000
(15:07 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 22 Sep 2009 15:07:12 +0000
(15:07 +0000)
SVN-Revision: 17674
scripts/combined-image.sh
patch
|
blob
|
history
diff --git
a/scripts/combined-image.sh
b/scripts/combined-image.sh
index eecd3d7f20d7f225ada6be88725965c5453764df..30373e7566d20120b37a9b14845ee91a3b90271d 100644
(file)
--- 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