| Summary: | psplash: splash screen does not go away when booting into runlevel 3 | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Stoicescu Cornel <corneliux.stoicescu> |
| Component: | core | Assignee: | Chen Qi <Qi.Chen> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | ke.zou, liezhi.yang, meta.mr.watcher, meta.watcher, sgw |
| Version: | 1.4 | ||
| Target Milestone: | 1.4 M6 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Stoicescu Cornel
2013-02-18 15:20:49 UTC
The root cause is in the rc script.
#Uncomment to cause psplash to exit manually, otherwise it exits when it sees a VC switch
if [ "x$runlevel" != "xS" ] && [ ! -x /etc/init.d/xserver-nodm ]; then
if type psplash-write >/dev/null 2>&1; then
TMPDIR=/mnt/.psplash psplash-write "QUIT" || true
umount /mnt/.psplash
fi
fi
So psplash doesn't exit even when xserver-nodm is not started, for example, at runlevel 3.
I changed it to:
if [ "x$runlevel" != "xS" ] && [ ! -x /etc/rc${runlevel}.d/S??xserver-nodm ]; then
merged into poky/master: f9a92d9534e4fbb8d912c5e8fba8fb6e96286601 http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=70b14f1c4181d820e56e67f4a5d921905094dc62 verified in image http://autobuilder.yoctoproject.org/pub/nightly/20130403-2 master:fe336b149552b1f4f24d979c40302653298b98cc running on qemu platform, all YOCTO-PROJECT splash disappeared when runlevel = 3 |