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

[PATCH] Allow swap files specified by filename (#468504)



This is pretty straight-forward, if a little ugly.  Should make it so
that people who specify a swapfile don't get failures on the upgrade
attempt

Jeremy

---
 fsset.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fsset.py b/fsset.py
index d37ec6c..40eb0d2 100644
--- a/fsset.py
+++ b/fsset.py
@@ -1974,7 +1974,7 @@ MAILADDR root
                         else:
                             continue
                     else:
-                        if anaconda.id.getUpgrade() and not
(entry.getLabel() or entry.getUuid()):
+                        if anaconda.id.getUpgrade() and not
(entry.getLabel() or entry.getUuid()) and
entry.device.getDevice().startswith("/dev"):
                             errStr = _("Error mounting device %s as %s:
"
                                        "%s\n\n"
                                        "Devices in /etc/fstab should be
specified "
-- 
1.6.0.3




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