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: 1cba8aa3c5e0635d7b89222d9ccaf889954fe0c9)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Randolph Sapp
2023-06-09 20:13:35 -05:00
committed by Richard Purdie
parent 7cf7388e70
commit 2d371c9abf

View File

@@ -93,6 +93,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"