kojibuilder: Pass mergerepo_c --all for bare mode as well.
The '--koji' mode of mergerepo_c implies --all, and thats what we want for bare mode as well. The default merge mode is 'repo' which uses the first found package by name if multiple packages with the same name are in the multiple repos. This causes chaos with rhel8 repos as GA and updates content are in the same repo and if it hits an old version of one package and an update of another that depends on the new version it blows up. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
c90bf2a323
commit
05cd2fe120
1 changed files with 1 additions and 1 deletions
|
|
@ -5331,7 +5331,7 @@ class CreaterepoTask(BaseTaskHandler):
|
|||
elif merge_mode == 'bare':
|
||||
# "bare" merge mode for repos with modular metadata
|
||||
# forces use of mergerepo_c
|
||||
cmd = ['/usr/bin/mergerepo_c', '--pkgorigins']
|
||||
cmd = ['/usr/bin/mergerepo_c', '--pkgorigins', '--all']
|
||||
elif self.options.use_createrepo_c:
|
||||
cmd = ['/usr/bin/mergerepo_c', '--koji']
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue