All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-arago][scarthgap][PATCH 0/2] Add display manager and required configs
@ 2025-03-12 23:26 rs
  2025-03-12 23:26 ` [meta-arago][scarthgap][PATCH 1/2] emptty: add version 0.13.0 rs
  2025-03-12 23:26 ` [meta-arago][scarthgap][PATCH 2/2] weston-init: weston-init -> weston-init-arago rs
  0 siblings, 2 replies; 4+ messages in thread
From: rs @ 2025-03-12 23:26 UTC (permalink / raw)
  To: reatmon, denys; +Cc: meta-arago, afd, detheridge, vijayp

From: Randolph Sapp <rs@ti.com>

Add emptty and relevant configs to replace weston-init. This is a modified
version of the proposal I made to oe-core to get around a sequencing bug that's
been around for a while, but has recently become an issue for us.

As it stands weston-init has no idea what drm devices it should wait on or bind
to. We could introduce a udev rule to track tidss and pvrsrvkm registered
devices and introduce systemd dependencies around those new .device units, or we
could add a proper display manager that's already capable of waiting for drm
devices and has the potential to handle hotplug events in the future.

I'm preferable to the second option instead of making rules and modifications to
the service file for multiple platform configs.

This series adds emptty as a display manager and converts our bbappend for
weston-init to a stand alone version of weston-init named weston-init-arago.
This package has the required config files for emptty to automatically login the
weston user like weston-init does.

This does remove the weston systemd unit and global weston socket. This was
probably for the best as it was not really standard behavior. It just made it
"easy" to run arbitrary GUI applications as root, which is never advised.

Randolph Sapp (2):
  emptty: add version 0.13.0
  weston-init: weston-init -> weston-init-arago

 meta-arago-distro/conf/distro/arago.conf      |  3 +-
 meta-arago-distro/conf/layer.conf             |  4 +-
 .../packagegroup-arago-tisdk-graphics.bb      |  2 +-
 .../recipes-graphics/emptty/emptty/init       | 26 +++++++
 .../recipes-graphics/emptty/emptty/pamconf    | 10 +++
 .../recipes-graphics/emptty/emptty_0.13.0.bb  | 78 +++++++++++++++++++
 .../wayland/weston-init-arago.bb              | 72 +++++++++++++++++
 .../beaglebone/weston.ini                     |  0
 .../wayland/weston-init-arago/emptty.conf     | 77 ++++++++++++++++++
 .../weston-launch-calibrator.sh               |  0
 .../weston.ini                                |  0
 .../wayland/weston-init.bbappend              | 14 ----
 12 files changed, 268 insertions(+), 18 deletions(-)
 create mode 100644 meta-arago-distro/recipes-graphics/emptty/emptty/init
 create mode 100644 meta-arago-distro/recipes-graphics/emptty/emptty/pamconf
 create mode 100644 meta-arago-distro/recipes-graphics/emptty/emptty_0.13.0.bb
 create mode 100644 meta-arago-distro/recipes-graphics/wayland/weston-init-arago.bb
 rename meta-arago-distro/recipes-graphics/wayland/{weston-init => weston-init-arago}/beaglebone/weston.ini (100%)
 create mode 100644 meta-arago-distro/recipes-graphics/wayland/weston-init-arago/emptty.conf
 rename meta-arago-distro/recipes-graphics/wayland/{weston-init => weston-init-arago}/weston-launch-calibrator.sh (100%)
 rename meta-arago-distro/recipes-graphics/wayland/{weston-init => weston-init-arago}/weston.ini (100%)
 delete mode 100644 meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend

-- 
2.48.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-03-18 16:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-12 23:26 [meta-arago][scarthgap][PATCH 0/2] Add display manager and required configs rs
2025-03-12 23:26 ` [meta-arago][scarthgap][PATCH 1/2] emptty: add version 0.13.0 rs
2025-03-18 16:33   ` Denys Dmytriyenko
2025-03-12 23:26 ` [meta-arago][scarthgap][PATCH 2/2] weston-init: weston-init -> weston-init-arago rs

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.