sysklogd: various fixes so it starts/stops cleanly
authorJoshua Lock <josh@linux.intel.com>
Wed, 1 Feb 2012 00:49:47 +0000 (16:49 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Feb 2012 18:28:27 +0000 (18:28 +0000)
commitbd52dd4e64b3e121b6b3fede4c29c101a3afe74d
tree954d64c262a3bf5e8512953412267d3cd5ad76ec
parent5c8d62bc8d28b3ae4c383e045b139cb5a5434a05
sysklogd: various fixes so it starts/stops cleanly

This patch fixes several issues with the sysklogd recipe:
o Errors at start due to non-existent /var/log/news/ - every other log
  file is created in /var/log, not a sub-directory. Do the same for news
  logs.
o klogd would not be stopped due to pidfile recycling, give klogd its own
  pidfile
o preinstalls failed at rootfs creation time by trying to access the host
  root filesystem rather than a path relative to $D. Update the preinst to
  test for $D and do the right thing.

(From OE-Core rev: 111d1b8bb2b89e06091335fff6a917bbd9a1f66e)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/sysklogd/files/sysklogd
meta/recipes-extended/sysklogd/files/syslog.conf
meta/recipes-extended/sysklogd/sysklogd.inc
meta/recipes-extended/sysklogd/sysklogd_1.5.bb