FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 08-15-2011, 05:12 PM
Ales Kozumplik
 
Default Create 'console=..' configuration also for grub2.

Resolves: rhbz#728923
---
pyanaconda/bootloader.py | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index accf92e..058dd71 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -1481,6 +1481,15 @@ class GRUB2(GRUB):
name += ")"
return name

+ def write_config_console(self, config):
+ if not self.console:
+ return
+
+ console_arg = "console=%s" % self.console
+ if self.console_options:
+ console_arg += ",%s" % self.console_options
+ self.boot_args.add(console_arg)
+
def write_device_map(self, install_root=""):
""" Write out a device map containing all supported devices. """
map_path = os.path.normpath(install_root + self.device_map_file)
@@ -1554,6 +1563,7 @@ class GRUB2(GRUB):
os.chmod(users_file, 0755)

def write_config(self, install_root=""):
+ self.write_config_console(None)
self.write_device_map(install_root=install_root)
self.write_defaults(install_root=install_root)

--
1.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 08-15-2011, 05:44 PM
Chris Lumens
 
Default Create 'console=..' configuration also for grub2.

> pyanaconda/bootloader.py | 10 ++++++++++
> 1 files changed, 10 insertions(+), 0 deletions(-)

Looks fine.

- Chris

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

Thread Tools




All times are GMT. The time now is 08:38 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org