meta-agl-bsp: make sure weston user is in display group for rcar3 19/28419/3
authorScott Murray <scott.murray@konsulko.com>
Tue, 17 Jan 2023 17:48:48 +0000 (12:48 -0500)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Sun, 29 Jan 2023 14:30:03 +0000 (14:30 +0000)
commit460793d40ef6c6b1031ac1157d88a24af85586ae
tree9991df8fe538fb2812321bd9721c166480cf6658
parentf60a8f33a4b14ef82670c5db80efac0080301768
meta-agl-bsp: make sure weston user is in display group for rcar3

Add a meta-rcar-gen3 specific weston-init bbappend to add the
weston user to the display group.  This is preferable to unmasking
the bbappend in upstream meta-rcar-gen3, as we do not want any of
the other changes it contains (or may contain).  This change is a
bit of a stopgap required for running weston or agl-compositor as
the weston user without the agl-driver user session unit in e.g.
the agl-image-weston image or the KVM or IC host images.
Future work will try to align the required groups with upstream
systemd-udevd expectations.

Bug-AGL: SPEC-4618

Change-Id: I22e8aaa095114802242fb1ed150dec2a5055fda9
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit c1b436f4882737ce0b9a95853954d0f4daab2d86)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28419
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-agl-bsp/meta-rcar-gen3/recipes-graphics/wayland/weston-init.bbappend [new file with mode: 0644]