diff options
| author | Jeremy Katz <katzj@redhat.com> | 2002-12-03 18:02:11 +0000 |
|---|---|---|
| committer | Jeremy Katz <katzj@redhat.com> | 2002-12-03 18:02:11 +0000 |
| commit | 00a83be9766ea0990ff209620300f094747a26f7 (patch) | |
| tree | cc23b0b5ba08acf3b56d5224b6c359e624c1a367 /loader2/method.h | |
| parent | 5f86a917d7a2017881f64e21638c595abaac50a8 (diff) | |
add a data structure to hold loader data and pass it around lots of places
kickstart basically works now. need to hook up sources other than nfs for
installing and getting kickstart file from other than floppy and file
Diffstat (limited to 'loader2/method.h')
| -rw-r--r-- | loader2/method.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/loader2/method.h b/loader2/method.h index 39e1047d7..af7df03b9 100644 --- a/loader2/method.h +++ b/loader2/method.h @@ -4,13 +4,16 @@ #include "../isys/probe.h" #include "modules.h" #include "moduledeps.h" +#include "loader.h" struct installMethod { char * name; + char * shortname; int network; enum deviceClass deviceType; /* for pcmcia */ char * (*mountImage)(struct installMethod * method, char * location, struct knownDevices * kd, + struct loaderData_s * loaderData, moduleInfoSet modInfo, moduleList modLoaded, moduleDeps * modDepsPtr, int flags); }; @@ -33,4 +36,13 @@ int copyFileAndLoopbackMount(int fd, char * dest, int flags, void copyUpdatesImg(char * path); int copyDirectory(char * from, char * to); + +/* JKFIXME: nfs specific */ +struct nfsInstallData { + char * host; + char * directory; +}; +void setKickstartNfs(struct loaderData_s * loaderData, int argc, + char ** argv, int * flagsPtr); + #endif |
