weston-init: Refactor, simplify, fix 33/22333/4
authorJosé Bollo <jose.bollo@iot.bzh>
Thu, 5 Sep 2019 14:38:20 +0000 (16:38 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 16 Sep 2019 12:07:56 +0000 (12:07 +0000)
commita9b74e1c7c7f2d5ad03a7b7675bbef8d241dd47e
treef457fe13b8dfb98aa2aae5d5eec544946068e48e
parent57b6d0f437ef19fb6030d7d126aebea2ffeabb93
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>
meta-agl-profile-graphical/recipes-graphics/wayland/weston-init.bbappend
meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/tmpfiles.conf.in [moved from meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/weston_tmpfiles.conf with 100% similarity]
meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/weston.conf.in [moved from meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/weston.service.add with 75% similarity]
meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/zz-dri-imx.rules.in [new file with mode: 0644]
meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/zz-dri.rules.in [new file with mode: 0644]
meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/zz-input.rules [new file with mode: 0644]
meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/zz-tty.rules.in [new file with mode: 0644]