Re: [PATCH 10/13] Check that there is a stage1 req before validating it otherwise.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ack.

David Lehman <dlehman@xxxxxxxxxx> wrote:

> ---
>  pyanaconda/platform.py |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/pyanaconda/platform.py b/pyanaconda/platform.py
> index 0419592..5fdb73d 100644
> --- a/pyanaconda/platform.py
> +++ b/pyanaconda/platform.py
> @@ -150,7 +150,11 @@ class Platform(object):
>  
>              Returns a list of error strings.
>          """
> -        return self.checkDiskLabel(self.bootLoaderDevice)
> +        req = self.bootLoaderDevice
> +        if not req:
> +            return [_("you have not created a bootloader stage1 target device")]
> +
> +        return self.checkDiskLabel(req)
>  
>      @property
>      def minimumSector(self, disk):
> -- 
> 1.7.3.4
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

-- 
David Cantrell <dcantrell@xxxxxxxxxx>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Seattle, WA | UTC-7

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux