summaryrefslogtreecommitdiffstats
path: root/loader2/loader.c
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2003-02-07 18:14:11 +0000
committerMike Fulbright <msf@redhat.com>2003-02-07 18:14:11 +0000
commit7647e0dcfce39c508478b1cd284abefdb2a9ca73 (patch)
tree7a2b420af6ee2e96febbf4e77a10b3e22c79a15c /loader2/loader.c
parent027238f217094e69d244a2688e9d7ee63e9af2cd (diff)
downloadanaconda-7647e0dcfce39c508478b1cd284abefdb2a9ca73.tar.gz
anaconda-7647e0dcfce39c508478b1cd284abefdb2a9ca73.tar.xz
anaconda-7647e0dcfce39c508478b1cd284abefdb2a9ca73.zip
move loading of st.o for rescue mode tape support to loader
Diffstat (limited to 'loader2/loader.c')
-rw-r--r--loader2/loader.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/loader2/loader.c b/loader2/loader.c
index 0a31161e9..484187d69 100644
--- a/loader2/loader.c
+++ b/loader2/loader.c
@@ -1052,7 +1052,6 @@ int main(int argc, char ** argv) {
manualDeviceCheck(modInfo, modLoaded, &modDeps, &kd, flags);
}
-
if (FL_UPDATES(flags))
loadUpdates(&kd, flags);
@@ -1071,6 +1070,10 @@ int main(int argc, char ** argv) {
* describing which scsi disks go with which scsi adapters */
writeScsiDisks(modLoaded);
+ /* if we are in rescue mode lets load st.o for tape support */
+ if (FL_RESCUE(flags))
+ scsiTapeInitialize(modLoaded, modDeps, modInfo, flags);
+
/* we only want to use RHupdates on nfs installs. otherwise, we'll
* use files on the first iso image and not be able to umount it */
if (!strncmp(url, "nfs:", 4)) {