diff options
author | Mike Fulbright <msf@redhat.com> | 2003-02-20 00:29:21 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2003-02-20 00:29:21 +0000 |
commit | 23ae2ae832f9644793e7d8518f6e37ec94ba4446 (patch) | |
tree | 978a81af64dd94603b190d54708c20faed9d3390 /image.py | |
parent | b7090ae9e1c866b0e62e0ed2e416a43815c20854 (diff) | |
download | anaconda-23ae2ae832f9644793e7d8518f6e37ec94ba4446.tar.gz anaconda-23ae2ae832f9644793e7d8518f6e37ec94ba4446.tar.xz anaconda-23ae2ae832f9644793e7d8518f6e37ec94ba4446.zip |
fix for CD/DVD eject problems
Diffstat (limited to 'image.py')
-rw-r--r-- | image.py | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -81,9 +81,15 @@ class CdromInstallMethod(ImageInstallMethod): % ("/mnt/source",)) def ejectCD(self): + log("ejecting CD") + + # make /tmp/cdrom again so cd gets ejected + isys.makeDevInode(self.device, "/tmp/cdrom") + try: isys.ejectCdrom("/tmp/cdrom", makeDevice = 0) - except: + except Exception, e: + log("eject failed %s" % (e,)) pass def systemUnmounted(self): |