copr: enable nosync plugin to speed up the building

This commit is contained in:
Miroslav Suchý 2016-03-16 16:26:03 +01:00
parent 39287b3dcd
commit 6a3cd880d5
3 changed files with 6 additions and 0 deletions

View file

@ -45,3 +45,6 @@
- name: disable offloading
command: ethtool -K eth0 tso off gro off gso off
- name: install i686 version of nosync for multilib building
dnf: name=https://kojipkgs.fedoraproject.org//packages/nosync/1.0/3.fc23/i686/nosync-1.0-3.fc23.i686.rpm state=present

View file

@ -27,3 +27,5 @@ config_opts['cleanup_on_failure'] = 0
{% if ansible_distribution == 'Fedora' and ansible_distribution_major_version|int > 21 %}
config_opts['yum_command'] = '/usr/bin/yum-deprecated'
{% endif %}
config_opts['nosync'] = True

View file

@ -23,6 +23,7 @@
- scl-utils-build
- ethtool
# - fedpkg-copr
- nosync
- name: set bigger timeout for dnf
ini_file: dest=/etc/dnf/dnf.conf section=main option=timeout value=1000