]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
weston-init: Make weston user member of seat group
authorKhem Raj <raj.khem@gmail.com>
Wed, 27 Nov 2024 19:59:04 +0000 (11:59 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Nov 2024 12:27:13 +0000 (12:27 +0000)
This enables weston launch to access the seatd socket
/run/seatd.sock to communicate properly to acquire seat

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/wayland/weston-init.bb

index 3de697ec34e8a4bb2beed03e2402647213967517..5723655a9bbaf65c318649d6409e5c0f12b7be03 100644 (file)
@@ -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"