Add x86_64-i586 repo for x86_64 arch

This commit is contained in:
Mikhail Gordeev 2022-05-30 02:22:18 +03:00
parent 0731b453b1
commit 217e0b240a

View File

@ -382,6 +382,8 @@ Dir::Etc::preferencesparts "/var/empty";
with open(f'{apt_dir}/sources.list.{branch}.{arch}', 'w') as f:
sources_list = f'rpm {repo} {arch} classic\n'
if arch == 'x86_64':
sources_list += f'rpm {repo} {arch}-i586 classic\n'
if arch not in self.bad_arches:
sources_list += f'rpm {repo} noarch classic\n'
for task in self.tasks.get(branch.lower(), []):