Re: [PATCH] Only warn when swaps with no UUID are preexisting.

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

 



> diff --git a/pyanaconda/storage/__init__.py b/pyanaconda/storage/__init__.py
> index db4a67a..2ae5ae9 100644
> --- a/pyanaconda/storage/__init__.py
> +++ b/pyanaconda/storage/__init__.py
> @@ -1194,7 +1194,7 @@ class Storage(object):
>                                    "Although not strictly required in all cases, "
>                                    "it will significantly improve performance "
>                                    "for most installations."))
> -        no_uuid = [s for s in swaps if not s.format.uuid]
> +        no_uuid = [s for s in swaps if s.format.exists and not s.format.uuid]
>          if no_uuid:
>              warnings.append(_("At least one of your swap devices does not have "
>                                "a UUID, which is common in swap space created "

Looks like a reasonable thing to do.

- Chris

_______________________________________________
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