summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-10-30 09:13:21 +0100
committerAlberto Compagno <acompagn+fdio@cisco.com>2019-10-30 09:13:21 +0100
commit3ee27828fad5367503108060560943121da378cc (patch)
tree3a731e6952bab63fff181ab99ac6bbb2cd0c0644 /scripts
parent0afc64ba6ca5a522202c948fc56ae42344a51e76 (diff)
[HICN-366] Installing python3-ply
Adding missing python3-ply package on the build-package script Change-Id: I3fa536483bb3e8f3a6bd81011515172b00cce4ff Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build-packages.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/build-packages.sh b/scripts/build-packages.sh
index c9856a0a0..febb69bd4 100644
--- a/scripts/build-packages.sh
+++ b/scripts/build-packages.sh
@@ -29,7 +29,8 @@ VPP_VERSION_RPM="19.08.1-release.x86_64"
BUILD_TOOLS_UBUNTU="build-essential doxygen"
LIBSSL_LIBEVENT_UBUNTU="libevent-dev libssl-dev"
-DEPS_UBUNTU="libparc-dev libasio-dev libconfig-dev libcurl4-openssl-dev vpp=${VPP_VERSION_DEB} vpp-dev=${VPP_VERSION_DEB} libvppinfra=${VPP_VERSION_DEB} libvppinfra-dev=${VPP_VERSION_DEB} vpp-plugin-core=${VPP_VERSION_DEB}"
+DEPS_UBUNTU="libparc-dev libasio-dev libconfig-dev libcurl4-openssl-dev vpp=${VPP_VERSION_DEB} vpp-dev=${VPP_VERSION_DEB} libvppinfra=${VPP_VERSION_DEB} libvppinfra-dev=${VPP_VERSION_DEB} vpp-plugin-core=${VPP_VERSION_DEB} python3-ply"
+DEPS_CMAKE_UBUNTU="curl"
# BUILD_TOOLS_GROUP_CENTOS="'Development Tools'"
DEPS_CENTOS="vpp-devel-${VPP_VERSION_RPM} vpp-lib-${VPP_VERSION_RPM} libparc-devel libcurl-devel asio-devel libconfig-devel centos-release-scl devtoolset-7"
@@ -37,6 +38,11 @@ DEPS_CENTOS_NOVERSION="vpp-devel vpp-lib libparc-devel libcurl-devel asio-devel
LATEST_EPEL_REPO="http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
install_cmake() {
+ if [ "${DISTRIB_ID}" == "ubuntu" ]; then
+ sudo apt update
+ echo ${DEPS_CMAKE_UBUNTU} | xargs sudo ${apt_get} install -y --allow-unauthenticated --no-install-recommends
+ fi
+
if ! grep -q "8.8.8.8" /etc/resolv.conf; then
echo "nameserver 8.8.8.8" | sudo tee -a /etc/resolv.conf
fi