summaryrefslogtreecommitdiffstats
path: root/scripts/genhdimg
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2006-11-28 18:17:16 +0000
committerSascha Hauer <s.hauer@pengutronix.de>2006-11-28 18:17:16 +0000
commitd34197278456a9d62508c5d45f2997664f3f8fa4 (patch)
treebd183428cc2bd265a7ce2cd2e47aa061f7f3028e /scripts/genhdimg
parent76e769073f20f4bc2cec4c95beb127a93f2206f7 (diff)
downloadptxdist-d34197278456a9d62508c5d45f2997664f3f8fa4.tar.gz
ptxdist-d34197278456a9d62508c5d45f2997664f3f8fa4.tar.xz
used wrong partition size
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6402 33e552b5-05e3-0310-8538-816dae2090ed
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
+