summaryrefslogtreecommitdiffstats
path: root/upgradeclass.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-08-27 20:39:34 +0000
committerJeremy Katz <katzj@redhat.com>2003-08-27 20:39:34 +0000
commit3c90f8c3ae20fd2a69973bfc47ff6b208eb7ec59 (patch)
tree29b9eaa4777971a17e1f7668b276a9f24ffb11e2 /upgradeclass.py
parent7b7b11935b430f32be38061b2c3506b4499895ff (diff)
downloadanaconda-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.py7
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")