Paul Davis
2c01b36740
git-svn-id: svn://localhost/ardour2/branches/3.0@9195 d708f5d6-7413-0410-9779-e7cbd77b26cf
25 lines
747 B
Bash
25 lines
747 B
Bash
#!/bin/sh
|
|
|
|
vbm=VBoxManage
|
|
basedir=/home/harrison/ardour/3.0
|
|
tooldir=$basedir/tools/linux_packaging
|
|
u=harrison
|
|
p=harrison
|
|
|
|
for VM in Build_32bit_804s Build_64bit_804s ; do
|
|
$vbm startvm $VM --type headless
|
|
echo "$VM: Waiting for guest control to be available (12 seconds) ... "
|
|
sleep 12
|
|
echo "$VM: Running $tooldir/noderun $basedir on $VM ... "
|
|
$vbm guestcontrol exec $VM /bin/sh \
|
|
--arguments $tooldir/noderun \
|
|
--environment PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
|
|
--username $u --password $p --wait-for stdout
|
|
status=$?
|
|
$vbm controlvm $VM savestate
|
|
if [ $status -ne 0 ] ; then
|
|
echo "Build failed while in VM $VM"
|
|
break
|
|
fi
|
|
done
|