From a2883ab54dba4e0189f618686b18c5be62307812 Mon Sep 17 00:00:00 2001 From: clime Date: Mon, 18 Dec 2017 21:00:50 +0100 Subject: [PATCH] copr-builder: disable nosync on ppc64le - hotfix for building in epel-7-ppc64le chroot --- roles/copr/backend/files/provision/files/mock/site-defaults.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/copr/backend/files/provision/files/mock/site-defaults.cfg b/roles/copr/backend/files/provision/files/mock/site-defaults.cfg index 3152626ad8..3117ecdeef 100644 --- a/roles/copr/backend/files/provision/files/mock/site-defaults.cfg +++ b/roles/copr/backend/files/provision/files/mock/site-defaults.cfg @@ -22,4 +22,6 @@ config_opts['plugin_conf']['tmpfs_opts']['mode'] = '0755' config_opts['plugin_conf']['tmpfs_opts']['keep_mounted'] = False 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 +{% endif %}