afs-supervisor.service failed to start the supervisor
due to a non available activation socket.
This change start the api socket and will activate
the service on need.
Bug-AGL: SPEC-2753
Change-Id: I2fd3c2d2d29bce8d70becaba0792918d6f6c0769
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
do_install_append_agl-devel_class-target() {
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
install -d -m 0755 ${D}${systemd_system_unitdir}/multi-user.target.wants
- ln -s ../afs-supervisor.service ${D}${systemd_system_unitdir}/multi-user.target.wants/afs-supervisor.service
+ ln -s ../afm-api-supervisor.service ${D}${systemd_system_unitdir}/multi-user.target.wants/afm-api-supervisor.service
fi
}