From: garciadeblas Date: Wed, 26 Jul 2023 08:44:31 +0000 (+0200) Subject: Update osmclient installation during full_install to patch pyangbind X-Git-Tag: v14.0.1~5 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F46%2F13746%2F1;p=osm%2Fdevops.git Update osmclient installation during full_install to patch pyangbind Change-Id: I057e2c2008789a35fb6b07763fb929a91802ef63 Signed-off-by: garciadeblas --- diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 591a1361..256b8d50 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -186,6 +186,7 @@ function install_osmclient(){ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y python3-osm-im python3-osmclient if [ -f /usr/lib/python3/dist-packages/osm_im/requirements.txt ]; then python3 -m pip install -r /usr/lib/python3/dist-packages/osm_im/requirements.txt + patch $HOME/.local/lib/python3.10/site-packages/pyangbind/lib/yangtypes.py < /usr/share/osm-devops/docker/osmclient/pyangbind.patch fi if [ -f /usr/lib/python3/dist-packages/osmclient/requirements.txt ]; then sudo DEBIAN_FRONTEND=noninteractive apt-get install -y libmagic1