summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-07-30 14:51:17 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-07-30 14:51:17 +0200
commitd82e6c02d195f43338d44593aef03ca0eec4c02e (patch)
tree7fda885310f185374a57aed250b861c2e338240e /scripts
parent80e9518b09e852031d9a350a23b05142c1d1c3a8 (diff)
refresh kernel config, verified on qemu-mipsel with 3.5
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/create-image.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/create-image.sh b/scripts/create-image.sh
index 6e3c15456..d7e3c7435 100755
--- a/scripts/create-image.sh
+++ b/scripts/create-image.sh
@@ -90,8 +90,6 @@ else
fi
fi
-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
@@ -99,6 +97,8 @@ case $ostype in
offset=16384
;;
(Linux)
+ printf "Generate qemu image (768 MB)\n"
+ qemu-img create -f raw $1 768M >/dev/null
parted -s $1 mklabel msdos
parted -s $1 -- mkpart primary ext2 0 -0
parted -s $1 set 1 boot on