diff options
| author | Michael Lippautz <michael.lippautz@gmail.com> | 2011-04-20 15:29:40 +0200 |
|---|---|---|
| committer | Michael Lippautz <michael.lippautz@gmail.com> | 2011-04-20 15:40:36 +0200 |
| commit | 55fac53f408e5c4bbde80597cb7c9b220a240c1e (patch) | |
| tree | 53a7e8c644b9ddc58bcd971b5698ef7e573ae172 /meta-oe/recipes-support/syslog-ng/syslog-ng.inc | |
| parent | 86738fa85f8a2e6b29863c51158a28f312bdd701 (diff) | |
| download | meta-openembedded-55fac53f408e5c4bbde80597cb7c9b220a240c1e.tar.gz | |
syslog-ng: Runtime corrections
* Ships with a working syslog-ng.conf
* Stops any running syslogd upon installation
Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/syslog-ng/syslog-ng.inc')
| -rw-r--r-- | meta-oe/recipes-support/syslog-ng/syslog-ng.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc index 38bcfb08ed..c3a36c18f9 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 = "r5" | 10 | INC_PR = "r6" |
| 11 | 11 | ||
| 12 | inherit autotools | 12 | inherit autotools |
| 13 | 13 | ||
| @@ -41,6 +41,7 @@ do_install_append() { | |||
| 41 | CONFFILES_${PN} = "${sysconfdir}/${PN}.conf" | 41 | CONFFILES_${PN} = "${sysconfdir}/${PN}.conf" |
| 42 | 42 | ||
| 43 | pkg_postinst_${PN} () { | 43 | pkg_postinst_${PN} () { |
| 44 | /etc/init.d/syslog stop | ||
| 44 | update-alternatives --install ${sysconfdir}/init.d/syslog syslog-init syslog.${PN} 200 | 45 | update-alternatives --install ${sysconfdir}/init.d/syslog syslog-init syslog.${PN} 200 |
| 45 | 46 | ||
| 46 | if test "x$D" != "x"; then | 47 | if test "x$D" != "x"; then |
