aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2016-11-16 21:51:58 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-11-17 12:44:20 +0000
commitaa0e211513a4e12a55e638b41124218b0069e029 (patch)
treee77b1cde57fa0f4b4cc77abc21bfa2241ad84d1d /meta-agl-bsp
parent6c0e800ba0589514d77eed0be72deab5e98dc9c7 (diff)
weston.sh: Set XDG_RUNTIME_DIR to /run/user/0
Set XDG_RUNTIME_DIR for Raspberry Pi in weston.sh to /run/user/0. Bug-AGL: SPEC-310 Change-Id: I283ee98ae17a54aa3e6a4c8574ab9debe1b21fbb Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Diffstat (limited to 'meta-agl-bsp')
-rw-r--r--meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston/weston.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston/weston.sh b/meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston/weston.sh
index 7d62eff77..225a034bb 100644
--- a/meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston/weston.sh
+++ b/meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston/weston.sh
@@ -1,7 +1,7 @@
#!/bin/sh
if test -z "$XDG_RUNTIME_DIR"; then
- export XDG_RUNTIME_DIR=/var/run/user/root
+ export XDG_RUNTIME_DIR=/run/user/$UID
mkdir --parents $XDG_RUNTIME_DIR
chmod 0700 $XDG_RUNTIME_DIR
fi