Auto enabling user service
Poky currently only supports auto enabling system services: https://github.com/yoctoproject/poky/blob/scarthgap/meta/classes-recipe/systemd.bbclass#L41
Recipes needing to enable user services at build currently have to manually create symlink: https://github.com/openembedded/meta-openembedded/blob/scarthgap/meta-oe/recipes-support/syslog-ng/syslog-ng_4.6.0.bb#L107
In the context of KDE yocto packaging, this means that apps depending on user services to run may only work correctly if the user services was manually enabled.
An example of this issue is krfb
. krfb
requires pipewire
to work. krfb
will only work correctly after systemctl --user start pipewire
&& systemctl --user start wireplumber
is executed. A merge request was sent to meta-kde-demo to fix this in the case of pipewire
: yocto-meta-kde-demo!17
Ideally Yocto would provide support for auto enabling user services.