forked from sig_core/toolkit
limit repoclosure to archs on the command line
This commit is contained in:
parent
92f79885ce
commit
68f06d38e0
@ -669,7 +669,10 @@ class RepoSync:
|
|||||||
repoclosure_entry_name_list = []
|
repoclosure_entry_name_list = []
|
||||||
self.log.info('Setting up repoclosure for {}'.format(repo))
|
self.log.info('Setting up repoclosure for {}'.format(repo))
|
||||||
|
|
||||||
for arch in self.repoclosure_map['arches']:
|
arches_for_repoclosure = self.arches
|
||||||
|
if self.arch:
|
||||||
|
arches_for_repoclosure = self.arch.split(',')
|
||||||
|
for arch in arches_for_repoclosure:
|
||||||
repo_combination = []
|
repo_combination = []
|
||||||
repoclosure_entry_name = f'repoclosure-{repo}-{arch}'
|
repoclosure_entry_name = f'repoclosure-{repo}-{arch}'
|
||||||
repoclosure_entry_name_list.append(repoclosure_entry_name)
|
repoclosure_entry_name_list.append(repoclosure_entry_name)
|
||||||
|
Loading…
Reference in New Issue
Block a user