From aa0e211513a4e12a55e638b41124218b0069e029 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 16 Nov 2016 21:51:58 +0200 Subject: 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 --- meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston/weston.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-agl-bsp/meta-raspberrypi/recipes-graphics') 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 -- cgit 1.2.3-korg