<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 03/27/2013 07:11 AM, Richard Purdie
wrote:<br>
</div>
<blockquote cite="mid:1364339479.28471.0.camel@ted" type="cite">
<pre wrap="">On Tue, 2013-03-26 at 15:18 +0800, <a class="moz-txt-link-abbreviated" href="mailto:Qi.Chen@windriver.com">Qi.Chen@windriver.com</a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">From: Chen Qi <a class="moz-txt-link-rfc2396E" href="mailto:Qi.Chen@windriver.com"><Qi.Chen@windriver.com></a>
This script is intended to start at runlevel 2 3 4 5, as specified
in its HEAD INFO area.
</pre>
</blockquote>
<pre wrap="">
Perhaps the header is wrong?
</pre>
<blockquote type="cite">
<pre wrap="">The fact that it was not started at runlevel 3 caused splash screen
not going away when booting into runlevel 3.
</pre>
</blockquote>
<pre wrap="">
I thought psplash was meant to timeout and switch to the console, or
switch there at boot completion anyway. I suspect the bug is somewhere
else.
Cheers,
Richard
</pre>
</blockquote>
<br>
Thank you for reminding me of this.<br>
I've sent another patch to fix this problem.<br>
<br>
The root cause is in the rc script.<br>
<br>
#Uncomment to cause psplash to exit manually, otherwise it exits
when it sees a VC switch <br>
<i><b>if [ "x$runlevel" != "xS" ] && [ ! -x
/etc/init.d/xserver-nodm ]; then</b></i><br>
if type psplash-write >/dev/null 2>&1; then<br>
TMPDIR=/mnt/.psplash psplash-write "QUIT" || true<br>
umount /mnt/.psplash<br>
fi<br>
fi<br>
<br>
So psplash doesn't exit even when xserver-nodm is not started, for
example, at runlevel 3.<br>
<br>
I changed it to:<br>
<i><b>if [ "x$runlevel" != "xS" ] && [ ! -x
/etc/rc${runlevel}.d/S??xserver-nodm ]; then</b></i><br>
<br>
Best Regards,<br>
Chen Qi<br>
<blockquote cite="mid:1364339479.28471.0.camel@ted" type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">[YOCTO #3904]
Signed-off-by: Chen Qi <a class="moz-txt-link-rfc2396E" href="mailto:Qi.Chen@windriver.com"><Qi.Chen@windriver.com></a>
---
.../x11-common/xserver-nodm-init.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init.bb b/meta/recipes-graphics/x11-common/xserver-nodm-init.bb
index eab76c5..9faeb99 100644
--- a/meta/recipes-graphics/x11-common/xserver-nodm-init.bb
+++ b/meta/recipes-graphics/x11-common/xserver-nodm-init.bb
@@ -26,7 +26,7 @@ do_install() {
inherit update-rc.d useradd
INITSCRIPT_NAME = "xserver-nodm"
-INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ."
+INITSCRIPT_PARAMS = "start 9 2 3 4 5 . stop 20 0 1 6 ."
# Use fixed Xusername of xuser for now, this will need to be
# fixed if the Xusername changes from xuser
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
</body>
</html>