[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Fix verification of DDs, we were looking for wrong path (#508242)



Ack.

On 05/11/2010 01:12 PM, Martin Sivak wrote:
---
  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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]