copr: enable nosync plugin to speed up the building
This commit is contained in:
parent
39287b3dcd
commit
6a3cd880d5
3 changed files with 6 additions and 0 deletions
|
@ -45,3 +45,6 @@
|
||||||
|
|
||||||
- name: disable offloading
|
- name: disable offloading
|
||||||
command: ethtool -K eth0 tso off gro off gso off
|
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
|
||||||
|
|
|
@ -27,3 +27,5 @@ config_opts['cleanup_on_failure'] = 0
|
||||||
{% if ansible_distribution == 'Fedora' and ansible_distribution_major_version|int > 21 %}
|
{% if ansible_distribution == 'Fedora' and ansible_distribution_major_version|int > 21 %}
|
||||||
config_opts['yum_command'] = '/usr/bin/yum-deprecated'
|
config_opts['yum_command'] = '/usr/bin/yum-deprecated'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
config_opts['nosync'] = True
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
- scl-utils-build
|
- scl-utils-build
|
||||||
- ethtool
|
- ethtool
|
||||||
# - fedpkg-copr
|
# - fedpkg-copr
|
||||||
|
- nosync
|
||||||
|
|
||||||
- name: set bigger timeout for dnf
|
- name: set bigger timeout for dnf
|
||||||
ini_file: dest=/etc/dnf/dnf.conf section=main option=timeout value=1000
|
ini_file: dest=/etc/dnf/dnf.conf section=main option=timeout value=1000
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue