weston-init: add weston user to the render group

The weston user must be in the render group in order to access render
device nodes for standard user-space graphics.

(From OE-Core rev: 814ee7ad4f54f5a17e0822f06059a2fe95bebfc4)

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

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 weston"
USERADD_PARAM:${PN} = "--home /home/weston --shell /bin/sh --user-group -G video,input,render weston"
GROUPADD_PARAM:${PN} = "-r wayland; -r render"