summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2000-05-22 22:37:35 +0000
committerMike Fulbright <msf@redhat.com>2000-05-22 22:37:35 +0000
commita1d8a8d5ce05122ab493ec40fc99685d6567f6ae (patch)
tree6589abb8c52f6929a004314d5f7bcf1e9ba5ec83 /text.py
parent8aee5417b0cb9f69cf361443174e41aa1ab184ca (diff)
downloadanaconda-a1d8a8d5ce05122ab493ec40fc99685d6567f6ae.tar.gz
anaconda-a1d8a8d5ce05122ab493ec40fc99685d6567f6ae.tar.xz
anaconda-a1d8a8d5ce05122ab493ec40fc99685d6567f6ae.zip
should fix so hard drive installs from ext2 DONT blow away source partition when autopartitioning
Diffstat (limited to 'text.py')
-rw-r--r--text.py34
1 files changed, 19 insertions, 15 deletions
diff --git a/text.py b/text.py
index 2b10968b7..120844f6b 100644
--- a/text.py
+++ b/text.py
@@ -225,11 +225,12 @@ class InstallPathWindow:
# this is (probably) the first place todo.fstab gets created
if not showScreen:
todo.fstab = NewtFstab(todo.setupFilesystems,
- todo.serial, 0, 0,
- todo.intf.waitWindow,
- todo.intf.messageWindow,
- todo.intf.progressWindow,
- not todo.expert)
+ todo.serial, 0, 0,
+ todo.intf.waitWindow,
+ todo.intf.messageWindow,
+ todo.intf.progressWindow,
+ not todo.expert,
+ todo.method.protectedDevices())
return INSTALL_NOOP
classes = installclass.availableClasses()
@@ -281,11 +282,12 @@ class InstallPathWindow:
if needNewDruid or not todo.fstab:
todo.fstab = NewtFstab(todo.setupFilesystems,
- todo.serial, 0, 0,
- todo.intf.waitWindow,
- todo.intf.messageWindow,
- todo.intf.progressWindow,
- not todo.expert)
+ todo.serial, 0, 0,
+ todo.intf.waitWindow,
+ todo.intf.messageWindow,
+ todo.intf.progressWindow,
+ not todo.expert,
+ todo.method.protectedDevices())
return INSTALL_OK
@@ -297,11 +299,13 @@ class UpgradeExamineWindow:
if todo.fstab:
todo.fstab.turnOffSwap()
todo.fstab = NewtFstab(todo.setupFilesystems,
- todo.serial, 0, 0,
- todo.intf.waitWindow,
- todo.intf.messageWindow,
- todo.intf.progressWindow,
- not todo.expert)
+ todo.serial, 0, 0,
+ todo.intf.waitWindow,
+ todo.intf.messageWindow,
+ todo.intf.progressWindow,
+ not todo.expert,
+ todo.method.protectedDevices())
+
return INSTALL_NOOP
parts = todo.upgradeFindRoot ()