summaryrefslogtreecommitdiffstats
path: root/loader2/driverdisk.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-02-07 20:30:48 +0000
committerJeremy Katz <katzj@redhat.com>2003-02-07 20:30:48 +0000
commit2ac0fbd167b75872fc6eff6d652e60d82430ab53 (patch)
treeac130b30048391883bfe4c84f18515efc82f419e /loader2/driverdisk.c
parent7d625c7e0fc426a9abc87d55618fd5ad6fdd4a82 (diff)
downloadanaconda-2ac0fbd167b75872fc6eff6d652e60d82430ab53.tar.gz
anaconda-2ac0fbd167b75872fc6eff6d652e60d82430ab53.tar.xz
anaconda-2ac0fbd167b75872fc6eff6d652e60d82430ab53.zip
now you can put the contents of a driver disk on an iso9660 fs as well
Diffstat (limited to 'loader2/driverdisk.c')
-rw-r--r--loader2/driverdisk.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/loader2/driverdisk.c b/loader2/driverdisk.c
index 1eb1594b5..b4369ce68 100644
--- a/loader2/driverdisk.c
+++ b/loader2/driverdisk.c
@@ -223,12 +223,14 @@ int loadDriverFromMedia(int class, moduleList modLoaded,
devMakeInode(device, "/tmp/dddev");
logMessage("trying to mount %s", device);
if (doPwMount("/tmp/dddev", "/tmp/drivers", "vfat", 1, 0, NULL, NULL)) {
- if (doPwMount("/tmp/dddev", "/tmp/drivers", "ext2", 1, 0, NULL, NULL)) {
+ if (doPwMount("/tmp/dddev", "/tmp/drivers", "ext2", 1, 0, NULL, NULL)) {
+ if (doPwMount("/tmp/dddev", "/tmp/drivers", "iso9660", 1, 0, NULL, NULL)) {
newtWinMessage(_("Error"), _("OK"),
_("Failed to mount driver disk."));
stage = DEV_INSERT;
break;
}
+ }
}
rc = verifyDriverDisk("/tmp/drivers", flags);