[PATCH] Don't check stage1 mountpoint (#974543)

David Lehman dlehman at redhat.com
Tue Jun 18 04:43:26 UTC 2013


On Mon, 2013-06-17 at 16:59 -0700, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl at redhat.com>
> 
> When is_valid_stage1_device is called the mountpoint hasn't been set so
> all this does is prevent UEFI from reusing the existing EFI System
> Partition.

This would mean that the sanity check would pass for non-autopart
installs even if the user didn't set the mountpoint for their
preexisting ESP.

> ---
>  pyanaconda/bootloader.py | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
> index e037482..404c943 100644
> --- a/pyanaconda/bootloader.py
> +++ b/pyanaconda/bootloader.py
> @@ -609,7 +609,6 @@ class BootLoader(object):
>  
>          if not self._is_valid_format(device,
>                                       format_types=constraint["format_types"],
> -                                     mountpoints=constraint["mountpoints"],
>                                       desc=description):
>              valid = False
>  




More information about the anaconda-patches mailing list