copr-builder: enable nosync for ppc64le and ensure it is always latest nosync

This commit is contained in:
clime 2017-12-21 15:38:21 +01:00
parent 6396276ec9
commit a74ef55e4b
2 changed files with 1 additions and 3 deletions

View file

@ -22,6 +22,4 @@ config_opts['plugin_conf']['tmpfs_opts']['mode'] = '0755'
config_opts['plugin_conf']['tmpfs_opts']['keep_mounted'] = False config_opts['plugin_conf']['tmpfs_opts']['keep_mounted'] = False
config_opts['yum_command'] = '/usr/bin/yum-deprecated' config_opts['yum_command'] = '/usr/bin/yum-deprecated'
{% if ansible_architecture == 'x86_64' %} # nosync does not currently work for epel-7-ppc64le chroot with errors /lib64/ld64.so.2: version `GLIBC_2.22' not found
config_opts['nosync'] = True config_opts['nosync'] = True
{% endif %}

View file

@ -38,7 +38,6 @@
- yum - yum
- scl-utils-build - scl-utils-build
- ethtool - ethtool
- nosync
- expect - expect
- name: enable @copr/copr-dev in staging - name: enable @copr/copr-dev in staging
@ -55,6 +54,7 @@
- dnf - dnf
- copr-rpmbuild - copr-rpmbuild
- rpkg - rpkg
- nosync
- name: put updated mock configs into /etc/mock - name: put updated mock configs into /etc/mock
template: src=files/mock/{{ item }} dest=/etc/mock template: src=files/mock/{{ item }} dest=/etc/mock