summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2000-02-10 23:21:05 +0000
committerMike Fulbright <msf@redhat.com>2000-02-10 23:21:05 +0000
commit806e5b8e12b3c2c84a0da999d5db47f406097532 (patch)
tree76e987b54d4bc457defef206adc34b5b8121e9be /textw
parent251fbba17fc13ae65afeabbfcb02218ba91c22f4 (diff)
downloadanaconda-806e5b8e12b3c2c84a0da999d5db47f406097532.tar.gz
anaconda-806e5b8e12b3c2c84a0da999d5db47f406097532.tar.xz
anaconda-806e5b8e12b3c2c84a0da999d5db47f406097532.zip
(drmike) The TUI code does not work same as GUI code when selected manual partitioning - this is a quick hack to make it sortof work instead of python excepting
Diffstat (limited to 'textw')
-rw-r--r--textw/partitioning.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/textw/partitioning.py b/textw/partitioning.py
index c31d747d6..30c6979c7 100644
--- a/textw/partitioning.py
+++ b/textw/partitioning.py
@@ -139,7 +139,17 @@ class AutoPartitionWindow:
# if druid wasn't running, must have been in autopartition mode
# clear fstab cache so we don't get junk from attempted
# autopartitioning
- clearcache = not self.todo.fstab.getRunDruid()
+ #
+ # msf - this is not working becaue setRunDruid is not
+ # called before we get here, unlike in the GUI case
+ #
+ # Set clearcache - may need to be 1 to
+ # avoid autopartitioning attempt above from
+ # polluting manual partitioning with invalid
+ # fstab entries
+ #
+# clearcache = not todo.fstab.getRunDruid()
+ clearcache = 1
todo.fstab.setRunDruid(1)
todo.fstab.rescanPartitions(clearcache)
todo.instClass.removeFromSkipList("format")