summaryrefslogtreecommitdiffstats
path: root/build/build_dpdk_rpm.sh
diff options
context:
space:
mode:
authorThomas F Herbert <therbert@redhat.com>2016-06-27 10:37:46 -0400
committerThomas F Herbert <therbert@redhat.com>2016-06-29 13:40:42 -0400
commit1fe93bf666765927d9ed15ead14db85caf51098c (patch)
tree7d38e1a8d3316a09e8cf9742940fb9b54bd56af5 /build/build_dpdk_rpm.sh
parent36014367fcc0cd5cd1942cb077c6f52244a3164a (diff)
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 <therbert@redhat.com>
Diffstat (limited to 'build/build_dpdk_rpm.sh')
-rwxr-xr-xbuild/build_dpdk_rpm.sh15
1 files changed, 8 insertions, 7 deletions
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