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

[f16-branch 5/5] Add "console=XXX" to yaboot.conf if using virtpconsole (#758530)



Following tradition from RHEL6 and earlier, if we're on a POWER system
with a virtpconsole (e.g. hvc0), add "console=hvc0" to the boot args in
yaboot.conf.

Note that this is only necessary because of some shortcomings of F16
plymouth - see bug #744415 for background.
---
 pyanaconda/bootloader.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index 547f7b8..4f45645 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -1725,6 +1725,9 @@ class YabootSILOBase(BootLoader):
                 args.add("root=%s" % root_device_spec)
                 root_line = ""
 
+            if flags.virtpconsole:
+                args.add("console=%s" % self.console)
+
             args.update(self.boot_args)
 
             stanza = ("image=%(boot_prefix)s%(kernel)s\n"
-- 
1.7.7.4


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