summaryrefslogtreecommitdiffstats
path: root/loader2/driverdisk.c
diff options
context:
space:
mode:
authorKarsten Hopp <karsten@redhat.de>2004-05-06 14:30:20 +0000
committerKarsten Hopp <karsten@redhat.de>2004-05-06 14:30:20 +0000
commit12cbcd38a21911353aac25aa2bb43081d2698756 (patch)
tree46455921b2e52ea668859bfa44029bf7fef04e4c /loader2/driverdisk.c
parent53105569f6185a5517453ae313d2f1e2d16bfcd9 (diff)
downloadanaconda-12cbcd38a21911353aac25aa2bb43081d2698756.tar.gz
anaconda-12cbcd38a21911353aac25aa2bb43081d2698756.tar.xz
anaconda-12cbcd38a21911353aac25aa2bb43081d2698756.zip
avoid cdrom hack on mainframe
Diffstat (limited to 'loader2/driverdisk.c')
-rw-r--r--loader2/driverdisk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/loader2/driverdisk.c b/loader2/driverdisk.c
index 0eb60be0f..2cbb3b4de 100644
--- a/loader2/driverdisk.c
+++ b/loader2/driverdisk.c
@@ -432,10 +432,12 @@ void getDDFromSource(struct loaderData_s * loaderData,
}
/* FIXME: this is a hack so that you can load a driver disk from, eg,
* scsi cdrom drives */
+#if !defined(__s390__) && !defined(__s390x__)
} else if (!strncmp(src, "cdrom", 5)) {
loadDriverDisks(CLASS_UNSPEC, loaderData->modLoaded,
loaderData->modDepsPtr, loaderData->modInfo, flags);
return;
+#endif
} else if (!strncmp(src, "path:", 5)) {
path = src + 5;
} else {