diff options
author | Vladimir Barinov <vladimir.barinov@cogentembedded.com> | 2017-06-06 09:39:10 +0300 |
---|---|---|
committer | Vladimir Barinov <vladimir.barinov@cogentembedded.com> | 2017-06-06 09:41:33 +0300 |
commit | e51e85a9c75f8ee5100b0edf544acd1dcb2f7480 (patch) | |
tree | 8157f987ee88a5eaeb0952c81e0eb50cdfd92f91 /meta-rcar-gen3-adas/recipes-graphics/wayland/weston-init/weston_exp.sh | |
parent | a72bca93fda2b046aec74ba87822abfe3fea0850 (diff) |
Build fail fix
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-graphics/wayland/weston-init/weston_exp.sh')
-rwxr-xr-x | meta-rcar-gen3-adas/recipes-graphics/wayland/weston-init/weston_exp.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-rcar-gen3-adas/recipes-graphics/wayland/weston-init/weston_exp.sh b/meta-rcar-gen3-adas/recipes-graphics/wayland/weston-init/weston_exp.sh new file mode 100755 index 0000000..18be2ad --- /dev/null +++ b/meta-rcar-gen3-adas/recipes-graphics/wayland/weston-init/weston_exp.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +if test -z "$XDG_RUNTIME_DIR"; then + export XDG_RUNTIME_DIR=/run/user/`id -u` + if ! test -d "$XDG_RUNTIME_DIR"; then + mkdir --parents $XDG_RUNTIME_DIR + chmod 0700 $XDG_RUNTIME_DIR + fi +fi + +export QT_QPA_PLATFORM=wayland |