summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-03-18 13:13:12 -0400
committerChris Lumens <clumens@redhat.com>2008-03-18 13:15:29 -0400
commit962560c6d0804f189a86d76f4904fe8b5b069e5d (patch)
treeb50c8b0895727ea58f91fe250118298a3fe39ef2 /fsset.py
parent1cdfe73d41d78376dea9cb77b20e96e8553f8875 (diff)
downloadanaconda-962560c6d0804f189a86d76f4904fe8b5b069e5d.tar.gz
anaconda-962560c6d0804f189a86d76f4904fe8b5b069e5d.tar.xz
anaconda-962560c6d0804f189a86d76f4904fe8b5b069e5d.zip
If the protected partition is not yet mounted, mount it now.
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/fsset.py b/fsset.py
index 04b9222fe..71b643c77 100644
--- a/fsset.py
+++ b/fsset.py
@@ -1909,7 +1909,10 @@ MAILADDR root
for entry in self.entries:
# Don't try to mount a protected partition, since it will already
# have been mounted as the installation source.
- if not entry.fsystem.isMountable() or (protected and entry.device.getDevice() in protected) or (skiprootfs and entry.mountpoint == '/'):
+ if protected and entry.device.getDevice() in protected and os.path.ismount("/mnt/isodir"):
+ continue
+
+ if not entry.fsystem.isMountable() or (skiprootfs and entry.mountpoint == '/'):
continue
try: