Thanks for you help, finally I've got it working.
Just for clarification, I'm using Yocto rocko. I've checked and support for
parametrized systemd services is available in systemd.bbclass.
Also I've tried to make a dummy profile file and populate it on rootfs
instead of symlink. It also didn't
On 17/11/2019 19:44, Mateusz Majchrzycki wrote:
What am I doing wrong? I suppose the symlink is not a problem as
normally systemctl enables service with non-existent file as a parameter
(it fails on start, but not enabling).
The problem is that the systemd class doesn't know what to do here.
On 17.11.2019 20:44, Mateusz Majchrzycki wrote:
Hi!
Hi,
I have a pretty unusual problem. I need to enable a systemd service
(openvpn) with a profile as a parameter (typically you do it by
'systemctl enable openvpn@profile'). But the profile on build time
doesn't exist (it is just symlink to
Hi!
I have a pretty unusual problem. I need to enable a systemd service
(openvpn) with a profile as a parameter (typically you do it by 'systemctl
enable openvpn@profile'). But the profile on build time doesn't exist (it
is just symlink to non existing file).
My recipe bb looks like (I'm omitting