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

 
 
LinkBack Thread Tools
 
Old 04-05-2011, 10:22 PM
David Cantrell
 
Default Prevent debug and kdump kernels from becoming the default (#693702)

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

diff --git a/booty/s390.py b/booty/s390.py
index 0101d96..9fd9c1e 100644
--- a/booty/s390.py
+++ b/booty/s390.py
@@ -131,7 +131,8 @@ class s390BootloaderInfo(bootloaderInfo):
f.write('[defaultboot]
')
if self.timeout:
f.write('timeout=%d
' % self.timeout)
- f.write('default=' + kernelList[-1][0] + '-' + kernelList[-1][2] + '
')
+ defaultList = filter(lambda x: not (x[0].endswith('debug') or x[0].endswith('kdump')), kernelList)
+ f.write('default=' + defaultList[-1][0] + '-' + defaultList[-1][2] + '
')
f.write('target=%s
' % (self.kernelLocation))

cfPath = "/boot/"
--
1.7.1

_______________________________________________
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 04:19 PM.

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