[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] [mkinitrd] Move console_init to after module load.
- From: Bill Nottingham <notting redhat com>
- To: anaconda-devel-list redhat com
- Cc: Bill Nottingham <notting redhat com>
- Subject: [PATCH] [mkinitrd] Move console_init to after module load.
- Date: Wed, 20 May 2009 14:54:22 -0400
When a framebuffer or KMS driver is loaded, the font is replaced with
whatever font is built into the kernel. So we need to initialize
the console and load the fonts after modules load, but before plymouth
initializes (as setting the font won't work once plymouth goes into
graphics mode).
Signed-off-by: Bill Nottingham <notting redhat com>
---
mkinitrd | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mkinitrd b/mkinitrd
index e1e1b87..7dbde04 100755
--- a/mkinitrd
+++ b/mkinitrd
@@ -1501,8 +1501,6 @@ fi
for i in 0 1 2 3 ; do
emit "mknod /dev/ttyS$i c 4 $(($i + 64))"
done
-[ -n "$I18N" ] && emit "/lib/udev/console_init tty0"
-
emit "daemonize --ignore-missing /bin/plymouthd"
# If we have drm loaded, include modesetting drivers
@@ -1523,6 +1521,8 @@ loadDrivers
EOF
fi
+[ -n "$I18N" ] && emit "/lib/udev/console_init tty0"
+
emit "plymouth --show-splash"
if [ -x /usr/libexec/plymouth/plymouth-populate-initrd ]; then
--
1.6.2.2
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]