From 420befa76ae88d190ad6ee7da55b80694b4a2c40 Mon Sep 17 00:00:00 2001 From: tierno Date: Wed, 28 Nov 2018 10:02:05 +0000 Subject: [PATCH] minor fixings for package generation Change-Id: I5cc1024123eaecdc308d2d0566c10b33d0702125 Signed-off-by: tierno --- debian/python3-osm-lcm.postinst | 7 +++++-- devops-stages/stage-build.sh | 3 +-- stdeb.cfg | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/debian/python3-osm-lcm.postinst b/debian/python3-osm-lcm.postinst index 63e30b1..7ee6c6c 100755 --- a/debian/python3-osm-lcm.postinst +++ b/debian/python3-osm-lcm.postinst @@ -18,9 +18,12 @@ ## echo "POST INSTALL OSM-LCM" +# Currently it is not needed pip3 installation +# echo "Installing python dependencies via pip..." +# pip3 install pip==9.0.3 +# pip3 install --user aiokafka #Creation of log folder mkdir -p /var/log/osm -systemctl enable osm-lcm.service - +# systemctl enable osm-lcm.service diff --git a/devops-stages/stage-build.sh b/devops-stages/stage-build.sh index 00f093c..b6d8a45 100755 --- a/devops-stages/stage-build.sh +++ b/devops-stages/stage-build.sh @@ -14,8 +14,7 @@ # under the License. ## -# moved to a Makefile in order to add post install. Needed for "pip3 install aiokafka", -# that is not available with a package +# For the moment it is not needed any post-intall action, so tox instead of Makefile is used make clean # rm -rf deb_dist tox -e build # make package diff --git a/stdeb.cfg b/stdeb.cfg index a265bac..8dd3fca 100644 --- a/stdeb.cfg +++ b/stdeb.cfg @@ -1,3 +1,3 @@ [DEFAULT] X-Python3-Version : >= 3.5 -Depends3: python3-osm-common, python3-n2vc +Depends3: python3-osm-common, python3-n2vc, python3-yaml, python3-aiohttp -- 2.25.1