summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaseer Ahmed <taseer94@gmail.com>2018-04-24 21:28:05 +0500
committerTaseer Ahmed <taseer94@gmail.com>2018-04-24 21:28:05 +0500
commit1029dbcfb452542a58de34171ba07b5d408a2e5c (patch)
treebbde46098dc92e160325a90a6c9dfac1f0c06114
parentb9ce25cd8076d548f42b0f896577789e502400ad (diff)
xci: install-lib: Install curl package
XCI_ANSIBLE_PIP_VERSION is determined dynamically using curl. This package is not present on every system, hence fails since it can not install a null version of Ansible Change-Id: I96a2237e6bdb28e09f0eebee4aae91742973d770 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
-rw-r--r--xci/files/install-lib.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/xci/files/install-lib.sh b/xci/files/install-lib.sh
index 43e1213e..af86be41 100644
--- a/xci/files/install-lib.sh
+++ b/xci/files/install-lib.sh
@@ -34,6 +34,7 @@ function install_ansible() {
python
venv
wget
+ curl
)
source /etc/os-release || source /usr/lib/os-release
@@ -54,6 +55,7 @@ function install_ansible() {
[python-devel]=python-devel
[venv]=python-virtualenv
[wget]=wget
+ [curl]=curl
)
EXTRA_PKG_DEPS=( python-xml )
sudo zypper -n ref
@@ -81,6 +83,7 @@ function install_ansible() {
[python-devel]=libpython-dev
[venv]=python-virtualenv
[wget]=wget
+ [curl]=curl
)
EXTRA_PKG_DEPS=( apt-utils )
sudo apt-get update
@@ -103,6 +106,7 @@ function install_ansible() {
[python-devel]=python-devel
[venv]=python-virtualenv
[wget]=wget
+ [curl]=curl
)
sudo $PKG_MANAGER updateinfo
EXTRA_PKG_DEPS=( deltarpm )