aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-graphics/wayland/weston-init/weston.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen3/recipes-graphics/wayland/weston-init/weston.sh')
-rwxr-xr-xmeta-rcar-gen3/recipes-graphics/wayland/weston-init/weston.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-graphics/wayland/weston-init/weston.sh b/meta-rcar-gen3/recipes-graphics/wayland/weston-init/weston.sh
new file mode 100755
index 0000000..33ed8a4
--- /dev/null
+++ b/meta-rcar-gen3/recipes-graphics/wayland/weston-init/weston.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if test -z "$XDG_RUNTIME_DIR"; then
+ export XDG_RUNTIME_DIR=/run/user/$UID
+fi