From b422f52e6afcce6bd0bdaa3c04dc2dee72d51b2e Mon Sep 17 00:00:00 2001 From: José Bollo Date: Fri, 13 Oct 2017 14:47:13 +0200 Subject: weston: Create really shared files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Last time it was discussed, this patch was not upstreamable. But it is needed for a reason that still have to be investigated. Nevertheless the patch is enough simple to be maintained while waiting for the full investigation/resolution. Change-Id: I47b17c7aa9ca5c495267259a15caacef50b4b324 Signed-off-by: José Bollo --- .../recipes-graphics/wayland/weston-init/weston.service.add | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-agl-profile-graphical/recipes-graphics/wayland/weston-init') diff --git a/meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/weston.service.add b/meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/weston.service.add index b51d2223a..d24a8eb23 100644 --- a/meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/weston.service.add +++ b/meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/weston.service.add @@ -1,5 +1,8 @@ Type=notify Environment="XDG_RUNTIME_DIR=@XDG_RUNTIME_DIR@" +Environment="XDG_RUNTIMESHARE_DIR=@XDG_RUNTIME_DIR@/share" +ExecStartPre=/bin/mkdir -p @XDG_RUNTIME_DIR@/share +ExecStartPre=+/usr/bin/chsmack -a User::App-Shared -t @XDG_RUNTIME_DIR@/share TTYPath=/dev/tty@WESTONTTY@ StandardInput=tty TTYReset=yes -- cgit 1.2.3-korg