diff options
author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2019-07-30 10:11:48 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-07-30 19:15:24 -0700 |
commit | 0f080a699e5f01831589e5ac2aa630e02a12ec08 (patch) | |
tree | 86840b69667323f507bee3f7c966736130c1b467 | |
parent | bc27c62dced424e9e9f49fa13041f575a0b41fad (diff) | |
download | meta-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>
-rw-r--r-- | meta-oe/recipes-support/syslog-ng/syslog-ng.inc | 2 |
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" | |||
117 | FILES_${PN}-libs = "${libdir}/${BPN}/*.so ${libdir}/libsyslog-ng-*.so*" | 118 | FILES_${PN}-libs = "${libdir}/${BPN}/*.so ${libdir}/libsyslog-ng-*.so*" |
118 | FILES_${PN}-libs-dev = "${libdir}/${BPN}/lib*.la" | 119 | FILES_${PN}-libs-dev = "${libdir}/${BPN}/lib*.la" |
119 | FILES_${PN}-staticdev += "${libdir}/${BPN}/libtest/*.a" | 120 | FILES_${PN}-staticdev += "${libdir}/${BPN}/libtest/*.a" |
121 | FILES_${PN} += "${systemd_unitdir}/system/*.service" | ||
120 | INSANE_SKIP_${PN}-libs = "dev-so" | 122 | INSANE_SKIP_${PN}-libs = "dev-so" |
121 | RDEPENDS_${PN} += "${PN}-libs" | 123 | RDEPENDS_${PN} += "${PN}-libs" |
122 | 124 | ||