diff options
author | Erik Troan <ewt@redhat.com> | 1999-09-24 15:59:43 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 1999-09-24 15:59:43 +0000 |
commit | d62f997277de0f08c9ee7cfc674a33424f894eef (patch) | |
tree | ff4288794a5f3005f0c40841750122f5caa12fd3 /textw | |
parent | 80e81e23e63e6654faed286c0551600cad666f61 (diff) | |
download | anaconda-d62f997277de0f08c9ee7cfc674a33424f894eef.tar.gz anaconda-d62f997277de0f08c9ee7cfc674a33424f894eef.tar.xz anaconda-d62f997277de0f08c9ee7cfc674a33424f894eef.zip |
got read/only disk druid working for fdisk installs
Diffstat (limited to 'textw')
-rw-r--r-- | textw/partitioning.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/textw/partitioning.py b/textw/partitioning.py index 1320be6b7..834e2d23f 100644 --- a/textw/partitioning.py +++ b/textw/partitioning.py @@ -65,6 +65,7 @@ class ManualPartitionWindow: if button != "done" and button != "back": haveEdited = 1 + todo.ddruidReadOnly = 1 todo.ddruid = None # free our fd's to the hard drive device = driveNames[choice] screen.suspend () @@ -94,7 +95,8 @@ class ManualPartitionWindow: for mntpoint, (dev, fstype, reformat) in todo.mounts.items (): fstab.append ((dev, mntpoint)) - todo.ddruid = fsedit(0, drives, fstab, todo.zeroMbr) + todo.ddruid = fsedit(0, drives, fstab, todo.zeroMbr, + todo.ddruidReadOnly) if button == "back": return INSTALL_BACK @@ -110,7 +112,8 @@ class AutoPartitionWindow: if not todo.ddruid: drives = todo.drives.available ().keys () drives.sort (isys.compareDrives) - todo.ddruid = fsedit(0, drives, fstab, todo.zeroMbr) + todo.ddruid = fsedit(0, drives, fstab, todo.zeroMbr, + todo.ddruidReadOnly) if not todo.instClass.finishPartitioning(todo.ddruid): todo.log ("Autopartitioning FAILED\n") @@ -128,7 +131,7 @@ class AutoPartitionWindow: if (rc == "back"): return INSTALL_BACK if (choice == 1): - todo.ddruid = fsedit(0, drives, fstab) + todo.ddruid = fsedit(0, drives, fstab, 0, todo.ddruidReadOnly) todo.manuallyPartition() class PartitionWindow: |