]> code.ossystems Code Review - openembedded-core.git/commit
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:42:23 +0000 (08:42 +0100)
commitb44e291a87539fbb8e6da1a16c56f425a417e7bd
tree5c3b2c722a0cfd2bdad5f316a44928f85ae620f4
parentf8377e96b353f8cf4a5812fa14c1c0405f769096
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]

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