From: tierno Date: Fri, 3 Jul 2020 06:35:42 +0000 (+0000) Subject: fix grpclib instalation via debian package post-install script X-Git-Tag: v8.0.0rc2~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=0e3bc009b90b52adef92080966ec2953b52dde1f;p=osm%2FLCM.git fix grpclib instalation via debian package post-install script Change-Id: I18a511b9d639072b763f7d7071c61c30915c9718 Signed-off-by: tierno --- diff --git a/Makefile b/Makefile index 0ee3ddd..cdbb183 100644 --- a/Makefile +++ b/Makefile @@ -20,8 +20,8 @@ clean: package: python3 setup.py --command-packages=stdeb.command sdist_dsc - # cp debian/python3-osm-lcm.postinst deb_dist/osm-lcm*/debian - cd deb_dist/osm-lcm*/debian && echo "osm-common python3-osm-common" > py3dist-overrides + cp debian/python3-osm-lcm.postinst deb_dist/osm-lcm*/debian + # cd deb_dist/osm-lcm*/debian && echo "osm-common python3-osm-common" > py3dist-overrides # cd deb_dist/osm-lcm*/debian && echo "pip3 python3-pip" >> py3dist-overrides cd deb_dist/osm-lcm*/ && dpkg-buildpackage -rfakeroot -uc -us diff --git a/debian/python3-osm-lcm.postinst b/debian/python3-osm-lcm.postinst index 4ee0a2e..8a7082c 100755 --- a/debian/python3-osm-lcm.postinst +++ b/debian/python3-osm-lcm.postinst @@ -18,13 +18,11 @@ ## echo "POST INSTALL OSM-LCM" -# Currently it is not needed pip3 installation -# echo "Installing python dependencies via pip..." -# python3 -m pip install -U pip -# python3 -m pip install --user aiokafka +echo "Installing python dependencies grpcio-tools grpclib via pip..." +echo +python3 -m pip install -U pip python3 -m pip install grpcio-tools grpclib -#Creation of log folder -mkdir -p /var/log/osm +# Creation of log folder +# mkdir -p /var/log/osm -# systemctl enable osm-lcm.service