diff options
| -rw-r--r-- | meta-oe/recipes-support/syslog-ng/syslog-ng.inc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc index 3bbebec717..3489ac5efa 100644 --- a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc +++ b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc | |||
| @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7ec1bcc46f28b11f4722e20d9b7dd4d5" | |||
| 7 | # update-rc.d and update-alternatives is important | 7 | # update-rc.d and update-alternatives is important |
| 8 | RDEPENDS_${PN} += " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "update-rc.d", d)}" | 8 | RDEPENDS_${PN} += " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "update-rc.d", d)}" |
| 9 | 9 | ||
| 10 | INC_PR = "r6" | 10 | INC_PR = "r7" |
| 11 | 11 | ||
| 12 | inherit autotools systemd | 12 | inherit autotools systemd |
| 13 | 13 | ||
| @@ -26,7 +26,7 @@ EXTRA_OECONF = " \ | |||
| 26 | --disable-pcre \ | 26 | --disable-pcre \ |
| 27 | --disable-sql \ | 27 | --disable-sql \ |
| 28 | --enable-systemd \ | 28 | --enable-systemd \ |
| 29 | --with-systemdsystemunitdir=${base_libdir}/systemd/system \ | 29 | --with-systemdsystemunitdir=${systemd_unitdir}/system \ |
| 30 | " | 30 | " |
| 31 | 31 | ||
| 32 | do_configure_prepend() { | 32 | do_configure_prepend() { |
| @@ -47,11 +47,6 @@ do_install_append() { | |||
| 47 | SYSTEMD_PACKAGES = "${PN}-systemd" | 47 | SYSTEMD_PACKAGES = "${PN}-systemd" |
| 48 | SYSTEMD_SERVICE = "${PN}.service" | 48 | SYSTEMD_SERVICE = "${PN}.service" |
| 49 | 49 | ||
| 50 | PACKAGES =+ "${PN}-systemd" | ||
| 51 | |||
| 52 | FILES_${PN}-systemd += "${base_libdir}/systemd" | ||
| 53 | RDEPENDS_${PN}-systemd += "${PN}" | ||
| 54 | |||
| 55 | FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \ | 50 | FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \ |
| 56 | ${sysconfdir} ${sharedstatedir} ${localstatedir} \ | 51 | ${sysconfdir} ${sharedstatedir} ${localstatedir} \ |
| 57 | ${base_bindir}/* ${base_sbindir}/* \ | 52 | ${base_bindir}/* ${base_sbindir}/* \ |
