diff options
author | Erik Troan <ewt@redhat.com> | 2000-11-20 19:05:47 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-11-20 19:05:47 +0000 |
commit | e3a33a02c461f5a9c3e23133ea4c41b3688942ac (patch) | |
tree | 3187690854627e669d673d6fcc07038e48b9c313 | |
parent | 6852ea8c913f48d5f46fe95e5bee5c0fda2ddfd0 (diff) | |
download | anaconda-e3a33a02c461f5a9c3e23133ea4c41b3688942ac.tar.gz anaconda-e3a33a02c461f5a9c3e23133ea4c41b3688942ac.tar.xz anaconda-e3a33a02c461f5a9c3e23133ea4c41b3688942ac.zip |
reinit modinfo information after switching to instimage
-rw-r--r-- | loader/loader.c | 4 |
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); |