diff options
Diffstat (limited to 'meta/recipes-graphics/wayland/weston-init/init')
| -rw-r--r-- | meta/recipes-graphics/wayland/weston-init/init | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init/init b/meta/recipes-graphics/wayland/weston-init/init index 2e938f4307..5c925f4541 100644 --- a/meta/recipes-graphics/wayland/weston-init/init +++ b/meta/recipes-graphics/wayland/weston-init/init | |||
| @@ -31,14 +31,7 @@ case "$1" in | |||
| 31 | start) | 31 | start) |
| 32 | . /etc/profile | 32 | . /etc/profile |
| 33 | 33 | ||
| 34 | # This is all a nasty hack | 34 | weston-start -s -- $OPTARGS |
| 35 | if test -z "$XDG_RUNTIME_DIR"; then | ||
| 36 | export XDG_RUNTIME_DIR=/run/user/root | ||
| 37 | mkdir --parents $XDG_RUNTIME_DIR | ||
| 38 | chmod 0700 $XDG_RUNTIME_DIR | ||
| 39 | fi | ||
| 40 | |||
| 41 | openvt -s weston -- $OPTARGS | ||
| 42 | ;; | 35 | ;; |
| 43 | 36 | ||
| 44 | stop) | 37 | stop) |
