mbox series

[scarthgap,v2,0/8] Backport systemd user presets support

Message ID 20250922090040.2859103-1-jie.gu@leica-geosystems.com
Headers show
Series Backport systemd user presets support | expand

Message

jiegu Sept. 22, 2025, 9 a.m. UTC
Since we want to support user services in Scarthgap, we consider this a
common function and want to backport it from the 5.2 branch.

---

v2: This is v2 of the series. Please ignore v1, as it was missing the
'subject-prefix'.

Artur Kowalski (8):
  systemd-systemctl: add support for --global flag
  systemd.bbclass: add ${sysconfdir}/systemd/user to search path
  systemd.bbclass: factor out service lookup logic into separate
    function
  systemd.bbclass: introduce systemd_service_searchpaths()
  systemd.bbclass: properly handle user units in systemd_create_presets
  systemd.bbclass: update postinst and prerm hooks
  systemd.bbclass: support user units in postinst and prerm hooks
  image.bbclass: enable systemd user services

 meta/classes-recipe/image.bbclass             |   1 +
 meta/classes-recipe/systemd.bbclass           | 118 +++++++++++++-----
 .../systemd/systemd-systemctl/systemctl       |  42 ++++---
 3 files changed, 112 insertions(+), 49 deletions(-)