[PATCH 9/9] if we are using a serial console for install then append console=ttyS0, 9600 so upstart will create us a serial console on install

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

 



---
 booty/sparc.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/booty/sparc.py b/booty/sparc.py
index f6dd7be..1f65a23 100644
--- a/booty/sparc.py
+++ b/booty/sparc.py
@@ -65,6 +65,9 @@ class sparcBootloaderInfo(bootloaderInfo):
 
             append = "%s" % (self.args.get(),)
             
+            if self.serial == 1:
+                append = "%s console=ttyS0,9600" % append
+
             realroot = rootDev.fstabSpec
             if rootIsDevice(realroot):
                 f.write("\troot=%s\n" % (realroot,))
-- 
1.7.0

_______________________________________________
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