[PATCH] [mkinitrd] Move console_init to after module load.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux