summaryrefslogtreecommitdiffstats
path: root/scripts/genhdimg
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/genhdimg')
-rwxr-xr-xscripts/genhdimg3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/genhdimg b/scripts/genhdimg
index f6a20d017..01ef1828a 100755
--- a/scripts/genhdimg
+++ b/scripts/genhdimg
@@ -51,4 +51,5 @@ genpart -b 0 -s 0 -m >> $IMAGEFILE
cat $STAGE2 /dev/zero | dd bs=512 count=299 >> $IMAGEFILE
# append the ext2 image padded to PARTSIZE blocks
-cat $FSIMAGE /dev/zero | dd bs=512 count=$(($PARTSIZE - 300)) >> $IMAGEFILE
+cat $FSIMAGE /dev/zero | dd bs=512 count=$PARTSIZE >> $IMAGEFILE
+