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 > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 03-29-2012, 06:09 PM
David Cantrell
 
Default Fix onbiosdisk comparison for kickstart installs (#802397)

---
kickstart.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kickstart.py b/kickstart.py
index d9d811c..1830c28 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -729,7 +729,7 @@ class PartitionData(commands.partition.RHEL6_PartData):

if self.onbiosdisk != "":
for (disk, biosdisk) in storage.eddDict.iteritems():
- if str(biosdisk) == self.onbiosdisk:
+ if "%x" % biosdisk == self.onbiosdisk:
self.disk = disk
break

--
1.7.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-29-2012, 06:13 PM
Chris Lumens
 
Default Fix onbiosdisk comparison for kickstart installs (#802397)

> diff --git a/kickstart.py b/kickstart.py
> index d9d811c..1830c28 100644
> --- a/kickstart.py
> +++ b/kickstart.py
> @@ -729,7 +729,7 @@ class PartitionData(commands.partition.RHEL6_PartData):
>
> if self.onbiosdisk != "":
> for (disk, biosdisk) in storage.eddDict.iteritems():
> - if str(biosdisk) == self.onbiosdisk:
> + if "%x" % biosdisk == self.onbiosdisk:
> self.disk = disk
> break

Yeah, looks fine.

- Chris

_______________________________________________
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 12:59 AM.

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