* [PATCH 0/1] sysvinit: fix missing of boot log
@ 2013-09-26 8:14 Qi.Chen
2013-09-26 8:14 ` [PATCH 1/1] " Qi.Chen
2013-09-26 10:00 ` [PATCH 0/1] " ChenQi
0 siblings, 2 replies; 3+ messages in thread
From: Qi.Chen @ 2013-09-26 8:14 UTC (permalink / raw)
To: openembedded-core
From: Chen Qi <Qi.Chen@windriver.com>
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(-)
--
1.7.9.5
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] sysvinit: fix missing of boot log
2013-09-26 8:14 [PATCH 0/1] sysvinit: fix missing of boot log Qi.Chen
@ 2013-09-26 8:14 ` Qi.Chen
2013-09-26 10:00 ` [PATCH 0/1] " ChenQi
1 sibling, 0 replies; 3+ messages in thread
From: Qi.Chen @ 2013-09-26 8:14 UTC (permalink / raw)
To: openembedded-core
From: Chen Qi <Qi.Chen@windriver.com>
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]
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
meta/recipes-core/sysvinit/sysvinit/bootlogd.init | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/sysvinit/sysvinit/bootlogd.init b/meta/recipes-core/sysvinit/sysvinit/bootlogd.init
index 7b87827..b181357 100755
--- a/meta/recipes-core/sysvinit/sysvinit/bootlogd.init
+++ b/meta/recipes-core/sysvinit/sysvinit/bootlogd.init
@@ -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."
;;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 0/1] sysvinit: fix missing of boot log
2013-09-26 8:14 [PATCH 0/1] sysvinit: fix missing of boot log Qi.Chen
2013-09-26 8:14 ` [PATCH 1/1] " Qi.Chen
@ 2013-09-26 10:00 ` ChenQi
1 sibling, 0 replies; 3+ messages in thread
From: ChenQi @ 2013-09-26 10:00 UTC (permalink / raw)
To: openembedded-core
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
On 09/26/2013 04:14 PM, Qi.Chen@windriver.com wrote:
> From: Chen Qi <Qi.Chen@windriver.com>
>
> 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(-)
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-09-26 10:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-26 8:14 [PATCH 0/1] sysvinit: fix missing of boot log Qi.Chen
2013-09-26 8:14 ` [PATCH 1/1] " Qi.Chen
2013-09-26 10:00 ` [PATCH 0/1] " ChenQi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox