From 0a34b88c4b661a91962dd0c04c3af7e582bafcbd Mon Sep 17 00:00:00 2001 From: Kotaro Hashimoto Date: Fri, 3 Feb 2017 10:26:26 +0900 Subject: weston: Set XDG_RUNTIME_DIR for qcom Without this environment variable, Weston fails to start on Dragonboard Change-Id: I8863b79c47cde44d7830bc51e4ddc1be64eaff65 Signed-off-by: Kotaro Hashimoto --- meta-agl-bsp/meta-qcom/recipes-graphics/wayland/weston/weston.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 meta-agl-bsp/meta-qcom/recipes-graphics/wayland/weston/weston.sh (limited to 'meta-agl-bsp/meta-qcom/recipes-graphics/wayland/weston/weston.sh') diff --git a/meta-agl-bsp/meta-qcom/recipes-graphics/wayland/weston/weston.sh b/meta-agl-bsp/meta-qcom/recipes-graphics/wayland/weston/weston.sh new file mode 100644 index 000000000..225a034bb --- /dev/null +++ b/meta-agl-bsp/meta-qcom/recipes-graphics/wayland/weston/weston.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +if test -z "$XDG_RUNTIME_DIR"; then + export XDG_RUNTIME_DIR=/run/user/$UID + mkdir --parents $XDG_RUNTIME_DIR + chmod 0700 $XDG_RUNTIME_DIR +fi -- cgit 1.2.3-korg