summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images.i386
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mk-images.i386')
-rw-r--r--scripts/mk-images.i3861
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mk-images.i386 b/scripts/mk-images.i386
index cb21f2a32..9d8a48c5b 100644
--- a/scripts/mk-images.i386
+++ b/scripts/mk-images.i386
@@ -8,6 +8,7 @@ fi
SECSTAGE="vfat raid0 raid1 raid5"
prepareBootImage() {
+ dd if=/dev/zero bs=1k count=$BOOTDISKSIZE of=/$MBD_TMPIMAGE 2>/dev/null
gunzip < $BOOTDISKDIR/template.img.gz |
dd of=$MBD_TMPIMAGE conv=notrunc > /dev/null 2> /dev/null
$SYSLINUX $MBD_TMPIMAGE