Gitlab CI: netifaces installation + minor fixes

This commit is contained in:
Rohit Gupta
2016-06-18 19:53:14 +02:00
parent 79df1bf7a2
commit 9c4bfb0195
2 changed files with 26 additions and 23 deletions
+5 -2
View File
@@ -234,14 +234,17 @@ check_install_additional_tools (){
$SUDO pip install pyroute2
$SUDO rm -fr /opt/ssh
$SUDO git clone https://gist.github.com/2190472.git /opt/ssh
echo "Installing Netinterfaces packge...."
log_netiface=$OPENAIR_DIR/cmake_targets/log/netiface_install_log.txt
echo_info "Installing Netinterfaces package. The logfile for installation is in $log_netiface"
(
$SUDO rm -fr /tmp/netifaces-0.10.4.tar.gz /tmp/netifaces
wget -P /tmp https://pypi.python.org/packages/18/fa/dd13d4910aea339c0bb87d2b3838d8fd923c11869b1f6e741dbd0ff3bc00/netifaces-0.10.4.tar.gz
tar -xzvf /tmp/netifaces-0.10.4.tar.gz -C /tmp
cd /tmp/netifaces-0.10.4
$SUDO python setup.py install
cd -
) >& $log_netiface
}
check_install_oai_software() {