copr: builder: configure package-manager's retry in mock

This commit is contained in:
Pavel Raiskup 2019-10-05 01:46:48 +02:00 committed by Pierre-Yves Chibon
parent efda1b074a
commit d6766487bd

View file

@ -32,3 +32,9 @@ config_opts['yum_install_command'] = 'install yum yum-utils shadow-utils distrib
# https://bugzilla.redhat.com/show_bug.cgi?id=1745123, remove with new mock release
config_opts['dnf_install_command'] = 'install dnf dnf-plugins-core shadow-utils distribution-gpg-keys'
# https://bugzilla.redhat.com/show_bug.cgi?id=1690971
# https://bugzilla.redhat.com/show_bug.cgi?id=1741931
# https://github.com/rpm-software-management/mock/issues/338
config_opts['package_manager_max_attempts'] = 3
config_opts['package_manager_attempt_delay'] = 10