Re: [PATCH 1/3] Fix a traceback when looking for PS3 boot partitions (#490738).

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

 



On Tue, 2009-03-17 at 16:26 -0400, Chris Lumens wrote:
> ---
>  platform.py |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)

Looks good, assuming there is no size limitation for those bootable HFS
partitions.

> 
> diff --git a/platform.py b/platform.py
> index a329094..6ce5c77 100644
> --- a/platform.py
> +++ b/platform.py
> @@ -277,10 +277,10 @@ class NewWorldPPC(PPC):
>      def bootDevice(self):
>          bootDev = None
>  
> -        for device in self.anaconda.id.storage.devices.values():
> +        for part in self.anaconda.id.storage.partitions:
>              # XXX do we need to also check the size?
> -            if device.format.type == "hfs" and device.bootable:
> -                bootDev = device
> +            if part.format.type == "hfs" and part.bootable:
> +                bootDev = part
>  
>          return bootDev
>  

_______________________________________________
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