X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-agl-profile-graphical%2Frecipes-graphics%2Fwayland%2Fweston-init%2Fweston.service.add;h=d24a8eb23d8cd28bb9c6e14b28723d40f1015c4b;hb=refs%2Fchanges%2F29%2F18829%2F5;hp=b51d2223a51c7a7b936e6f3bc30eaae3ab1b8998;hpb=d9d7eb20d17acde2f4e3826736ad45fa6d441837;p=AGL%2Fmeta-agl.git 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