diff options
author | Chris Lumens <clumens@redhat.com> | 2007-12-04 20:33:36 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2007-12-05 10:30:46 -0500 |
commit | 2f00db0199d94709e9e84f93c54f86824d4a807f (patch) | |
tree | ae7f6ee401011e79eb7e033121942ea91d0bc34c /installmethod.py | |
parent | 16a763e6a6f280264a8e4a034e608ce50ead8f4b (diff) | |
download | anaconda-2f00db0199d94709e9e84f93c54f86824d4a807f.tar.gz anaconda-2f00db0199d94709e9e84f93c54f86824d4a807f.tar.xz anaconda-2f00db0199d94709e9e84f93c54f86824d4a807f.zip |
Make split media image installs work.
Rework image.py into a support file with no InstallMethod subclasses in it.
Move the media switching code into a yum callback and make sure our base
repos have the correct attribute set to trigger using this callback. Be more
careful to only attempt ejecting a CD when we're using a method that has a
CD device.
Diffstat (limited to 'installmethod.py')
-rw-r--r-- | installmethod.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/installmethod.py b/installmethod.py index 9eb7d32e1..c5ea8716e 100644 --- a/installmethod.py +++ b/installmethod.py @@ -38,8 +38,8 @@ def doMethodComplete(anaconda): except SystemError: pass - if not anaconda.isKickstart: - isys.ejectCdrom(anaconda.method.device, makeDevice=1) + if not anaconda.isKickstart and anaconda.mediaDevice: + isys.ejectCdrom(anaconda.mediaDevice, makeDevice=1) mtab = "/dev/root / ext3 ro 0 0\n" for ent in anaconda.id.fsset.entries: |