[rhel6-branch] If kernel-kdump is installed, don't set it as the default kernel. (#734121)

Brian C. Lane bcl at redhat.com
Wed Jun 18 16:36:40 UTC 2014


On Wed, Jun 18, 2014 at 11:23:11AM -0400, Samantha N. Bueno wrote:
> 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

Ack

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


More information about the anaconda-patches mailing list