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

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

 



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



_______________________________________________
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