Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Development (http://www.linux-archive.org/gentoo-development/)
-   -   Fix sense of test to identify /boot versus PReP. (http://www.linux-archive.org/gentoo-development/648182-fix-sense-test-identify-boot-versus-prep.html)

David Lehman 03-23-2012 06:38 PM

Fix sense of test to identify /boot versus PReP.
 
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 03-23-2012 06:52 PM

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


All times are GMT. The time now is 01:37 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.