]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
weston-init: add the weston user to the wayland group
authorRandolph Sapp <rs@ti.com>
Sat, 10 Jun 2023 01:13:36 +0000 (20:13 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Jun 2023 21:10:29 +0000 (22:10 +0100)
Add the weston user to the wayland group so all users accessing the
global weston socket in /run all share a group.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-graphics/wayland/weston-init.bb

index 6d62993d7da70fdfc75d28a0fea69357f50d8196..4fa302c83335e64245a947d62a06b089624588d8 100644 (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,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"