From d40578f18c7fb18d1cc2539cc1f77e2250432e89 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 16 Jul 2009 19:09:03 +0000 Subject: [PATCH] Fixed size calculation (was using half of the available space) --- targets/NetBSD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/NetBSD b/targets/NetBSD index 2d8be4b..7b73f2d 100644 --- a/targets/NetBSD +++ b/targets/NetBSD @@ -36,7 +36,7 @@ _image_image() $SUDO $VNCONFIG -u "$VND" $DD if="$DEVZERO" of="$IMAGE_FILE" count="$IMAGE_SIZE" && $FDISK -Ffi "$IMAGE_FILE" || exit 2 - SIZE=$((IMAGE_SIZE - 63)) + SIZE=$((IMAGE_SIZE * 2 - 63)) $FDISK -Ffu0s "169/63/$SIZE" "$IMAGE_FILE" || exit 2 $FDISK -Ffa0 "$IMAGE_FILE" || exit 2 $SUDO $VNCONFIG -c "$VND" "$IMAGE_FILE" || exit 2