6 echo "Init script for $boxName"
9 if [ "$boxName" == "lucid" ]
12 echo "Additional Python-Repository"
15 # needed for add-appt-repository
16 apt-get
-y install python-software-properties
18 add-apt-repository ppa
:mercurial-ppa
/releases
24 echo "Installing additional packages"
27 apt-get
-y install mercurial
28 apt-get
-y install bison
29 apt-get
-y install flex
30 apt-get
-y install g
++
31 apt-get
-y install make
32 #apt-get -y install python-dev
33 apt-get
-y install ccache
35 # test scripts with different shells
36 apt-get
-y install csh
37 apt-get
-y install tcsh
38 apt-get
-y install zsh
40 # to make the ThirdParty-Stuff work
41 apt-get
-y install rpm
43 # this is needed for the packaging stuff
45 echo "Setting for postfix"
48 # Make sure that default-mta installs
49 debconf-set-selections
<<< "postfix postfix/mailname string vagrant.test.machine.com"
50 debconf-set-selections
<<< "postfix postfix/myhostname string vagrant.test.machine.com"
51 debconf-set-selections
<<< "postfix postfix/main_mailer_type string 'Internet Site'"
52 debconf-set-selections
<<< "postfix postfix/destinations string localhost"
54 # this workaround doesn't work for lucid
55 export DEBIAN_FRONTEND
=noninteractive
58 echo "Tools for packaging"
61 # Needed for packaging
62 apt-get
-y install default-mta
63 apt-get
-y install dpkg-dev
64 apt-get
-y install debhelper devscripts cdbs
66 # Not needed. Just to keep Bernhard happy
67 apt-get
-y install emacs
70 echo "Ubuntu-specific ended. Now doing general stuff"
73 /vagrant
/initGeneralScript.sh