From c9f2ec1cccbf4b716364efd34a27138b34424212 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 27 Nov 2024 11:59:04 -0800 Subject: [PATCH] weston-init: Make weston user member of seat group This enables weston launch to access the seatd socket /run/seatd.sock to communicate properly to acquire seat Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-graphics/wayland/weston-init.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb index 3de697ec34e..5723655a9bb 100644 --- a/meta/recipes-graphics/wayland/weston-init.bb +++ b/meta/recipes-graphics/wayland/weston-init.bb @@ -102,6 +102,5 @@ 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,wayland weston" -GROUPADD_PARAM:${PN} = "-r wayland; -r render" - +USERADD_PARAM:${PN} = "--home /home/weston --shell /bin/sh --user-group -G video,input,render,seat,wayland weston" +GROUPADD_PARAM:${PN} = "-r wayland; -r render; -r seat" -- 2.47.3