FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 03-23-2012, 06:38 PM
David Lehman
 
Default 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
 
Old 03-23-2012, 06:52 PM
David Cantrell
 
Default 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
 

Thread Tools




All times are GMT. The time now is 09:58 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org