On Mon, 2011-09-26 at 10:20 +0200, Ales Kozumplik wrote:
> Previously, getting the parted object for a loop device failed and so we
> skipped it. That no longer happens, parted returns a valid object, so we
> need to explicitly filter loop devices out.
>
> Resolves: rhbz#739828
> ---
> pyanaconda/iw/filter_gui.py | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/pyanaconda/iw/filter_gui.py b/pyanaconda/iw/filter_gui.py
> index a2aef98..7acf30e 100644
> --- a/pyanaconda/iw/filter_gui.py
> +++ b/pyanaconda/iw/filter_gui.py
> @@ -412,6 +412,7 @@ class FilterWindow(InstallWindow):
> def _getFilterDisks(self):
> """ Return a list of disks to pass to MultipathTopology. """
> return filter(lambda d: udev_device_is_disk(d) and
> + not udev_device_is_loop(d) and
> not udev_device_is_dm(d) and
> not udev_device_is_md(d) and
> not udev_device_get_md_container(d),
--
Martin Gracik <mgracik@redhat.com>
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list