From a3ff30cf6b3760a250e0b38604f4082a026028e3 Mon Sep 17 00:00:00 2001 From: Randolph Sapp Date: Fri, 9 Jun 2023 20:13:36 -0500 Subject: [PATCH] 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 Signed-off-by: Alexandre Belloni (cherry picked from commit 30198b36b00a1967d1f8f8f556a0ba2415954f4e) Signed-off-by: Steve Sakoman --- meta/recipes-graphics/wayland/weston-init.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb index 82dd9a47f0..73a20a7194 100644 --- a/meta/recipes-graphics/wayland/weston-init.bb +++ b/meta/recipes-graphics/wayland/weston-init.bb @@ -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"