Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   if we are using a serial console for install then append console=ttyS0, 9600 so upstart will create us a serial console on install (http://www.linux-archive.org/gentoo-user/332211-if-we-using-serial-console-install-then-append-console-ttys0-9600-so-upstart-will-create-us-serial-console-install.html)

Dennis Gilmore 02-26-2010 02:05 AM

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(" root=%s
" % (realroot,))
--
1.7.0

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


All times are GMT. The time now is 04:07 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.