diff options
author | José Bollo <jose.bollo@iot.bzh> | 2019-09-05 16:38:20 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-09-16 12:07:56 +0000 |
commit | a9b74e1c7c7f2d5ad03a7b7675bbef8d241dd47e (patch) | |
tree | f457fe13b8dfb98aa2aae5d5eec544946068e48e /meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/weston.service.add | |
parent | 57b6d0f437ef19fb6030d7d126aebea2ffeabb93 (diff) |
weston-init: Refactor, simplify, fix
The recipe weston-init was setting smack labels of input devices
to ^. This had the effect to enforce processes that wanted to
read /dev/input/eventXX to have the Smack label System.
I changed the label to * and keep the protection of groups.
At the same time, a refactoring of the recipe make it cleaner to
maintain.
Bug-AGL: SPEC-2796
Change-Id: I3e2345d48a40b15254e68e25bbfcd9b22fcd8629
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/weston.service.add')
-rw-r--r-- | meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/weston.service.add | 11 |
1 files changed, 0 insertions, 11 deletions
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 deleted file mode 100644 index d24a8eb23..000000000 --- a/meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/weston.service.add +++ /dev/null @@ -1,11 +0,0 @@ -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 -TTYVHangup=yes -TTYVTDisallocate=yes -UtmpIdentifier=tty@WESTONTTY@ |