This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/vagrantSandbox/initOpenSUSEScript.sh

33 lines
584 B
Bash
Raw Normal View History

#! /bin/bash
boxName=$1
echo
echo "Init script for $boxName"
echo
# Otherwise python/mercurial won't install
zypper -n remove patterns-openSUSE-minimal_base-conflicts
# patterns-openSUSE-devel_python
neededPackages=(gcc-c++ mercurial git flex bison make ccache zlib-devel rpm-build binutils-devel)
bonusPackages=(emacs csh tcsh zsh)
for p in ${neededPackages[@]}; do
zypper -n install $p
done
for p in ${bonusPackages[@]}; do
zypper -n install $p
done
echo
echo "OpenSUSE-specific ended. Now doing general stuff"
echo
/vagrant/initGeneralScript.sh
echo
echo "Ended"