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 > Fedora SELinux Support

LinkBack Thread Tools
Old 03-05-2010, 02:19 PM
Hans de Goede
Default Add "crashkernel=auto" to grub.conf for RHEL installs (#561729)


On 03/05/2010 03:58 PM, Chris Lumens wrote:

diff --git a/installclass.py b/installclass.py
index f6c53e6..5ede06a 100644
--- a/installclass.py
+++ b/installclass.py
@@ -53,6 +53,7 @@ class BaseInstallClass(object):
# default to showing the upgrade option
showUpgrade = True
bootloaderTimeoutDefault = 0
+ bootloaderExtraArgs = ""

# list of of (txt, grplist) tuples for task selection screen
tasks = []
@@ -190,6 +191,7 @@ class BaseInstallClass(object):

def configure(self, anaconda):
anaconda.bootloader.timeout = self.bootloaderTimeoutDefault
+ anaconda.bootloader.args.append(self.bootloaderExt raArgs)

def versionMatches(self, oldver):

anaconda.bootloader.args is a list, yeah? So you probably also want to
make bootloaderExtraArgs a list for consistency.

Erm, no it is our own class (KernelArguments) and its
append method always expects a string as argument
(using whitespace as seperation for multiple args).

I know I know, ugly nobody ever said booty is pretty.



Anaconda-devel-list mailing list

Thread Tools

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

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