From aeb3fcf67744fa7691a1c4fd6fdfaf53d9762386 Mon Sep 17 00:00:00 2001 From: Federico Ressi Date: Fri, 11 Oct 2019 07:46:45 +0200 Subject: [PATCH] Add bindep file. Change-Id: I355a5590f8aa4e99d21813e41fe86e74bbb37803 --- bindep.txt | 13 +++++++++++++ devstack/plugin.sh | 2 +- devstack/settings | 2 ++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 bindep.txt diff --git a/bindep.txt b/bindep.txt new file mode 100644 index 000000000..efd3a1035 --- /dev/null +++ b/bindep.txt @@ -0,0 +1,13 @@ +# This file contains runtime (non-python) dependencies +# More info at: https://docs.openstack.org/infra/bindep/readme.html + +libffi-dev [platform:dpkg] +libffi-devel [platform:rpm] +gcc [platform:rpm] +gcc [platform:dpkg] +python-dev [platform:dpkg] +python-devel [platform:rpm] +python3-dev [platform:dpkg] +python3-devel [platform:rpm] +openssl-devel [platform:rpm] +libssl-dev [platform:dpkg] diff --git a/devstack/plugin.sh b/devstack/plugin.sh index d5d67d343..9f0bc3f3d 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -5,7 +5,7 @@ TOBIKO_PLUGIN_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) function install_tobiko { echo_summary "Installing tobiko-plugin" install_python3 - setup_dev_lib tobiko + setup_dev_lib ${TOBIKO_BINDEP} tobiko } diff --git a/devstack/settings b/devstack/settings index 77709c74a..7b83052a4 100644 --- a/devstack/settings +++ b/devstack/settings @@ -13,6 +13,8 @@ TOBIKO_DEBUG=${TOBIKO_DEBUG:-True} TOBIKO_LOG_DIR=${TOBIKO_LOG_DIR:-${LOGDIR:-}} TOBIKO_LOG_FILE=${TOBIKO_LOG_FILE:-tobiko.log} +TOBIKO_BINDEP=${BINDEP_CMD:+-bindep} + # --- Glance settings --- TOBIKO_GLANCE_IMAGE_DIR=${TOBIKO_GLANCE_IMAGE_DIR:-}