From a9b74e1c7c7f2d5ad03a7b7675bbef8d241dd47e Mon Sep 17 00:00:00 2001 From: José Bollo Date: Thu, 5 Sep 2019 16:38:20 +0200 Subject: weston-init: Refactor, simplify, fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../recipes-graphics/wayland/weston-init/zz-dri.rules.in | 1 + 1 file changed, 1 insertion(+) create mode 100644 meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/zz-dri.rules.in (limited to 'meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/zz-dri.rules.in') diff --git a/meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/zz-dri.rules.in b/meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/zz-dri.rules.in new file mode 100644 index 000000000..707d12e28 --- /dev/null +++ b/meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/zz-dri.rules.in @@ -0,0 +1 @@ +SUBSYSTEM=="drm", MODE="0660", GROUP="@WESTONGROUP@", SECLABEL{smack}="*", TAG+="systemd", ENV{SYSTEMD_WANTS}="weston.service" -- cgit 1.2.3-korg