[master/rhel7-branch] s390x: Don't create kdump bootloader entries. (#1036086)
Samantha N. Bueno
sbueno+anaconda at redhat.com
Wed Mar 5 21:48:46 UTC 2014
As this is not necessary, don't try to do it.
Resolves: rhbz#1036086
---
pyanaconda/bootloader.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index a30f2cd..991bc47 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -2102,6 +2102,10 @@ class ZIPL(BootLoader):
def write_config_images(self, config):
for image in self.images:
+ if "kdump" in (image.initrd or image.kernel):
+ # no need to create bootloader entries for kdump
+ return
+
args = Arguments()
if image.initrd:
initrd_line = "\tramdisk=%s/%s\n" % (self.boot_dir,
--
1.8.3.1
More information about the anaconda-patches
mailing list