diff options
author | Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp> | 2017-02-23 21:25:27 +0900 |
---|---|---|
committer | Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp> | 2017-02-24 03:10:29 +0000 |
commit | 496925b6a16444c816b3ea24b6de4e53650084e6 (patch) | |
tree | 5ab0438bda0bb79664bb4955b2869bcd214077fd /meta-agl-bsp/meta-qcom/recipes-graphics/wayland/weston/weston.sh | |
parent | ecea85c853214fa4c67811f5066f894582e1d7c2 (diff) |
weston: Set XDG_RUNTIME_DIR for qcom
Without this environment variable, Weston fails to start on Dragonboard
* backport from master commit 0a34b88c4b661a91962dd0c04c3af7e582bafcbd
Change-Id: I67ad6ec7cb2ad4cdcf0885e42d0b297d87ec43d3
Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
Diffstat (limited to 'meta-agl-bsp/meta-qcom/recipes-graphics/wayland/weston/weston.sh')
-rw-r--r-- | meta-agl-bsp/meta-qcom/recipes-graphics/wayland/weston/weston.sh | 7 |
1 files changed, 7 insertions, 0 deletions
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 |