diff options
author | Matt Wilson <msw@redhat.com> | 2000-01-19 22:00:53 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-01-19 22:00:53 +0000 |
commit | 68a457cf0e0c0eb08daccbf6f47fe00fcd365080 (patch) | |
tree | bff3484fe55097936c6bfb91d9d52e5b6a3bf5ac /text.py | |
parent | e184943029c2cd14b6efd15c59993d77898c6eb9 (diff) | |
download | anaconda-68a457cf0e0c0eb08daccbf6f47fe00fcd365080.tar.gz anaconda-68a457cf0e0c0eb08daccbf6f47fe00fcd365080.tar.xz anaconda-68a457cf0e0c0eb08daccbf6f47fe00fcd365080.zip |
changed where fstab gets created for upgrades and kickstarts
Diffstat (limited to 'text.py')
-rw-r--r-- | text.py | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -186,13 +186,20 @@ class InstallPathWindow: if (todo.instClass.installType == "install"): intf.steps = intf.commonSteps + intf.installSteps todo.upgrade = 0 - return INSTALL_NOOP + showScreen = 0 elif (todo.instClass.installType == "upgrade"): intf.steps = intf.commonSteps + intf.upgradeSteps todo.upgrade = 1 - return INSTALL_NOOP showScreen = 0 + if not showScreen: + todo.fstab = NewtFstab(todo.setupFilesystems, + todo.serial, 0, 0, + todo.intf.waitWindow, + todo.intf.messageWindow) + + return INSTALL_NOOP + if (todo.upgrade): default = 4 orig = None @@ -256,19 +263,12 @@ class InstallPathWindow: class UpgradeExamineWindow: def __call__ (self, dir, screen, todo): - from fstab import NewtFstab - if dir == -1: # Hack to let backing out of upgrades work properly if todo.fstab: todo.fstab.turnOffSwap() return INSTALL_NOOP - todo.fstab = NewtFstab(todo.setupFilesystems, - todo.serial, 0, 0, - todo.intf.waitWindow, - todo.intf.messageWindow) - parts = todo.upgradeFindRoot () if not parts: |