summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-07-30 15:21:31 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2012-07-30 15:21:31 +0200
commit4cc5f6439c5f422fd93a162bf1e74d66110fcea2 (patch)
tree5446bdaa53ba9cc485a5e4143a1d4f201db2a438 /scripts
parent1e38faca3c0d44885d2bd931288936489faa03ac (diff)
parentd82e6c02d195f43338d44593aef03ca0eec4c02e (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
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