3 # Build a base machine for CentOS distro
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
20 # Aihua Li, Huawei Technologies.
21 # Martin Klozik, Intel Corporation.
23 # Synchronize package index files
26 # Install required packages
27 yum -y install $(echo "
29 # Make, Compilers and devel
70 # install epel release required for git-review
74 # install SCL for python34
75 sudo yum -y install centos-release-scl-rh
77 # install python34 packages and git-review tool
78 yum -y install $(echo "
80 rh-python34-python-tkinter
83 # prevent ovs vanilla from building from source due to kernel incompatibilities
84 sed -i s/'SUBBUILDS = src_vanilla'/'#SUBBUILDS = src_vanilla'/ ../src/Makefile