summaryrefslogtreecommitdiffstats
path: root/livecd.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-03-18 17:04:16 -0400
committerChris Lumens <clumens@redhat.com>2009-03-23 13:46:29 -0400
commit407e5f91c28bea04d2a4aa70f6a15e63a4d7f094 (patch)
tree3e8ff6a91bb940d6ab51ee41b369332de68e514d /livecd.py
parent88b6db9c9d83c215af86e0b05bd4d41e49addb71 (diff)
downloadanaconda-407e5f91c28bea04d2a4aa70f6a15e63a4d7f094.tar.gz
anaconda-407e5f91c28bea04d2a4aa70f6a15e63a4d7f094.tar.xz
anaconda-407e5f91c28bea04d2a4aa70f6a15e63a4d7f094.zip
Let mountFilesystems handling bind mounting /dev (#490772).
Diffstat (limited to 'livecd.py')
-rw-r--r--livecd.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/livecd.py b/livecd.py
index c6ed037cb..391b1ce89 100644
--- a/livecd.py
+++ b/livecd.py
@@ -136,7 +136,7 @@ class LiveCDCopyBackend(backend.AnacondaBackend):
def _unmountNonFstabDirs(self, anaconda):
# unmount things that aren't listed in /etc/fstab. *sigh*
- dirs = ["/dev"]
+ dirs = []
if flags.selinux:
dirs.append("/selinux")
for dir in dirs:
@@ -152,13 +152,12 @@ class LiveCDCopyBackend(backend.AnacondaBackend):
swapoff = False)
os.rmdir(anaconda.rootPath)
except Exception, e:
- log.error("Unable to unmount filesystems.")
+ log.error("Unable to unmount filesystems: %s" % e)
def doPreInstall(self, anaconda):
if anaconda.dir == DISPATCH_BACK:
self._unmountNonFstabDirs(anaconda)
return
-
anaconda.id.storage.fsset.umountFilesystems(anaconda.rootPath,
swapoff = False)
@@ -312,7 +311,6 @@ class LiveCDCopyBackend(backend.AnacondaBackend):
isys.mount("/selinux", anaconda.rootPath + "/selinux", "selinuxfs")
except Exception, e:
log.error("error mounting selinuxfs: %s" %(e,))
- isys.mount("/dev", "%s/dev" %(anaconda.rootPath,), bindMount = True)
wait.pop()