openivi-html5_git.bb: Add OpenIVI Mobility HTML5
[AGL/meta-agl-demo.git] / recipes-openivi / openivi-html5 / openivi-html5 / openivi-html5.sh
diff --git a/recipes-openivi/openivi-html5/openivi-html5/openivi-html5.sh b/recipes-openivi/openivi-html5/openivi-html5/openivi-html5.sh
new file mode 100644 (file)
index 0000000..ed8a561
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if test -z "$XDG_RUNTIME_DIR"; then
+    export XDG_RUNTIME_DIR=/run/user/$UID
+    mkdir --parents $XDG_RUNTIME_DIR
+    chmod 0700 $XDG_RUNTIME_DIR
+fi
+
+/usr/bin/openivi-html5 -f -u /usr/share/openivi/example/cluster/index.html