centos73_install: Provide installer script for CentOS 7.3 91/27291/1
authorgoldammx <martinx.goldammer@intel.com>
Thu, 19 Jan 2017 09:56:48 +0000 (04:56 -0500)
committergoldammx <martinx.goldammer@intel.com>
Fri, 20 Jan 2017 12:19:21 +0000 (07:19 -0500)
Adds installer script for CentOS 7.3. Modifications are
based on installation script for RHEL7.3.

Modified dpdk makefile to allow upstream dpdk to build.
Prevents upstream vanilla OVS from building due to kernel
incompatibilities.

JIRA: VSPERF-452

Change-Id: Iaf05de0cf2ad7f5636d9474f351d3c7d193123cf
Signed-off-by: Martin Goldammer <martinx.goldammer@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
docs/configguide/installation.rst
src/dpdk/Makefile
systems/centos/build_base_machine.sh

index 5010aef..476919a 100755 (executable)
@@ -9,7 +9,7 @@ Installing vswitchperf
 Supported Operating Systems
 ---------------------------
 
-* CentOS 7
+* CentOS 7.3
 * Fedora 20
 * Fedora 21
 * Fedora 22
@@ -98,10 +98,10 @@ will also use `virtualenv`_ to create a vsperf virtual environment, which is
 isolated from the default Python environment. This environment will reside in a
 directory called **vsperfenv** in $HOME.
 
-**Please Note**: For RHEL 7.3 Enterprise OVS Vanilla is not built from upstream
-source due to kernel incompatibilities. Please see the instructions in the
-vswitchperf_design document for details on configuring OVS Vanilla for binary
-package usage.
+**Please Note**: For RHEL 7.3 Enterprise and CentOS 7.3 OVS Vanilla is not
+built from upstream source due to kernel incompatibilities. Please see the
+instructions in the vswitchperf_design document for details on configuring
+OVS Vanilla for binary package usage.
 
 You will need to activate the virtual environment every time you start a
 new shell session. Its activation is specific to your OS:
index 93cb729..6967116 100755 (executable)
@@ -79,6 +79,12 @@ else
        $(AT)sed -i -e 's/CONFIG_RTE_LIBRTE_VHOST_USER=.\+/CONFIG_RTE_LIBRTE_VHOST_USER=$(VHOST_USER)/g' $(CONFIG_FILE_LINUXAPP)
        $(AT)sed -i -e 's/CONFIG_RTE_BUILD_COMBINE_LIBS=./CONFIG_RTE_BUILD_COMBINE_LIBS=y/g' $(CONFIG_FILE_LINUXAPP)
 endif
+# CentOS 7.3 specific config changes to compile
+ifeq ($(ID),"centos")
+ifeq ($(VERSION_ID),"7")
+       $(AT)sed -i.bak s@'SRCS-y += ethtool/igb/igb_main.c'@'#SRCS-y += ethtool/igb/igb_main.c'@g $(WORK_DIR)/lib/librte_eal/linuxapp/kni/Makefile
+endif
+endif
 # RHEL 7.3 specific config changes to compile
 ifeq ($(ID),"rhel")
 ifeq ($(VERSION_ID),"7.3")
index 5430ceb..f2efb54 100755 (executable)
@@ -77,3 +77,5 @@ python33
 python33-python-tkinter
 git-review
 " | grep -v ^#)
+# prevent ovs vanilla from building from source due to kernel incompatibilities
+sed -i s/'SUBBUILDS = src_vanilla'/'#SUBBUILDS = src_vanilla'/ ../src/Makefile