diff options
author | Bill Nottingham <notting@redhat.com> | 2004-09-03 20:52:56 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-09-03 20:52:56 +0000 |
commit | aa59db328af2f7df5b8a1f6dff3f4f1a6299ec34 (patch) | |
tree | df6d30cd7548fe9dd81b2f5175133ab770c3838a /loader2 | |
parent | 2d0bab628521c764cc8b122b51e2707f8d6e607b (diff) | |
download | anaconda-aa59db328af2f7df5b8a1f6dff3f4f1a6299ec34.tar.gz anaconda-aa59db328af2f7df5b8a1f6dff3f4f1a6299ec34.tar.xz anaconda-aa59db328af2f7df5b8a1f6dff3f4f1a6299ec34.zip |
put pci.ids on the boot images
allow pci.ids and modules.pcimap on driver disks
Diffstat (limited to 'loader2')
-rw-r--r-- | loader2/driverdisk.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/loader2/driverdisk.c b/loader2/driverdisk.c index 43e0f56dd..fdb571d3e 100644 --- a/loader2/driverdisk.c +++ b/loader2/driverdisk.c @@ -48,6 +48,7 @@ static char * driverDiskFiles[] = { "modinfo", "modules.dep", "pcitable", "modules.cgz", NULL }; +static char * optionalFiles[] = { "modules.pcimap", "pci.ids", NULL }; static int verifyDriverDisk(char *mntpt, int flags) { char ** fnPtr; @@ -127,6 +128,11 @@ static int loadDriverDisk(moduleInfoSet modInfo, moduleList modLoaded, sprintf(dest, "/tmp/ramfs/DD-%d/%s", disknum, *fnPtr); copyFile(file, dest); } + for (fnPtr = optionalFiles; *fnPtr; fnPtr++) { + sprintf(file, "%s/%s", mntpt, *fnPtr); + sprintf(dest, "/tmp/ramfs/DD-%d/%s", disknum, *fnPtr); + copyFile(file, dest); + } location = malloc(sizeof(struct moduleBallLocation)); location->title = strdup(title); |