Skip to content

Commit

Permalink
payload: fix driverdisk repos
Browse files Browse the repository at this point in the history
addDriverRepos needs to happen before gatherRepoMetadata, otherwise we
don't gather its metadata.
  • Loading branch information
wgwoods committed Jul 8, 2015
1 parent 679448a commit 99c97dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions pyanaconda/packaging/__init__.py
Expand Up @@ -1254,6 +1254,7 @@ def _runThread(self, storage, ksdata, payload, instClass, fallback, checkmount):
# Download package metadata
try:
payload.updateBaseRepo(fallback=fallback, checkmount=checkmount)
payload.addDriverRepos()
except (OSError, PayloadError) as e:
log.error("PayloadError: %s", e)
self._error = self.ERROR_SETUP
Expand Down
2 changes: 0 additions & 2 deletions pyanaconda/packaging/yumpayload.py
Expand Up @@ -1405,8 +1405,6 @@ def preInstall(self, packages=None, groups=None):
self.requiredPackages = packages
self.requiredGroups = groups

self.addDriverRepos()

if self.install_device:
self._setupMedia(self.install_device)

Expand Down

0 comments on commit 99c97dd

Please sign in to comment.