weston-init: add extra config for weston global socket
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | weston-init: make sure the render group existsmeta/ | +1 | 0 replies | |
| 2/6 | weston-init: add weston user to the render groupmeta/ | +1 | 0 replies | |
| 3/6 | weston-init: add the weston user to the wayland groupmeta/ | +1 | 0 replies | |
| 4/6 | weston-init: fix the mixed indentationmeta/ | +38 | 9 replies | |
| 5/6 | weston-init: guard against systemd configsmeta/ | +17 | 0 replies | |
| 6/6 | weston-init: add profile to point users to global socketmeta/ meta/ | +23 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [OE-core][PATCH 0/6] weston-init: add extra config for weston global socket
From: Randolph Sapp <[email protected]>
Cleaning up some parts of weston-init, adding guards to systemd init scripts, making sure users are in the correct groups for interacting with graphics devices and finally attempting to help direct users to the global Wayland socket when they are allowed to interact with it.
The only functional change here is the addition of a profile script that checks if the user is in the correct group to interact with the global systemd socket at /run/wayland-0; if they are, then we set WAYLAND_DISPLAY to point to that socket directly.
Randolph Sapp (6):
weston-init: make sure the render group exists
weston-init: add weston user to the render group
weston-init: add the weston user to the wayland group
weston-init: fix the mixed indentation
weston-init: guard against systemd configs
weston-init: add profile to point users to global socket
meta/recipes-graphics/wayland/weston-init.bb | 88 ++++++++++--------- .../wayland/weston-init/weston-socket.sh | 20 +++++ 2 files changed, 68 insertions(+), 40 deletions(-) create mode 100755 meta/recipes-graphics/wayland/weston-init/weston-socket.sh
Signature · 1 line
2.41.0