Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (12 sloc) 0.35 kb
#!/bin/sh
IMAGE1=x-load.bin.ift
IMAGE2=x-load-signed.ift
TMP=oneloader
PAGESIZE=2048
size=`ls -la $IMAGE1 | awk -F' ' '{ printf $5}'`
let remain=$PAGESIZE-$size
dd if=/dev/zero of=$IMAGE2 bs=1 count=512
#dd if=/dev/zero of=zerofile bs=$remain count=1 > /dev/null 2> /dev/null
cat $IMAGE1>>$IMAGE2
rm -f $IMAGE1
echo "Create $IMAGE2 completed..."
Jump to Line
Something went wrong with that request. Please try again.