diff options
author | Mike Fulbright <msf@redhat.com> | 2000-02-10 20:34:45 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2000-02-10 20:34:45 +0000 |
commit | 251fbba17fc13ae65afeabbfcb02218ba91c22f4 (patch) | |
tree | 7bd29f0cf057fe56f3809349cd27db50a063822f /textw | |
parent | c5fab55112439217e64c0a63a95066e5006c2e2b (diff) | |
download | anaconda-251fbba17fc13ae65afeabbfcb02218ba91c22f4.tar.gz anaconda-251fbba17fc13ae65afeabbfcb02218ba91c22f4.tar.xz anaconda-251fbba17fc13ae65afeabbfcb02218ba91c22f4.zip |
(drmike) fstab.py,iw/rootpartition.py,textw/partitioning.py: Attempt to fix bug where if you autopartition, then back up and try to manually partition, the fstab entries from the autopartition attempt polluted the disk druid partition spec inproperly. Now we test and attempt to clear out fstab entries from autopartition attempt before running disk druid
Diffstat (limited to 'textw')
-rw-r--r-- | textw/partitioning.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/textw/partitioning.py b/textw/partitioning.py index b537158d8..c31d747d6 100644 --- a/textw/partitioning.py +++ b/textw/partitioning.py @@ -136,8 +136,12 @@ class AutoPartitionWindow: return INSTALL_BACK if (choice == 1): + # 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() todo.fstab.setRunDruid(1) - todo.fstab.rescanPartitions() + todo.fstab.rescanPartitions(clearcache) todo.instClass.removeFromSkipList("format") else: todo.fstab.setRunDruid(0) |