From 1fe93bf666765927d9ed15ead14db85caf51098c Mon Sep 17 00:00:00 2001 From: Thomas F Herbert Date: Mon, 27 Jun 2016 10:37:46 -0400 Subject: RPM: Apex: Refactor build scripts: Remove reference to undercloud. Fix dependencies list. Refactor build ovs and build dpdk and test scripts. Correct default dpdk version in build ovs script. Remove references to instack VM -- no longer necessary. Remove script using custom Apex-lite-liberty for testing Consolidated functions and cleanup in response to reviewers. Change-Id: I0875acd87580769c7cd7e87b97bb3e04f0159b32 Signed-off-by: Thomas F Herbert --- build/build_dpdk_rpm.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'build/build_dpdk_rpm.sh') diff --git a/build/build_dpdk_rpm.sh b/build/build_dpdk_rpm.sh index 1812dc3..91a7fdf 100755 --- a/build/build_dpdk_rpm.sh +++ b/build/build_dpdk_rpm.sh @@ -61,13 +61,14 @@ then rm -rf $TMPDIR fi -echo "---------------------" -echo "Install dependencies for dpdk" -echo -sudo yum -y install gcc make python-devel openssl-devel autoconf automake rpm-build \ - redhat-rpm-config libtool libpcap-devel numactl-devel python-sphinx \ - libvirt-devel - +function install_pre_reqs() { + echo "----------------------------------------" + echo Install dependencies for dpdk. + echo + sudo yum -y install gcc make python-devel openssl-devel kernel-devel graphviz \ + kernel-debug-devel autoconf automake rpm-build redhat-rpm-config \ + libtool python-twisted-core desktop-file-utils groff PyQt4 +} mkdir -p $TMPDIR -- cgit 1.2.3-korg