From c2671778de9608be9dc35e9abd672903ade67cc1 Mon Sep 17 00:00:00 2001 From: thomasl <thomasl@eurecom.fr> Date: Wed, 19 Nov 2014 12:21:28 +0000 Subject: [PATCH] add nettle installation that was lacking git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6040 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- targets/build_helper.bash | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/targets/build_helper.bash b/targets/build_helper.bash index 17828df3f4..ec8c0d6f25 100755 --- a/targets/build_helper.bash +++ b/targets/build_helper.bash @@ -282,6 +282,13 @@ check_install_oai_software() { if [ ! -f ./.lock_oaibuild ]; then $SUDO apt-get update + if [ $UBUNTU_REL = "12.04" ]; then + test_uninstall_package nettle-dev + test_uninstall_package nettle-bin + else + test_install_package nettle-dev + test_install_package nettle-bin + fi test_install_package autoconf test_install_package automake test_install_package bison @@ -362,9 +369,12 @@ check_install_oai_software() { check_install_hss_software() { if [ ! -f ./.lock_oaibuild ]; then $SUDO apt-get update - if [ $UBUNTU_REL != "12.04" ]; then + if [ $UBUNTU_REL = "12.04" ]; then test_uninstall_package nettle-dev test_uninstall_package nettle-bin + else + test_install_package nettle-dev + test_install_package nettle-bin fi test_install_package autoconf test_install_package automake @@ -419,9 +429,12 @@ check_install_epc_software() { if [ ! -f ./.lock_oaibuild ]; then $SUDO apt-get update - if [ $UBUNTU_REL != "12.04" ]; then + if [ $UBUNTU_REL = "12.04" ]; then test_uninstall_package nettle-dev test_uninstall_package nettle-bin + else + test_install_package nettle-dev + test_install_package nettle-bin fi test_install_package autoconf test_install_package automake -- GitLab