From 8285539c4623081c05a932a324dff419550f6731 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Wed, 20 Sep 2017 17:34:16 +0200 Subject: [PATCH] Included python osm-im dependency, LICENSE added to RO package, pyang and pyangbind installed via pip in postinst Change-Id: I2c46c7c48076fc299133a9bd5f147e009a3ae0c1 Signed-off-by: garciadeblas --- Makefile | 1 + scripts/python-osm-ro.postinst | 9 +++++---- stdeb.cfg | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 8330b745..d3128451 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,7 @@ prepare: cp -r instance-scenarios build/osm_ro cp -r scripts build/osm_ro cp -r database_utils build/osm_ro + cp LICENSE build/osm_ro connectors: prepare # python-novaclient is required for that diff --git a/scripts/python-osm-ro.postinst b/scripts/python-osm-ro.postinst index d697afe5..b2a2ff2f 100755 --- a/scripts/python-osm-ro.postinst +++ b/scripts/python-osm-ro.postinst @@ -23,10 +23,11 @@ OSMRO_PATH=`python -c 'import osm_ro; print osm_ro.__path__[0]'` #Pip packages required for vmware connector pip install --upgrade pip -pip install pyvcloud -pip install progressbar -pip install prettytable -pip install pyvmomi +pip install --upgrade pyvcloud +pip install --upgrade progressbar +pip install --upgrade prettytable +pip install --upgrade pyvmomi +pip install --upgrade pyang pyangbind systemctl enable osm-ro.service diff --git a/stdeb.cfg b/stdeb.cfg index 8a4507ec..ea4c8f79 100644 --- a/stdeb.cfg +++ b/stdeb.cfg @@ -2,5 +2,5 @@ Suite: xenial XS-Python-Version: >= 2.7 Maintainer: Gerardo Garcia -Depends: python-pip, libmysqlclient-dev, libssl-dev, libffi-dev, python-argcomplete, python-boto, python-bottle, python-jsonschema, python-logutils, python-cinderclient, python-glanceclient, python-keystoneclient, python-neutronclient, python-novaclient, python-openstackclient, python-mysqldb, python-lib-osm-openvim +Depends: python-pip, libmysqlclient-dev, libssl-dev, libffi-dev, python-argcomplete, python-boto, python-bottle, python-jsonschema, python-logutils, python-cinderclient, python-glanceclient, python-keystoneclient, python-neutronclient, python-novaclient, python-openstackclient, python-mysqldb, python-lib-osm-openvim, python-osm-im -- 2.25.1