summaryrefslogtreecommitdiffstats
path: root/loader/loader.c
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2001-01-08 18:01:01 +0000
committerErik Troan <ewt@redhat.com>2001-01-08 18:01:01 +0000
commit5dd5685427b0a183509c2642bca6d7d1b321d890 (patch)
treef267c8c6dfd588e84da9f874e8dbc5d842956e5c /loader/loader.c
parent487b89a11eae5cd5ceb5e7a54b9891120bb49669 (diff)
downloadanaconda-5dd5685427b0a183509c2642bca6d7d1b321d890.tar.gz
anaconda-5dd5685427b0a183509c2642bca6d7d1b321d890.tar.xz
anaconda-5dd5685427b0a183509c2642bca6d7d1b321d890.zip
1) use yenta_socket sometimes
2) pass --pcic to anaconda
Diffstat (limited to 'loader/loader.c')
-rw-r--r--loader/loader.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/loader/loader.c b/loader/loader.c
index c0ae4198d..75206a792 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -2465,7 +2465,7 @@ static void ideSetup(moduleList modLoaded, moduleDeps modDeps,
int main(int argc, char ** argv) {
char ** argptr;
- char * anacondaArgs[40];
+ char * anacondaArgs[50];
char * arg, * url = NULL;
poptContext optCon;
int probeOnly = 0;
@@ -2482,6 +2482,7 @@ int main(int argc, char ** argv) {
struct knownDevices kd;
moduleInfoSet modInfo;
char * where;
+ char pcic[20] = "";
struct moduleInfo * mi;
char twelve = 12;
char * ksFile = NULL, * ksSource = NULL;
@@ -2597,7 +2598,7 @@ int main(int argc, char ** argv) {
startNewt(flags);
if (!continuing) {
- startPcmcia(floppyDevice, modLoaded, modDeps, modInfo, flags);
+ startPcmcia(floppyDevice, modLoaded, modDeps, modInfo, pcic, flags);
}
#endif
@@ -2861,6 +2862,11 @@ int main(int argc, char ** argv) {
*argptr++ = instClass;
}
+ if (pcic[0]) {
+ *argptr++ = "--pcic";
+ *argptr++ = pcic;
+ }
+
for (i = 0; i < modLoaded->numModules; i++) {
if (!modLoaded->mods[i].path) continue;