summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-07-30 10:47:32 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2012-07-30 10:47:32 +0200
commit80e9518b09e852031d9a350a23b05142c1d1c3a8 (patch)
treee102ad86125813b6282c6ecfc1d991a65cedcf7d
parentb38a0757ffce4d386da2dca798cc04b21c47a876 (diff)
use 768 mb as default
-rwxr-xr-xscripts/create-image.sh8
-rw-r--r--scripts/mbrbin16384 -> 512 bytes
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/create-image.sh b/scripts/create-image.sh
index 5ef6621c3..6e3c15456 100755
--- a/scripts/create-image.sh
+++ b/scripts/create-image.sh
@@ -90,8 +90,8 @@ else
fi
fi
-printf "Generate qemu image (512 MB)\n"
-qemu-img create -f raw $1 512M >/dev/null
+printf "Generate qemu image (768 MB)\n"
+qemu-img create -f raw $1 768M >/dev/null
printf "Create partition and filesystem\n"
case $ostype in
@@ -124,7 +124,7 @@ case $ostype in
chmod 1777 $tmp/tmp
chmod 4755 $tmp/bin/busybox
printf "Creating filesystem $filesystem\n"
- genext2fs -q -b 409600 -d $tmp ${1}.new
+ genext2fs -q -b 709600 -d $tmp ${1}.new
cat scripts/mbr ${1}.new > $1
rm ${1}.new
;;
@@ -135,7 +135,7 @@ case $ostype in
mkfs.$filesystem $mkfsopts ${1}.new >/dev/null
cat mbr ${1}.new > $1
rm ${1}.new
- rm mbr
+ #rm mbr
tmp=$(mktemp -d)
mount -o loop,offset=$offset -t $filesystem $1 $tmp
if [ -z $initramfs ];then
diff --git a/scripts/mbr b/scripts/mbr
index 574f20540..af9d51626 100644
--- a/scripts/mbr
+++ b/scripts/mbr
Binary files differ