[rhel7-branch 1/4] Drivers are simply under /run/install/DD-x/ (#1254270)

bcl installerbot-noreply at redhat.com
Mon Aug 31 21:57:00 UTC 2015


From: "Brian C. Lane" <bcl at redhat.com>

The driver update repo no longer includes the arch or DD-net in the
path.

Related: rhbz#1254270
---
 pyanaconda/packaging/__init__.py | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/pyanaconda/packaging/__init__.py b/pyanaconda/packaging/__init__.py
index bf64709..f6b56ff 100644
--- a/pyanaconda/packaging/__init__.py
+++ b/pyanaconda/packaging/__init__.py
@@ -1008,15 +1008,6 @@ def addDriverRepos(self):
             if not os.path.isdir(repo):
                 break
 
-            # Drivers are under /<arch>/ or /DD-net/
-            if os.path.isdir(repo+"DD-net"):
-                repo += "DD-net"
-            elif os.path.isdir(repo+blivet.arch.getArch()):
-                repo += blivet.arch.getArch()
-            else:
-                log.debug("No driver repo in %s", repo)
-                continue
-
             # Run createrepo if there are rpms and no repodata
             if not os.path.isdir(repo+"/repodata"):
                 rpms = glob(repo+"/*rpm")


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/2d465ba491fc76ae4839e66083801f26fd111b12


More information about the anaconda-patches mailing list