-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuildall.sh
59 lines (50 loc) · 1.06 KB
/
buildall.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/bash
set -e
builds=" \
basefiles \
firefox \
freeradius \
radiusclient \
radiusclientng \
sqlalchemy \
pythonapsw \
matplotlib \
l2tpgw \
matplotlib \
sqlalchemy \
usplash \
casper \
conntrack \
iptables \
ezipupdate \
formal \
ippool \
kernel \
libnetfilterconntrack \
libnfnetlink \
monit \
nevow \
openl2tp \
openswan \
ppp \
rrd \
syslog \
snmpd \
twisted"
if test -e ./_build_temp; then
echo "Please move old _build_temp somewhere safe or delete it..."
exit 0
fi
for i in $builds; do
./build.py ${i}build --help || exit 1
done
for i in $builds; do
echo "Building now: ${i}build.."
./build.py ${i}build || exit 1
echo "done."
done
revision=`svnversion .`
./build.py vpneasebuild --module-search-path ./_build_temp || exit 1
scp -r _build_temp/vpneasebuild/vpnease-repository_r$revision root@ode:/var/local/data/repositories/vpnease/ || exit 1
ssh root@ode \(cd /var/local/data/repositories/vpnease\;rm 1.2\;ln -s vpnease-repository_r$revision 1.2\) || exit 1
./build.py livecdbuild --ubuntu-image /root/work/ubuntu-6.06.1-desktop-i386.iso