From 0f080a699e5f01831589e5ac2aa630e02a12ec08 Mon Sep 17 00:00:00 2001 From: Zang Ruochen Date: Tue, 30 Jul 2019 10:11:48 +0800 Subject: syslog-ng: append syslog-ng.service -Append syslog-ng.service. Signed-off-by: Zang Ruochen Signed-off-by: Khem Raj --- meta-oe/recipes-support/syslog-ng/syslog-ng.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-oe/recipes-support/syslog-ng/syslog-ng.inc') diff --git a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc index c183f05e0..b00cb91ee 100644 --- a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc +++ b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc @@ -86,6 +86,7 @@ do_install_append() { install -d ${D}${systemd_unitdir}/system/ install -m 0644 ${S}/contrib/systemd/${BPN}@.service ${D}${systemd_unitdir}/system/${BPN}@.service + install -m 0644 ${S}/${BPN}.service ${D}${systemd_unitdir}/system/${BPN}.service install -m 0644 ${S}/contrib/systemd/${BPN}@default ${D}${sysconfdir}/default/${BPN}@default sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/${BPN}@.service ${D}${sysconfdir}/default/${BPN}@default @@ -117,6 +118,7 @@ RPROVIDES_${PN}-dbg += "${PN}-libs-dbg" FILES_${PN}-libs = "${libdir}/${BPN}/*.so ${libdir}/libsyslog-ng-*.so*" FILES_${PN}-libs-dev = "${libdir}/${BPN}/lib*.la" FILES_${PN}-staticdev += "${libdir}/${BPN}/libtest/*.a" +FILES_${PN} += "${systemd_unitdir}/system/*.service" INSANE_SKIP_${PN}-libs = "dev-so" RDEPENDS_${PN} += "${PN}-libs" -- cgit v1.2.3-54-g00ecf