blob: 23bd0149dfbf81aae19f9343e5ec09cda32dec4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/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
|