db5f639028e17b56ce86af889f91a1749003da48
[releng/builder.git] / vagrant / basic-builder / bootstrap.sh
1 #!/bin/bash
2
3 # vim: sw=4 ts=4 sts=4 et tw=72 :
4
5 yum clean all
6
7 # Make sure the system is fully up to date
8 yum update -q -y
9
10 # The following packages are not needed by all projects, but they are
11 # needed by enough to make them useful everywhere
12 yum install -q -y @development perl-{Digest-SHA,ExtUtils-MakeMaker} \
13     ant {boost,gtest,json-c,libcurl,libxml2,libvirt,openssl}-devel \
14     {readline,unixODBC}-devel yum-utils
15
16 # tcpmd5 is wanting to do 32bit ARM cross-compilation and is specifically
17 # requesting the following be installed (note the kernel headers are
18 # going to be the x86_64 package as there aren't separate 32bit and
19 # x86_64 packages for them
20 yum install -q -y glibc-devel.i686 kernel-headers
21
22 # The following is needed by opendove, if this is to be perfomed against
23 # an EL6 system some of these packages are not availalble (or at the
24 # wrong version) in publically available repositories as such this
25 # should only really be done on an EL7 (or F18+) system
26 yum install -q -y {jansson,libevent,libnl,libuuid}-devel \
27     python-{devel,virtualenv,setuptools,pip}
28
29 #The following is needed for the new code in vtn project.
30 #these packages will enable C# compilation.
31 rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
32 #Added the mono tools repository
33 yum-config-manager -q -y --add-repo http://origin-download.mono-project.com/repo/centos6/
34 #Install the nuget binary
35 yum install -q -y http://origin-download.mono-project.com/repo/centos/n/nuget/nuget-2.8.3+md58+dhx1-0.noarch.rpm
36 #install the mono toolchain
37 yum -q -y install mono-complete