If we get UnknownSwapError, alert the user and offer some options. --- storage/__init__.py | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/storage/__init__.py b/storage/__init__.py index 01641b1..16d9fed 100644 --- a/storage/__init__.py +++ b/storage/__init__.py @@ -1651,6 +1651,15 @@ class FSSet(object): if swapErrorDialog(msg, device): continue + except UnknownSwapError: + msg = _("The swap device:\n\n %s\n\n" + "does not contain a support swap volume. In " + "order to continue installation, you will need " + "to format the device or skip it.") \ + % device.path + + if swapErrorDialog(msg, device): + continue except DeviceError as (msg, name): if upgrading: err = _("Error enabling swap device %s: %s\n\n" -- 1.6.2.5 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list