summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/wayland')
-rwxr-xr-xmeta/recipes-graphics/wayland/weston-init/weston-start6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init/weston-start b/meta/recipes-graphics/wayland/weston-init/weston-start
index 4b41576103..5b7604f930 100755
--- a/meta/recipes-graphics/wayland/weston-init/weston-start
+++ b/meta/recipes-graphics/wayland/weston-init/weston-start
@@ -65,8 +65,10 @@ fi
65 65
66if test -z "$XDG_RUNTIME_DIR"; then 66if test -z "$XDG_RUNTIME_DIR"; then
67 export XDG_RUNTIME_DIR=/run/user/`id -u` 67 export XDG_RUNTIME_DIR=/run/user/`id -u`
68 mkdir --parents $XDG_RUNTIME_DIR 68 if ! test -d "$XDG_RUNTIME_DIR"; then
69 chmod 0700 $XDG_RUNTIME_DIR 69 mkdir --parents $XDG_RUNTIME_DIR
70 chmod 0700 $XDG_RUNTIME_DIR
71 fi
70fi 72fi
71 73
72exec openvt $openvt_args -- $launcher $weston_args --log=@LOCALSTATEDIR@/log/weston.log 74exec openvt $openvt_args -- $launcher $weston_args --log=@LOCALSTATEDIR@/log/weston.log