From 02d321f9648a1f53b2e058039fdf45d42b896f6b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Leroy?= <frederic.leroy@b-com.com>
Date: Wed, 15 Jun 2016 08:42:46 +0200
Subject: [PATCH] fix iperf3 installation for Ubuntu 14.04

---
 cmake_targets/tools/build_helper | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/cmake_targets/tools/build_helper b/cmake_targets/tools/build_helper
index cb5ff0bba0..9ff34c2dd6 100755
--- a/cmake_targets/tools/build_helper
+++ b/cmake_targets/tools/build_helper
@@ -263,7 +263,12 @@ check_install_oai_software() {
     fi
     $SUDO apt-get update
     $SUDO apt install -y software-properties-common
-    # Now, we can add new repository here if needed
+    case "$(get_distribution_release)" in
+        "Ubuntu14.04")
+            # For iperf3
+            $SUDO add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty-backports universe"
+            $SUDO apt-get update
+    esac
     $SUDO apt-get install -y \
 	autoconf  \
 	automake  \
-- 
GitLab