Code Review
/
AGL
/
meta-agl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
weston: Set XDG_RUNTIME_DIR for qcom
[AGL/meta-agl.git]
/
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
(file)
index 0000000..
225a034
--- /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