| Message ID | 20250114122613.3046925-4-arturkow2000@gmail.com |
|---|---|
| Headers | show |
| Series | Systemd user presets support | expand |
On Tue, 14 Jan 2025 at 13:34, Artur Kowalski <arturkow2000@gmail.com> wrote: > > This is v2 of systemd user preset support. I split systemd.bbclass > changes into multiple commits as requested and done some minor cosmetic > improvements in the code itself. > > v2 isn't fully ready as I haven't made adjustments to first commit yet. > I will do that when we agree on variable name for --global option, but > I'm sending this anyway now so you can review remaining commits. Thanks for the effort, the new patchset is a lot better for reviewers. If it is not ready for testing and merging, it helps to add [RFC] to the subjects, which you can do with --rfc command line option to git. Alex
This is v2 of systemd user preset support. I split systemd.bbclass changes into multiple commits as requested and done some minor cosmetic improvements in the code itself. v2 isn't fully ready as I haven't made adjustments to first commit yet. I will do that when we agree on variable name for --global option, but I'm sending this anyway now so you can review remaining commits. 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(-)