summaryrefslogtreecommitdiff
path: root/scripts/create-image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/create-image.sh')
-rwxr-xr-xscripts/create-image.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/create-image.sh b/scripts/create-image.sh
index 96a96ced8..ce3873792 100755
--- a/scripts/create-image.sh
+++ b/scripts/create-image.sh
@@ -72,8 +72,8 @@ else
fi
-printf "Generate qemu image\n"
-$qimg create -f raw $1 512M >/dev/null
+printf "Generate qemu image (2 GB)\n"
+$qimg create -f raw $1 2048M >/dev/null
printf "Creating filesystem $filesystem\n"
@@ -120,14 +120,12 @@ else
cp $2-initramfs $tmp/boot/initramfs
fi
-printf "Creating device nodes\n"
+#printf "Creating device nodes\n"
mknod -m 666 $tmp/dev/zero c 1 5
mknod -m 666 $tmp/dev/null c 1 3
mknod -m 622 $tmp/dev/console c 5 1
mknod -m 666 $tmp/dev/tty c 5 0
mknod -m 666 $tmp/dev/tty0 c 4 0
-#mknod -m 660 $tmp/dev/hda b 3 0
-#mknod -m 660 $tmp/dev/hda1 b 3 1
mknod -m 666 $tmp/dev/ttyS0 c 4 64
umount $tmp