FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 05-11-2010, 11:12 AM
Martin Sivak
 
Default Fix verification of DDs, we were looking for wrong path (#508242)

---
loader/driverdisk.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/loader/driverdisk.c b/loader/driverdisk.c
index 22543b0..617b6cf 100644
--- a/loader/driverdisk.c
+++ b/loader/driverdisk.c
@@ -247,8 +247,9 @@ static int verifyDriverDisk(char *mntpt) {
stat(file, &sb);
if (!sb.st_size)
return LOADER_BACK;
+
for (fnPtr = driverDiskFiles; *fnPtr; fnPtr++) {
- snprintf(file, 200, "%s/%s/%s", mntpt, getProductArch(), *fnPtr);
+ snprintf(file, 200, "%s/rpms/%s/%s", mntpt, getProductArch(), *fnPtr);
if (access(file, R_OK)) {
logMessage(ERROR, "cannot find %s, bad driver disk", file);
return LOADER_BACK;
--
1.6.6.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 05:45 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org