From 3c4889bc08194d620a12420ccfacd0704357541d Mon Sep 17 00:00:00 2001 From: Grigory Kletsko Date: Sun, 4 Jun 2017 01:01:31 +0300 Subject: [weston] Add weston profile.d script, XDG_RUNTIME_DIR=/run/user/0 by default --- .../recipes-graphics/wayland/files/weston_exp.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 meta-rcar-gen3-adas/recipes-graphics/wayland/files/weston_exp.sh (limited to 'meta-rcar-gen3-adas') diff --git a/meta-rcar-gen3-adas/recipes-graphics/wayland/files/weston_exp.sh b/meta-rcar-gen3-adas/recipes-graphics/wayland/files/weston_exp.sh new file mode 100755 index 0000000..18be2ad --- /dev/null +++ b/meta-rcar-gen3-adas/recipes-graphics/wayland/files/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 -- cgit 1.2.3-korg