summaryrefslogtreecommitdiffstats
path: root/loader/loader.c
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-11-20 19:05:47 +0000
committerErik Troan <ewt@redhat.com>2000-11-20 19:05:47 +0000
commite3a33a02c461f5a9c3e23133ea4c41b3688942ac (patch)
tree3187690854627e669d673d6fcc07038e48b9c313 /loader/loader.c
parent6852ea8c913f48d5f46fe95e5bee5c0fda2ddfd0 (diff)
downloadanaconda-e3a33a02c461f5a9c3e23133ea4c41b3688942ac.tar.gz
anaconda-e3a33a02c461f5a9c3e23133ea4c41b3688942ac.tar.xz
anaconda-e3a33a02c461f5a9c3e23133ea4c41b3688942ac.zip
reinit modinfo information after switching to instimage
Diffstat (limited to 'loader/loader.c')
-rw-r--r--loader/loader.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 277cc9f49..ce32b0c2e 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -2604,6 +2604,7 @@ int main(int argc, char ** argv) {
busProbe(modInfo, modLoaded, modDeps, probeOnly, &kd, flags);
if (probeOnly) exit(0);
}
+
if (FL_KSHD(flags)) {
ksFile = "/tmp/ks.cfg";
kickstartFromHardDrive(ksFile, modLoaded, &modDeps, ksSource, flags);
@@ -2693,7 +2694,8 @@ logMessage("found url image %s", url);
/* merge in any new pci ids */
pciReadDrivers("/modules/pcitable");
- /*modInfo = isysNewModuleInfoSet();*/
+ /* XXX should free old modInfo set */
+ modInfo = isysNewModuleInfoSet();
#if !defined(__ia64__)
if (isysReadModuleInfo(arg, modInfo, NULL)) {
fprintf(stderr, "failed to read %s\n", arg);