Fix sense of test to identify /boot versus PReP.
Ack.
On Fri, Mar 23, 2012 at 02:38:56PM -0500, David Lehman wrote:
> Related: rhbz#725418
> ---
> platform.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/platform.py b/platform.py
> index 0ce3b70..bffa73a 100644
> --- a/platform.py
> +++ b/platform.py
> @@ -365,7 +365,7 @@ class PPC(Platform):
> def checkBootRequest(self, req):
> errors = Platform.checkBootRequest(self, req)
>
> - if req == self.bootDevice():
> + if req != self.bootDevice():
> # yaboot cannot find /boot on a logical partition
> if hasattr(req, "partedPartition") and req.isLogical:
> errors.append(_("The boot partition must be a primary partition."))
> --
> 1.7.6
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@redhat.com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list
--
David Cantrell <dcantrell@redhat.com>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Westford, MA | EST5EDT
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|