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

[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



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


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