[rhel6-branch][PATCH] Fix bootloader device detection on ks upgrades for s390x (#875644)

Samantha N. Bueno sbueno+anaconda at redhat.com
Wed Aug 7 13:45:09 UTC 2013


Argh, please take note of the new tag.... this should be for
rhel6-branch.

On Wed, Aug 07, 2013 at 09:42:56AM -0400, Samantha N. Bueno wrote:
> Unless the bootloader is detected to be grub, the 'upgrade' flag
> doesn't get set and a normal install is done.
> On s390x, we need to call setup, otherwise the appropriate boot device
> to install to is never detected.
> 
> Resolves: rhbz#875644
> ---
>  bootloader.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/bootloader.py b/bootloader.py
> index a67b0d9..4610c56 100644
> --- a/bootloader.py
> +++ b/bootloader.py
> @@ -174,6 +174,7 @@ def writeBootloader(anaconda):
>              anaconda.id.bootloader.setDevice(devicePathToName(theDev))
>          else:
>              anaconda.id.bootloader.doUpgradeOnly = 0    
> +            anaconda.id.bootloader.images.setup(anaconda.id.storage)
>  
>      w = anaconda.intf.waitWindow(_("Bootloader"), _("Installing bootloader."))
>  
> -- 
> 1.7.11.7
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches


More information about the anaconda-patches mailing list