summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2000-06-09 15:52:29 +0000
committerMike Fulbright <msf@redhat.com>2000-06-09 15:52:29 +0000
commit4e57f023a3cdb17c3c23108494160759c0efd4b8 (patch)
tree800fc0992e3ed78d3226e07e1d454139b0940ecb /textw
parent91092c6e870c3601781194811dc3f293d4fa8fc6 (diff)
downloadanaconda-4e57f023a3cdb17c3c23108494160759c0efd4b8.tar.gz
anaconda-4e57f023a3cdb17c3c23108494160759c0efd4b8.tar.xz
anaconda-4e57f023a3cdb17c3c23108494160759c0efd4b8.zip
dont format partitions in ks which were marked noformat
Diffstat (limited to 'textw')
-rw-r--r--textw/partitioning_text.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/textw/partitioning_text.py b/textw/partitioning_text.py
index a9a9bd855..0a706f083 100644
--- a/textw/partitioning_text.py
+++ b/textw/partitioning_text.py
@@ -134,6 +134,14 @@ class AutoPartitionWindow:
todo.lilo.allowLiloLocationConfig(todo.fstab)
todo.fstab.formatAllFilesystems()
+
+ # make sure we don't format partitions we were told not too in
+ # kickstart mode
+ if todo.instClass.fstab:
+ for (mntpoint, (dev, fstype, reformat)) in todo.instClass.fstab:
+ if reformat == 0:
+ todo.fstab.setFormatFilesystem(dev, 0)
+
todo.instClass.addToSkipList("format")
return