From cf87d3067a63cb8be315a3addfd9c27d86be3b5a Mon Sep 17 00:00:00 2001 From: baigk Date: Tue, 8 Sep 2015 07:47:19 -0400 Subject: Build improvement for speedup and using public repo JIRA: COMPASS-19 Change-Id: Iba101807e1bd2f843f1253791b7e87e1acb7934b Signed-off-by: baigk --- build/arch/Debian/make_openvswitch-switch.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 build/arch/Debian/make_openvswitch-switch.sh (limited to 'build/arch/Debian/make_openvswitch-switch.sh') diff --git a/build/arch/Debian/make_openvswitch-switch.sh b/build/arch/Debian/make_openvswitch-switch.sh new file mode 100644 index 00000000..80b27a79 --- /dev/null +++ b/build/arch/Debian/make_openvswitch-switch.sh @@ -0,0 +1,17 @@ +#!/bin/bash +apt-get update +apt-get install -y build-essential fakeroot debhelper \ + autoconf automake bzip2 libssl-dev \ + openssl graphviz python-all procps \ + python-qt4 python-zopeinterface \ + python-twisted-conch libtool wget + +pushd . +cd /tmp +wget http://openvswitch.org/releases/openvswitch-2.3.1.tar.gz +tar -zxvf openvswitch-2.3.1.tar.gz +cd openvswitch-2.3.1 +DEB_BUILD_OPTIONS='parallel=8 nocheck' fakeroot debian/rules binary +cd - +cp -f *.deb /var/cache/apt/archives/ +popd -- cgit 1.2.3-korg