]> code.ossystems Code Review - openembedded-core.git/commit
bootlogd: create log file if not present
authorChen Qi <qi.chen@windriver.com>
Sat, 2 Nov 2013 05:21:59 +0000 (13:21 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Dec 2013 16:53:05 +0000 (16:53 +0000)
commitf676a69dee845cfd6de7a0cc8bd0bb813a8dffc0
tree1a7c46a92ce63d1f6e7216e565286b87bddb4ccd
parent16968759d39534fb9a703903c6de65535d57777b
bootlogd: create log file if not present

Previously, our system had no boot log even if the bootlogd daemon was
started correctly. The root cause is that the log file doesn't exist
when starting the bootlogd.

Add '-c' option to bootlogd so that it will create the boot log if
it doesn't exist.

[YOCTO #5273]

(From OE-Core master rev: 6059be3ab60b8ab463d438c47bb17553d184a790)

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>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-core/sysvinit/sysvinit/bootlogd.init