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
34 apt-get
-y install cmake
36 # test scripts with different shells
37 apt-get
-y install csh
38 apt-get
-y install tcsh
39 apt-get
-y install zsh
41 # to make the ThirdParty-Stuff work
42 apt-get
-y install rpm
44 # this is needed for the packaging stuff
46 echo "Setting for postfix"
49 # Make sure that default-mta installs
50 debconf-set-selections
<<< "postfix postfix/mailname string vagrant.test.machine.com"
51 debconf-set-selections
<<< "postfix postfix/myhostname string vagrant.test.machine.com"
52 debconf-set-selections
<<< "postfix postfix/main_mailer_type string 'Internet Site'"
53 debconf-set-selections
<<< "postfix postfix/destinations string localhost"
55 # this workaround doesn't work for lucid
56 export DEBIAN_FRONTEND
=noninteractive
59 echo "Tools for packaging"
62 # Needed for packaging
63 apt-get
-y install default-mta
64 apt-get
-y install dpkg-dev
65 apt-get
-y install debhelper devscripts cdbs
67 # Not needed. Just to keep Bernhard happy
68 apt-get
-y install emacs
71 echo "Ubuntu-specific ended. Now doing general stuff"
74 /vagrant
/initGeneralScript.sh