diff options
author | David Walter Seikel | 2013-05-14 01:33:25 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-05-14 01:33:25 +1000 |
commit | af48150481384d86b73ab154e3390d3c5c72dab3 (patch) | |
tree | 7fe1f38372af21e76d50c5302afa9e5d1b2eb7aa | |
parent | Windows is slow and unreliable. (diff) | |
download | ImpyReleaseBuilder-af48150481384d86b73ab154e3390d3c5c72dab3.zip ImpyReleaseBuilder-af48150481384d86b73ab154e3390d3c5c72dab3.tar.gz ImpyReleaseBuilder-af48150481384d86b73ab154e3390d3c5c72dab3.tar.bz2 ImpyReleaseBuilder-af48150481384d86b73ab154e3390d3c5c72dab3.tar.xz |
VMs run on BTRFS hosts better if you disable the cache on the disk image.
-rwxr-xr-x | BuildReleases.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/BuildReleases.sh b/BuildReleases.sh index a3fd148..84876cf 100755 --- a/BuildReleases.sh +++ b/BuildReleases.sh | |||
@@ -74,7 +74,7 @@ FTP_SERVER=10.0.2.2 | |||
74 | if [ $do_windowsXP -eq 1 ] | 74 | if [ $do_windowsXP -eq 1 ] |
75 | then | 75 | then |
76 | echo "Building in qemu, Windows XP." | 76 | echo "Building in qemu, Windows XP." |
77 | qemu-system-i386 -M pc -cpu athlon -m 2G -hda ${img_windowsXP} -net nic -net user,vlan=0,hostfwd=tcp::2222-:22 -rtc base=localtime & | 77 | qemu-system-i386 -M pc -cpu athlon -m 2G -drive file=${img_windowsXP},index=0,media=disk,cache=none -net nic -net user,vlan=0,hostfwd=tcp::2222-:22 -rtc base=localtime & |
78 | sleep 60 | 78 | sleep 60 |
79 | #expect -c 'spawn ssh -p 2222 me@localhost ; expect assword ; send " \n" ; interact' <<- zzzzEOFzzzz | 79 | #expect -c 'spawn ssh -p 2222 me@localhost ; expect assword ; send " \n" ; interact' <<- zzzzEOFzzzz |
80 | ssh -p 2222 me@localhost <<- zzzzEOFzzzz | 80 | ssh -p 2222 me@localhost <<- zzzzEOFzzzz |
@@ -174,7 +174,7 @@ fi | |||
174 | if [ $do_linux64 -eq 1 ] | 174 | if [ $do_linux64 -eq 1 ] |
175 | then | 175 | then |
176 | echo "Building in qemu, 64 bit linux." && | 176 | echo "Building in qemu, 64 bit linux." && |
177 | qemu-system-x86_64 -M pc -cpu phenom -m 1G -hda ${img_linux64} -serial stdio <<- zzzzEOFzzzz | 177 | qemu-system-x86_64 -M pc -cpu phenom -m 1G -drive file=${img_linux64},index=0,media=disk,cache=none -serial stdio <<- zzzzEOFzzzz |
178 | # | 178 | # |
179 | mkdir -p /home/builder && | 179 | mkdir -p /home/builder && |
180 | cd /home/builder && | 180 | cd /home/builder && |
@@ -206,7 +206,7 @@ fi | |||
206 | if [ $do_linux32 -eq 1 ] | 206 | if [ $do_linux32 -eq 1 ] |
207 | then | 207 | then |
208 | echo "Building in qemu, 32 bit linux." && | 208 | echo "Building in qemu, 32 bit linux." && |
209 | qemu-system-i386 -M pc -cpu athlon -m 1G -hda ${img_linux32} -serial stdio <<- zzzzEOFzzzz | 209 | qemu-system-i386 -M pc -cpu athlon -m 1G -drive file=${img_linux32},index=0,media=disk,cache=none -serial stdio <<- zzzzEOFzzzz |
210 | # | 210 | # |
211 | mkdir -p /home/builder && | 211 | mkdir -p /home/builder && |
212 | cd /home/builder && | 212 | cd /home/builder && |