Re: PATCH [1/2]: storage-branch: Do not create PV's in empty space of disks not selected for install

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

 



On Sun, 2009-03-01 at 00:08 +0100, Hans de Goede wrote:
> ---
>   storage/partitioning.py |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)

Looks good.

> 
> diff --git a/storage/partitioning.py b/storage/partitioning.py
> index 17a1081..49b3659 100644
> --- a/storage/partitioning.py
> +++ b/storage/partitioning.py
> @@ -58,7 +58,7 @@ def doAutoPartition(anaconda):
>       # get a list of disks that have at least one free space region of at
>       # least 100MB
>       disks = []
> -    for disk in anaconda.id.storage.disks:
> +    for disk in [d for d in anaconda.id.storage.disks if d.name in anaconda.id.storage.clearPartDisks]:
>           partedDisk = disk.partedDisk
>           part = disk.partedDisk.getFirstPartition()
>           while part:

_______________________________________________
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