From f76b432c0773224fc4fb9cc4ce5964d1cff81b87 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Wed, 26 Jul 2023 10:44:31 +0200 Subject: [PATCH] Update osmclient installation during full_install to patch pyangbind Change-Id: I057e2c2008789a35fb6b07763fb929a91802ef63 Signed-off-by: garciadeblas --- installers/full_install_osm.sh | 1 + 1 file changed, 1 insertion(+) 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 -- 2.25.1