summaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/navigation/mapviewer-demo
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-demo-hmi/navigation/mapviewer-demo')
-rwxr-xr-xrecipes-demo-hmi/navigation/mapviewer-demo/switch_off_mapviewer-demo.sh4
-rwxr-xr-xrecipes-demo-hmi/navigation/mapviewer-demo/switch_on_mapviewer-demo.sh3
2 files changed, 7 insertions, 0 deletions
diff --git a/recipes-demo-hmi/navigation/mapviewer-demo/switch_off_mapviewer-demo.sh b/recipes-demo-hmi/navigation/mapviewer-demo/switch_off_mapviewer-demo.sh
index 22fa16c7c..b38cbc473 100755
--- a/recipes-demo-hmi/navigation/mapviewer-demo/switch_off_mapviewer-demo.sh
+++ b/recipes-demo-hmi/navigation/mapviewer-demo/switch_off_mapviewer-demo.sh
@@ -3,3 +3,7 @@
/bin/systemctl disable weston-mapviewer-demo.service
/bin/systemctl enable weston.service
/bin/systemctl disable mapviewer.service
+
+rm -f /usr/lib/libmmngrbuf.so.1
+
+sync
diff --git a/recipes-demo-hmi/navigation/mapviewer-demo/switch_on_mapviewer-demo.sh b/recipes-demo-hmi/navigation/mapviewer-demo/switch_on_mapviewer-demo.sh
index f61cdc700..2259a482b 100755
--- a/recipes-demo-hmi/navigation/mapviewer-demo/switch_on_mapviewer-demo.sh
+++ b/recipes-demo-hmi/navigation/mapviewer-demo/switch_on_mapviewer-demo.sh
@@ -4,3 +4,6 @@
/bin/systemctl enable weston-mapviewer-demo.service
/bin/systemctl enable mapviewer.service
+/bin/ln -sf /usr/local/lib/libmmngrbuf.so.1 /usr/lib
+
+sync