[rhel6-branch] If kernel-kdump is installed, don't set it as the default kernel. (#734121)
Samantha N. Bueno
sbueno+anaconda at redhat.com
Wed Jun 18 15:23:11 UTC 2014
Patch supplied by Masahiro Matsuya <mmatsuya at redhat.com>
Resolves: rhbz#734121
---
bootloader.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bootloader.py b/bootloader.py
index 6d850b8..e4d9ab3 100644
--- a/bootloader.py
+++ b/bootloader.py
@@ -210,7 +210,8 @@ def writeBootloader(anaconda):
for (version, arch, nick) in \
anaconda.backend.kernelVersionList(anaconda.rootPath):
if nick != 'base':
- defkern = "kernel-%s" %(nick,)
+ if nick != 'kdump':
+ defkern = "kernel-%s" %(nick,)
kernelList.append(("%s-%s" %(kernelLabel, nick),
"%s-%s" %(kernelLongLabel, nick),
version))
--
1.8.3.1
More information about the anaconda-patches
mailing list