summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorZang Ruochen <zangrc.fnst@cn.fujitsu.com>2019-07-30 10:11:48 +0800
committerKhem Raj <raj.khem@gmail.com>2019-07-30 19:15:24 -0700
commit0f080a699e5f01831589e5ac2aa630e02a12ec08 (patch)
tree86840b69667323f507bee3f7c966736130c1b467 /meta-oe/recipes-support
parentbc27c62dced424e9e9f49fa13041f575a0b41fad (diff)
downloadmeta-openembedded-0f080a699e5f01831589e5ac2aa630e02a12ec08.tar.gz
syslog-ng: append syslog-ng.service
-Append syslog-ng.service. Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r--meta-oe/recipes-support/syslog-ng/syslog-ng.inc2
1 files changed, 2 insertions, 0 deletions
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() {
86 86
87 install -d ${D}${systemd_unitdir}/system/ 87 install -d ${D}${systemd_unitdir}/system/
88 install -m 0644 ${S}/contrib/systemd/${BPN}@.service ${D}${systemd_unitdir}/system/${BPN}@.service 88 install -m 0644 ${S}/contrib/systemd/${BPN}@.service ${D}${systemd_unitdir}/system/${BPN}@.service
89 install -m 0644 ${S}/${BPN}.service ${D}${systemd_unitdir}/system/${BPN}.service
89 install -m 0644 ${S}/contrib/systemd/${BPN}@default ${D}${sysconfdir}/default/${BPN}@default 90 install -m 0644 ${S}/contrib/systemd/${BPN}@default ${D}${sysconfdir}/default/${BPN}@default
90 91
91 sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/${BPN}@.service ${D}${sysconfdir}/default/${BPN}@default 92 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"
117FILES_${PN}-libs = "${libdir}/${BPN}/*.so ${libdir}/libsyslog-ng-*.so*" 118FILES_${PN}-libs = "${libdir}/${BPN}/*.so ${libdir}/libsyslog-ng-*.so*"
118FILES_${PN}-libs-dev = "${libdir}/${BPN}/lib*.la" 119FILES_${PN}-libs-dev = "${libdir}/${BPN}/lib*.la"
119FILES_${PN}-staticdev += "${libdir}/${BPN}/libtest/*.a" 120FILES_${PN}-staticdev += "${libdir}/${BPN}/libtest/*.a"
121FILES_${PN} += "${systemd_unitdir}/system/*.service"
120INSANE_SKIP_${PN}-libs = "dev-so" 122INSANE_SKIP_${PN}-libs = "dev-so"
121RDEPENDS_${PN} += "${PN}-libs" 123RDEPENDS_${PN} += "${PN}-libs"
122 124