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