From e23d0a9f7c3943d57ffd3c243314e6a38d2de228 Mon Sep 17 00:00:00 2001 From: Khang Nguyen Date: Tue, 22 May 2018 16:19:05 +0700 Subject: rcar-gen3: weston: Set XDG_RUNTIME_DIR for SSH login This commit adds weston.sh script into /etc/profile.d to set XDG_RUNTIME_DIR automatically when using SSH login. Signed-off-by: Khang Nguyen Signed-off-by: Thuy Tran Signed-off-by: Takamitsu Honda --- meta-rcar-gen3/recipes-graphics/wayland/weston/weston.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 meta-rcar-gen3/recipes-graphics/wayland/weston/weston.sh (limited to 'meta-rcar-gen3/recipes-graphics/wayland/weston') diff --git a/meta-rcar-gen3/recipes-graphics/wayland/weston/weston.sh b/meta-rcar-gen3/recipes-graphics/wayland/weston/weston.sh new file mode 100755 index 0000000..33ed8a4 --- /dev/null +++ b/meta-rcar-gen3/recipes-graphics/wayland/weston/weston.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +if test -z "$XDG_RUNTIME_DIR"; then + export XDG_RUNTIME_DIR=/run/user/$UID +fi -- cgit 1.2.3-korg