Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Kubuntu Development (http://www.linux-archive.org/kubuntu-development/)
-   -   Handle systems where all disks have a whole disk format (#617554) (http://www.linux-archive.org/kubuntu-development/404951-handle-systems-where-all-disks-have-whole-disk-format-617554-a.html)

David Lehman 07-27-2010 10:49 PM

Handle systems where all disks have a whole disk format (#617554)
 
Ack.

On Tue, 2010-07-27 at 09:52 -1000, David Cantrell wrote:
> ---
> storage/partitioning.py | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/storage/partitioning.py b/storage/partitioning.py
> index e173909..4bc05ee 100644
> --- a/storage/partitioning.py
> +++ b/storage/partitioning.py
> @@ -191,6 +191,7 @@ def doAutoPartition(anaconda):
>
> if anaconda.id.storage.doAutoPart:
> clearPartitions(anaconda.id.storage)
> + anaconda.id.bootloader.updateDriveList()
>
> if anaconda.id.storage.doAutoPart:
> (disks, devs) = _createFreeSpacePartitions(anaconda)
> @@ -967,7 +968,8 @@ def allocatePartitions(storage, disks, partitions, freespace):
> req_disks.sort(key=lambda d: d.name, cmp=storage.compareDisks)
> boot_index = None
> for disk in req_disks:
> - if disk.name == storage.anaconda.id.bootloader.drivelist[0]:
> + if disk.name in storage.anaconda.id.bootloader.drivelist and
> + disk.name == storage.anaconda.id.bootloader.drivelist[0]:
> boot_index = req_disks.index(disk)
>
> if boot_index is not None and len(req_disks) > 1:


_______________________________________________
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 04:06 PM.

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