busybox: handle syslog related files properly
authorChen Qi <Qi.Chen@windriver.com>
Fri, 13 Jun 2014 05:42:33 +0000 (13:42 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 14 Jun 2014 07:43:55 +0000 (08:43 +0100)
commit13b58d4a29e2d51c4dcc9f1132daaf1e854518b6
treeb210485ceb67797ba8f15468272e31ec4e92f7c7
parente08b6504cfba7512353c71b8a04da4c3257b05ae
busybox: handle syslog related files properly

If CONFIG_SYSLOGD is not enabled, then the related service file should
not be installed as it will always fail at system start-up. The error
message is as following.

[FAILED] Failed to start System Logging Service.

The same logic applies to CONFIG_KLOGD.

So we should first check the configuration before we install these
service files.

[YOCTO #5302]

(From OE-Core rev: b44e291a87539fbb8e6da1a16c56f425a417e7bd)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/busybox.inc