summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-11-27 11:59:04 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-11-28 12:37:12 +0000
commite2627b395adbc33b3a0f17091b1b0dfbb14d1b5d (patch)
tree40611e3f249af717640fea354496ac8e5980375a
parente44e670c5f49b9a6f5eec12752223c42db1296b6 (diff)
downloadpoky-e2627b395adbc33b3a0f17091b1b0dfbb14d1b5d.tar.gz
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 (From OE-Core rev: c9f2ec1cccbf4b716364efd34a27138b34424212) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/wayland/weston-init.bb5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb
index 3de697ec34..5723655a9b 100644
--- a/meta/recipes-graphics/wayland/weston-init.bb
+++ b/meta/recipes-graphics/wayland/weston-init.bb
@@ -102,6 +102,5 @@ FILES:${PN} += "\
102CONFFILES:${PN} += "${sysconfdir}/xdg/weston/weston.ini ${sysconfdir}/default/weston" 102CONFFILES:${PN} += "${sysconfdir}/xdg/weston/weston.ini ${sysconfdir}/default/weston"
103 103
104SYSTEMD_SERVICE:${PN} = "weston.service weston.socket" 104SYSTEMD_SERVICE:${PN} = "weston.service weston.socket"
105USERADD_PARAM:${PN} = "--home /home/weston --shell /bin/sh --user-group -G video,input,render,wayland weston" 105USERADD_PARAM:${PN} = "--home /home/weston --shell /bin/sh --user-group -G video,input,render,seat,wayland weston"
106GROUPADD_PARAM:${PN} = "-r wayland; -r render" 106GROUPADD_PARAM:${PN} = "-r wayland; -r render; -r seat"
107