Move xmlstarlet and sshpass to vagrant definition
[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 # Install python dependencies
17 yum install -y python-{devel,virtualenv,setuptools,pip}
18
19 # Needed by autorelease scripts
20 yum install -y xmlstarlet
21
22 # sshpass for the current deploy test to be runable immediatelly after
23 # build
24 yum install -y sshpass
25
26 # tcpmd5 is wanting to do 32bit ARM cross-compilation and is specifically
27 # requesting the following be installed (note the kernel headers are
28 # going to be the x86_64 package as there aren't separate 32bit and
29 # x86_64 packages for them
30 yum install -q -y glibc-devel.i686 kernel-headers
31
32 # The following is needed by opendove, if this is to be perfomed against
33 # an EL6 system some of these packages are not availalble (or at the
34 # wrong version) in publically available repositories as such this
35 # should only really be done on an EL7 (or F18+) system
36 yum install -q -y {jansson,libevent,libnl,libuuid}-devel
37
38 #The following is needed for the new code in vtn project.
39 #these packages will enable C# compilation.
40 rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
41 #Added the mono tools repository
42 yum-config-manager -q -y --add-repo http://origin-download.mono-project.com/repo/centos6/
43 #Install the nuget binary
44 yum install -q -y http://origin-download.mono-project.com/repo/centos/n/nuget/nuget-2.8.3+md58+dhx1-0.noarch.rpm
45 #install the mono toolchain
46 yum -q -y install mono-complete