summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorChen Qi <qi.chen@windriver.com>2013-11-02 13:21:59 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-12 17:00:12 +0000
commit6894ee1baf0faa496147d4e3d7cd929782699d54 (patch)
treeeeb996a91ba623c8a38771bacadf53832def3005 /meta/recipes-core
parente078fa2537cc8df74c4824882ce0d9283d58bcb2 (diff)
downloadpoky-6894ee1baf0faa496147d4e3d7cd929782699d54.tar.gz
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) (From OE-Core rev: f676a69dee845cfd6de7a0cc8bd0bb813a8dffc0) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rwxr-xr-xmeta/recipes-core/sysvinit/sysvinit/bootlogd.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit/bootlogd.init b/meta/recipes-core/sysvinit/sysvinit/bootlogd.init
index 7b87827fdf..b1813572ca 100755
--- a/meta/recipes-core/sysvinit/sysvinit/bootlogd.init
+++ b/meta/recipes-core/sysvinit/sysvinit/bootlogd.init
@@ -47,9 +47,9 @@ case "$ACTION" in
47 then 47 then
48 umask 027 48 umask 027
49 start-stop-daemon --start --quiet \ 49 start-stop-daemon --start --quiet \
50 --exec $DAEMON -- -r 50 --exec $DAEMON -- -r -c
51 else 51 else
52 $DAEMON -r 52 $DAEMON -r -c
53 fi 53 fi
54 echo "$NAME." 54 echo "$NAME."
55 ;; 55 ;;