weston-init: add the weston user to the wayland group

Add the weston user to the wayland group so all users accessing the
global weston socket in /run all share a group.

(From OE-Core rev: 955f602c26869f670470c1555bb53c281594ad08)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 30198b36b00a1967d1f8f8f556a0ba2415954f4e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Randolph Sapp
2023-06-09 20:13:36 -05:00
committed by Steve Sakoman
parent e03896ffc7
commit a3ff30cf6b

View File

@@ -92,6 +92,6 @@ FILES:${PN} += "\
CONFFILES:${PN} += "${sysconfdir}/xdg/weston/weston.ini ${sysconfdir}/default/weston"
SYSTEMD_SERVICE:${PN} = "weston.service weston.socket"
USERADD_PARAM:${PN} = "--home /home/weston --shell /bin/sh --user-group -G video,input,render weston"
USERADD_PARAM:${PN} = "--home /home/weston --shell /bin/sh --user-group -G video,input,render,wayland weston"
GROUPADD_PARAM:${PN} = "-r wayland; -r render"