Add new requirements install in setup.sh script
* This changeset handle proper db migrations, by installing required libs for postgresql * Add required packages to /doc/source/install/prepare.rst document Change-Id: I5819022918af6f240642d6751ab2d47b9be96e2b
This commit is contained in:
parent
94bf349e15
commit
ddadb8ce82
@ -48,6 +48,12 @@ System prerequisites
|
||||
|
||||
* libpq-dev
|
||||
|
||||
* python-openssl
|
||||
|
||||
* mysql-client
|
||||
|
||||
* python-mysqldb
|
||||
|
||||
*CentOS*
|
||||
|
||||
* gcc
|
||||
@ -62,6 +68,14 @@ System prerequisites
|
||||
|
||||
* libffi-devel
|
||||
|
||||
* postgresql-devel
|
||||
|
||||
* pyOpenSSL
|
||||
|
||||
* mysql
|
||||
|
||||
* MySQL-python
|
||||
|
||||
|
||||
Lab Requirements
|
||||
================
|
||||
|
4
setup.sh
4
setup.sh
@ -32,8 +32,8 @@ LOGFILE="/tmp/${DAEMON_NAME}_install.log"
|
||||
DAEMON_DB_CONSTR="sqlite:///$DAEMON_CFG_DIR/$DAEMON_NAME.sqlite"
|
||||
common_pkgs="wget git make gcc python-pip python-setuptools python-lxml python-crypto ntpdate"
|
||||
# Distro-specific package namings
|
||||
debian_pkgs="python-dev python-mysqldb libxml2-dev libxslt1-dev libffi-dev python-openssl mysql-client "
|
||||
redhat_pkgs="python-devel MySQL-python libxml2-devel libxslt-devel libffi-devel pyOpenSSL mysql"
|
||||
debian_pkgs="python-dev python-mysqldb libxml2-dev libxslt1-dev libffi-dev python-openssl mysql-client libpq-dev"
|
||||
redhat_pkgs="python-devel MySQL-python libxml2-devel libxslt-devel libffi-devel pyOpenSSL mysql postgresql-devel"
|
||||
#
|
||||
get_os
|
||||
eval req_pkgs="\$$(lowercase $DISTRO_BASED_ON)_pkgs"
|
||||
|
Loading…
x
Reference in New Issue
Block a user