Skip to content

weston-init: add extra config for weston global socket

[email protected] openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6weston-init: make sure the render group existsmeta/recipes-graphics/wayland/weston-init.bb+1 -10 replies
2/6weston-init: add weston user to the render groupmeta/recipes-graphics/wayland/weston-init.bb+1 -10 replies
3/6weston-init: add the weston user to the wayland groupmeta/recipes-graphics/wayland/weston-init.bb+1 -10 replies
4/6weston-init: fix the mixed indentationmeta/recipes-graphics/wayland/weston-init.bb+38 -389 replies
5/6weston-init: guard against systemd configsmeta/recipes-graphics/wayland/weston-init.bb+17 -120 replies
6/6weston-init: add profile to point users to global socketmeta/recipes-graphics/wayland/weston-init.bb meta/recipes-graphics/wayland/weston-init/weston-socket.sh+23 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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