/[smeserver]/rpms/anaconda/sme10/yumpayload-dont-verify-disabled-repos.patch
ViewVC logotype

Contents of /rpms/anaconda/sme10/yumpayload-dont-verify-disabled-repos.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Jun 10 03:58:47 2020 UTC (4 years, 5 months ago) by jpp
Branch: MAIN
CVS Tags: anaconda-21_48_22_159-1_el7_centos, anaconda-21_48_22_158-1_el7_centos, HEAD
*** empty log message ***

1 diff -uNrp anaconda-21.48.22.121.orig/pyanaconda/packaging/yumpayload.py anaconda-21.48.22.121/pyanaconda/packaging/yumpayload.py
2 --- anaconda-21.48.22.121.orig/pyanaconda/packaging/yumpayload.py 2017-04-27 08:09:33.000000000 -0500
3 +++ anaconda-21.48.22.121/pyanaconda/packaging/yumpayload.py 2017-09-04 00:21:23.617491857 -0500
4 @@ -206,6 +206,10 @@ class YumPayload(PackagePayload):
5 """Save repomd.xml files for later test for availability."""
6 self._repoMD_list = []
7 for repoID in self.repos:
8 + if not self.isRepoEnabled(repoID):
9 + log.info("Not checking metadata for disabled repo %s", repoID)
10 + continue
11 +
12 repo = self.getRepo(repoID)
13 with _yum_lock:
14 repoMD = RepoMDMetaHash(self, repo)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed