[master/rhel7-branch] s390x: Don't create kdump bootloader entries. (#1036086)

Brian C. Lane bcl at redhat.com
Wed Mar 5 22:29:55 UTC 2014


On Wed, Mar 05, 2014 at 04:48:46PM -0500, Samantha N. Bueno wrote:
> 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
> +

Shouldn't that be a tuple or a list?

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list