[RHEL6] change missing boot partition error (#821336)

Jesse Keating jkeating at redhat.com
Mon Jul 16 19:47:14 UTC 2012


On 07/16/2012 11:10 AM, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl at redhat.com>
>
> X86 is a subclass of EFI, so the error message may apply to non EFI
> systems.
>
> Resolves: rhbz#821336
> ---
>   platform.py |    4 +++-
>   1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/platform.py b/platform.py
> index 3cd9116..31552ab 100644
> --- a/platform.py
> +++ b/platform.py
> @@ -272,8 +272,10 @@ class EFI(Platform):
>               NOTE: X86 does not have a separate checkBootRequest method,
>                     so this one must work for x86 as well as EFI.
>           """
> -        if not req:
> +        if not req and self.isEfi:
>               return [_("You have not created a /boot/efi partition.")]
> +        elif not req:
> +            return [_("You have not created a bootable partition.")]
>
>           errors = Platform.checkBootRequest(self, req)
>
>

ACK

-- 
Jesse Keating
Fedora -- FreedomĀ² is a feature!




More information about the anaconda-patches mailing list