summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2008-04-01 09:59:32 -0400
committerJeremy Katz <katzj@redhat.com>2008-04-01 09:59:32 -0400
commit910254d03da1d511d5151c8316376b7136a1ce24 (patch)
treeab7ad97c2e854f0d5651cb9cd7bb823e3e09e7ca /iw
parent67768248fa98c76b593271c286b19e1a4d5080ee (diff)
downloadanaconda-910254d03da1d511d5151c8316376b7136a1ce24.tar.gz
anaconda-910254d03da1d511d5151c8316376b7136a1ce24.tar.xz
anaconda-910254d03da1d511d5151c8316376b7136a1ce24.zip
Don't allow /boot to be migrated to ext4 (#439944)
Diffstat (limited to 'iw')
-rw-r--r--iw/upgrade_migratefs_gui.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/iw/upgrade_migratefs_gui.py b/iw/upgrade_migratefs_gui.py
index 7121a99bb..27c82d7d2 100644
--- a/iw/upgrade_migratefs_gui.py
+++ b/iw/upgrade_migratefs_gui.py
@@ -76,6 +76,9 @@ class UpgradeMigrateFSWindow (InstallWindow):
cbox = gtk.VBox(False, 5)
self.cbs = []
for entry in self.migent:
+ # don't allow the user to migrate /boot to ext4 (#439944)
+ if entry.mountpoint == "/boot" and entry.origfsystem.getName() == "ext3":
+ continue
if entry.fsystem.getName() != entry.origfsystem.getName():
migrating = 1
else: