diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-08-27 20:39:34 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-08-27 20:39:34 +0000 |
commit | 3c90f8c3ae20fd2a69973bfc47ff6b208eb7ec59 (patch) | |
tree | 29b9eaa4777971a17e1f7668b276a9f24ffb11e2 /upgradeclass.py | |
parent | 7b7b11935b430f32be38061b2c3506b4499895ff (diff) | |
download | anaconda-3c90f8c3ae20fd2a69973bfc47ff6b208eb7ec59.tar.gz anaconda-3c90f8c3ae20fd2a69973bfc47ff6b208eb7ec59.tar.xz anaconda-3c90f8c3ae20fd2a69973bfc47ff6b208eb7ec59.zip |
clean up bootdisk step skipping to be the same for install and upgrade, put
the common code in floppy.py
Diffstat (limited to 'upgradeclass.py')
-rw-r--r-- | upgradeclass.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/upgradeclass.py b/upgradeclass.py index 4a41ee041..ebb41d7f9 100644 --- a/upgradeclass.py +++ b/upgradeclass.py @@ -48,6 +48,13 @@ class InstallClass(BaseInstallClass): "complete" ) + if iutil.getArch() != "i386": + dispatch.skipStep("bootdisk") + else: + import floppy + if not floppy.hasFloppyDevice(): + dispatch.skipStep("bootdisk") + if iutil.getArch() != "i386" and iutil.getArch() != "x86_64": dispatch.skipStep("bootloader") dispatch.skipStep("bootloaderadvanced") |