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

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

 



---
 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux