BUGFIX: Seg-fault in multiphaseInterFoam. Author: Henrik Rusche. Merge: Hrvoje Jasak
[foam-extend-3.2.git] / vagrantSandbox / initArchlinuxScript.sh
blob76e8fadbc0cfcf2cd3db97138306e3f4c5b109f9
1 #! /bin/bash
3 boxName=$1
5 echo
6 echo "Init script for $boxName"
7 echo
9 echo
10 echo "Full update of the system"
11 echo
13 pacman -Syu
15 yaourt --noconfirm -S rpm-org
17 neededPackages=(gcc-fortran ccache mercurial bison flex git svn)
18 bonusPackages=(emacs tcsh)
19 thirdpartyPackages=(openmpi cmake hwloc)
21 for p in ${neededPackages[@]}; do
22 pacman --noconfirm -S $p
23 done
25 for p in ${bonusPackages[@]}; do
26 pacman --noconfirm -S $p
27 done
29 for p in ${thirdpartyPackages[@]}; do
30 pacman --noconfirm -S $p
31 done
33 # for the used archlinux-Box the /home is too small but / is big enough
35 mkdir /Foam
36 ln -s /Foam/ /home/vagrant/foam
37 chown vagrant:vagrant /Foam
39 echo
40 echo "Archlinux-specific ended. Now doing general stuff"
41 echo
43 /vagrant/initGeneralScript.sh
45 echo
46 echo "Ended"