install -d -m0755 ${D}/${systemd_system_unitdir}
install -m0644 -p -D collect-engtools.service ${D}/${systemd_system_unitdir}
+ sed -i -e 's/network.service/networking.service/' \
+ ${D}/${systemd_system_unitdir}/collect-engtools.service
+
+ sed -i -e 's|/usr/local/bin/|${bindir}/|' \
+ ${D}/${sysconfdir}/init.d/collect-engtools.sh \
+ ${D}/${bindir}/cleanup-engtools.sh
}
FILES_collect-engtools = " \
${sysconfdir}/init.d/collect-engtools.sh \
${systemd_system_unitdir}/collect-engtools.service \
"
+
+SYSTEMD_PACKAGES += "collect-engtools"
+SYSTEMD_SERVICE_collect-engtools = "collect-engtools.service"
+SYSTEMD_AUTO_ENABLE_collect-engtools = "enable"