pkglistgen: Accept i686 as well

This commit is contained in:
Stephan Kulow 2021-09-21 13:54:10 +02:00
parent ad7e5f960e
commit de699c125e

View File

@ -435,13 +435,13 @@ class PkgListGen(ToolBase.ToolBase):
accepted_archs.add('noarch')
for s in oldsysrepo.solvables_iter():
if s.arch not in accepted_archs:
continue
oldarch = s.arch
if oldarch == 'i686':
oldarch = 'i586'
if oldarch not in accepted_archs:
continue
haveit = False
for s2 in pool.whatprovides(s.nameid):
if s2.repo == oldsysrepo or s.nameid != s2.nameid: