Skip to content

Commit c9f2ec1

Browse files
krajrpurdie
authored andcommitted
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 <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
1 parent 26746a0 commit c9f2ec1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

meta/recipes-graphics/wayland/weston-init.bb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,5 @@ FILES:${PN} += "\
102102
CONFFILES:${PN} += "${sysconfdir}/xdg/weston/weston.ini ${sysconfdir}/default/weston"
103103

104104
SYSTEMD_SERVICE:${PN} = "weston.service weston.socket"
105-
USERADD_PARAM:${PN} = "--home /home/weston --shell /bin/sh --user-group -G video,input,render,wayland weston"
106-
GROUPADD_PARAM:${PN} = "-r wayland; -r render"
107-
105+
USERADD_PARAM:${PN} = "--home /home/weston --shell /bin/sh --user-group -G video,input,render,seat,wayland weston"
106+
GROUPADD_PARAM:${PN} = "-r wayland; -r render; -r seat"

0 commit comments

Comments
 (0)