aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2021-02-11 12:10:01 +0100
committerMauro Sardara <msardara@cisco.com>2021-02-11 11:10:21 +0000
commit9e06c0466f7bf8c2fe80f5fc79fe1cb95053eedd (patch)
treec284f43165ba9567dca7bfbc6f1cce613af32ad2
parentc7a3e7b95b426836b72f59e1530dda80d8a0eac5 (diff)
HICN-685 Fix package script for centos8
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I4a683dc37e6669d51e001604c41221efb26fb0de
-rw-r--r--scripts/functions.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/functions.sh b/scripts/functions.sh
index 8453bc1..5e98c2a 100644
--- a/scripts/functions.sh
+++ b/scripts/functions.sh
@@ -122,8 +122,8 @@ function install_deps() {
elif [ ${DISTRIB_ID} == "centos" ]; then
yum config-manager --set-enabled powertools
# Temporary workaround until centos fixes the asio-devel package (https://forums.centos.org/viewtopic.php?t=73034)
- curl -OL http://mirror.centos.org/centos/8/PowerTools/x86_64/os/Packages/asio-devel-1.10.8-7.module_el8.1.0+217+4d875839.x86_64.rpm
- yum localinstall ./asio-devel-1.10.8-7.module_el8.1.0+217+4d875839.x86_64.rpm
+ curl -L http://mirror.centos.org/centos/8/PowerTools/x86_64/os/Packages/asio-devel-1.10.8-7.module_el8.1.0+217+4d875839.x86_64.rpm > /tmp/asio-devel-1.10.8-7.module_el8.1.0+217+4d875839.x86_64.rpm
+ yum localinstall -y --nogpgcheck /tmp/asio-devel-1.10.8-7.module_el8.1.0+217+4d875839.x86_64.rpm
echo ${DEPS_CENTOS[@]} | xargs sudo yum install -y --nogpgcheck
fi
}