sysvinit: fix missing of boot log
cover sysvinit: fix missing of boot log
From: Chen Qi <[email protected]>
The following changes since commit 4d8ab87d25ea6e59dc88375813ef88ee0ac813d0:
build-appliance: Update SRCREV (2013-09-24 18:09:12 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/bootlogd
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/bootlogd
Chen Qi (1):
sysvinit: fix missing of boot log
meta/recipes-core/sysvinit/sysvinit/bootlogd.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.9.5
PATCH 1/1 sysvinit: fix missing of boot log
From: Chen Qi <[email protected]>
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]
--- meta/recipes-core/sysvinit/sysvinit/bootlogd.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/sysvinit/sysvinit/bootlogd.init +2 -2
@@ -47,9 +47,9 @@ case "$ACTION" in then umask 027 start-stop-daemon --start --quiet \ - --exec $DAEMON -- -r + --exec $DAEMON -- -r -c else - $DAEMON -r + $DAEMON -r -c fi echo "$NAME." ;;
Signature · 1 line
1.7.9.5
Please ignore this one.
It has a potential problem. That is, if tmpfs is not mounted (currently done in the udev init script, but udev may not be installed), the log will still be missing.
I'll send out a V2.
//Chen Qi
Quoted 17 lines · On 09/26/2013 04:14 PM, [email protected] wrote:
From: Chen Qi <[email protected]>
The following changes since commit
4d8ab87d25ea6e59dc88375813ef88ee0ac813d0:build-appliance: Update SRCREV (2013-09-24 18:09:12 +0100)are available in the git repository at:
git://git.pokylinux.org/poky-contribChenQi/bootlogd
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/bootlogdChen Qi (1):
sysvinit: fix missing of boot logmeta/recipes-core/sysvinit/sysvinit/bootlogd.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)