diff options
author | Chris Lumens <clumens@redhat.com> | 2009-03-18 17:04:16 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-03-23 13:46:29 -0400 |
commit | 407e5f91c28bea04d2a4aa70f6a15e63a4d7f094 (patch) | |
tree | 3e8ff6a91bb940d6ab51ee41b369332de68e514d /livecd.py | |
parent | 88b6db9c9d83c215af86e0b05bd4d41e49addb71 (diff) | |
download | anaconda-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.py | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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() |